Doorway

Latest version: v0.5.0

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

Scan your dependencies

0.5.0

- atomic file operations
+ `AtomicPath` ("r+", "w", "x", "a") -- doesn't actually open the file, just returns a temp path, and asserts that the destination exists or not and the temp file was created based on the mode, in the case of `a` and `r+`, the destination is copied to the temp file
+ `AtomicOpen` (any more supported by `open(...)`) -- wraps `AtomicPath` to return file objects like `open()`
+ cleans up the temp file if an error occurs, and if succeeds moves the temp file to the destination using atomic operations.

- improved `fmt_bytes_to_human`, better rounding of units

- added: `io_download`, to download files using `AtomicOpen`

- added: `basename_split_ext`, `basename_modify`, `path_basename_modify` to modify various attributes about the `<basename>` or `<name>.<ext>` of a path

- added: experimental proxy class

0.4.0

Sharding API changes

0.3.0

Sharding with key based function

0.2.0

Add context managers & rename shard functions

0.1.1

Enable unstable components `import doorway.x`

0.1.0

Initial Release

v0.0.1.placeholder1
This release is a pypi placholder
- Actual release version is coming soon!

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.