Borgstore

Latest version: v0.1.0

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

Scan your dependencies

0.1.0

------------------------

Breaking changes:

- accepted store URLs: see README
- Store: require complete levels configuration, 46

Other changes:

- sftp/posixfs backends: remove ad-hoc mkdir calls, 46
- optimize Sftp._mkdir, 80
- sftp backend is now optional, avoids dependency issues on some platforms, 74.
Use pip install "borgstore[sftp]" to install with the sftp backend.

0.0.5

------------------------

Fixes:

- backend.create: only reject non-empty storage, 57
- backends.sftp: fix _mkdir edge case
- backends.sftp: raise BackendDoesNotExist if base path is not found

- rclone backend:

- don't error on create if source directory is empty, 57
- fix hang on termination, 54

New features:

- rclone backend: retry errors on load and store 3 times

Other changes:

- remove MStore for now, see commit 6a6fb334.
- refactor Store tests, add Store.set_levels method
- move types-requests to tox.ini, only needed for development

0.0.4

------------------------

- rclone: new backend to access any of the 100s of cloud backends rclone
supports, needs rclone >= v1.57.0.

See the rclone docs for installing rclone and creating remotes.
After that, borgstore will support URLs like:

- rclone://remote:
- rclone://remote:path
- rclone:///tmp/testdir (local fs, for testing)
- Store.list: give up trying to do anything with a directory's "size"
- .info / .list: return st.st_size for a directory "as is"
- tests: BORGSTORE_TEST_RCLONE_URL to set rclone test URL
- tests: allow BORGSTORE_TEST_*_URL into testenv to make tox work
for testing sftp, rclone or other URLs.

0.0.3

------------------------

- sftp: add support for ~/.ssh/config, 37
- sftp: username is optional, 27
- load known_hosts, remove AutoAddPolicy, 39
- store: raise BE specific exceptions, 34
- add Store.stats property, 25
- bandwidth emulation via BORGSTORE_BANDWIDTH [bit/s], 24
- latency emulation via BORGSTORE_LATENCY [us], 24
- fix demo code, also output stats
- tests: BORGSTORE_TEST_SFTP_URL to set sftp test URL

0.0.2

------------------------

- sftp backend: use paramiko's client.posix_rename, 17
- posixfs backend: hack: accept file://relative/path, 23
- support / test on Python 3.13, 21

0.0.1

------------------------

First PyPi release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.