Megfile

Latest version: v4.0.1

Safety actively analyzes 688126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 13

2.0.2

- support s3 endpoint env: AWS_ENDPOINT

2.0.1

- cli
- `megfile ls` support glob path
- `megfile cp`, `megfile mv` and `megfile sync` support `-g`, `--progress-bar`
- perf err output
- `megfile sync` support glob path
- close ssh connection before process exit

2.0.0

- path classes align with `pathlib.Path`
- methods(`glob`, `iglob`, `glob_stat`, `resolve`, `home`, `cwd`, `readlink`) in all path classes return path object
- methods(`glob`, `iglob`, `glob_stat`) in all path classes add `pattern` parameter. Functions(like `smart_glob`, `s3_glob`) not change.
- `relative_to`'s parameter `other` in all path classes change to `*other`
- `FSPath.parts` align with `pathlib.Path.parts`, return value `parts[0]` will not be `file://` any more.
- `mkdir` in all path classes add parameters(`mode=0o777`, `parents=False`), Functions(like `smart_makedirs`) not change.
- change `s3_symlink`, `S3Path.symlink`, `s3_rename`, `S3Path.rename` parameter name, change `src_url`, `dst_url` to `src_path`, `dst_path`
- change `fs_stat`, `FSPath.stat`, `s3_stat`, `S3Path.stat` parameter name, change `followlinks` to `follow_symlinks`
- `FileEntry` add method `inode`
- `StatResult` add properties(`st_mode`, `st_ino`, `st_dev`, `st_nlink`, `st_uid`, `st_gid`, `st_size`, `st_atime`, `st_mtime`, `st_ctime`, `st_atime_ns`, `st_mtime_ns`, `st_ctime_ns`)
- support sftp protocol

1.0.2

- remove `smart_getmd5_by_paths` method
- retry when catch `botocore.exceptions.ResponseStreamingError`
- remove `followlinks` parameter in rename, move, remove; make behavior same as standard library
- fix `smart_rename` bug, when rename file cross platform or device

1.0.1

- fix open mode with + in different order
- sort `smart_getmd5_by_paths` parameter paths

1.0.0

- refactor code
- add `smart_getmd5_by_paths`
- change of symlink's parameters position

Page 11 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.