Stow

Latest version: v1.4.1

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

Scan your dependencies

Page 2 of 4

1.2.0

Added

- Added support for the setting of motified/accessed time on artefacts via the manager and artefact objects.
- Added `iterls` methods to manager and `Directory` objects for efficient iteration.
- Add `Callbacks` objects for getting upload and download progression.
- Add `manager` method to interface
- Add `root` property to managers
- Add `setmtime`, `setatime` and `mklink` to manager and stateless interface
- Add hashing algorithm support for Amazon objects


Changed

- Extended `relpath` to take `separator` parameter so that the separator used isn't platform specific.
- Updated `sync` to work for files and directories. Extended the interface to allow the choice between a simply modified time comparison or a more complicated digest comparason function
- Updated the hash of artefacts to be the hash of their `abspath`
- Updated the equality method for artefacts to take type into account
- Refactored `Filesystem` manager to work better between linux and windows

Fixed

- Fixed inability to delete empty directories without passing overwrite set `True`
- Simplified utils decorator method
- Fixed issue where artefact timestamps were not updated when set
- Fixed `Amazon.cp` issue effecting empty directories leading to new files

1.1.6

Fixed

- `cp` method didn't correctly delete destination objects if the object was an empty directory or empty file.
- `get` in the stateless interface didn't return file bytes when no destination was provided + it was a required field.

1.1.4

Fixed

- mimetype were being created for files put into s3 using the `mimetype` builtin package. The method `guess_type` returns none for extentions that are not apart of the standard set. This caused the CLI to through and error as it requires a valid content-type is set or nothing. Resolved by choosing s3 default if None is returned

---

1.1.3

Fixed

- s3 object key regex meant that files and directories that had spaces were rejected however they are accepted. Update regex and test for files with spaces.

---

1.1.2

Fixed

- Content-type for artefacts uploaded to Amazon via stow were not being inferred from the extension. This change is an immediate fix for the issue of having incorrect content-types. content-type feature now in works

---

1.1.1

Fixed

- Bug on storage class in signature where the value wasn't being read for initialising new managers. Couldn't set storage class using stateless interface.

---

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.