Megfile

Latest version: v4.0.1

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

Scan your dependencies

Page 8 of 13

2.2.1

- fix
- fix tqdm unit divisor to `1024`
- feat
- all open func support `encoding` and `errors` parameters
- add `HttpPrefetchReader` for perf http open

2.2.0.post1

- fix
- change retry log leval to info
- fix `megfile head` command error from http path
- fix retry not work in prefetch_reader
- fix upload and download when local file path with protocol, like `file:///data/test.txt`

2.2.0

- breaking change
- sftp path protocol change for supporting relative path
- new protocol:
‒ sftp://[username[:password]]hostname[:port]//absolute_file_path
‒ sftp://[username[:password]]hostname[:port]/relative_file_path
- feat
- cli
- Add `megfile to` command, can write content from stdin to a file
- Add `megfile head` and `megfile tail` command
- Add http and stdio methods in `__init__.py`, now you can from megfile import them

2.1.4

- feat
- add `SmartCache`, and `smart_cache` support more protocol

2.1.3.post1

- fix
- fix the cleanup behavior of ThreadLocal after forking

2.1.3

- feat
- add `http_exists`

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.