B2 Python SDK
This repository contains a client library and a few handy utilities. They provide access to all capabilities of B2 Cloud Storage.
B2 command-line tool uses the library to provide command-line access to the B2 service. Other applications can include FUSE filesystems and storage backend drivers for backup applications.
Documentation
The latest documentation is available on Read the Docs.
Installation
You can install the SDK with:
pip install b2sdk
To install with all optional dependencies:
pip install 'b2sdk[full]'
Version policy
b2sdk follows Semantic Versioning policy, so in essence the version number is MAJOR.MINOR.PATCH (for example 1.2.3) and:
- we increase MAJOR version when we make incompatible API changes
- we increase MINOR version when we add functionality in a backwards-compatible manner, and
- we increase PATCH version when we make backwards-compatible bug fixes (unless someone relies on the undocumented behavior of a fixed bug)
When you add b2sdk as a dependency, choose a version range that matches your code. For example, you can put this in your requirements.txt to select a compatible b2sdk version from pypi:
b2sdk>=2,<3
Release History
Please refer to the changelog.
Related projects
- b2-mcp — a Model Context Protocol server for B2.
Developer Info
Please see our contributing guidelines. The testing guide and the writing style guide describe how to test changes and write documentation. llms.txt lists the user documentation.
Metadata
Release files for b2sdk 2.13.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| b2sdk-2.13.6.tar.gz | 218.1 kB | Without provenance | Details for b2sdk-2.13.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| b2sdk-2.13.6-py3-none-any.whl | Python 3 | none | any | Details for b2sdk-2.13.6-py3-none-any.whl |
Total release size: 527.6 kB
Release files / b2sdk-2.13.6.tar.gz
| Download URL | b2sdk-2.13.6.tar.gz |
|---|---|
| Size | 218.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e355f8b32a8c64ceda42fb251b94ee3a1f0d3c4d2732df54782fadbe408e4e04
|
|
BLAKE2b-256 checksum How to use checksums |
b6293a3daf5489c6a58adef5022c12910f43c8809faa3dedf7a06196aed475a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / b2sdk-2.13.6-py3-none-any.whl
| Download URL | b2sdk-2.13.6-py3-none-any.whl |
|---|---|
| Size | 309.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2f98132a22024bda8cb928fb181487ca0bf94e68d23af8c475c9e9bcb145e44
|
|
BLAKE2b-256 checksum How to use checksums |
dd16b327286ea38890a39282d4ef13e769b211dadf908143e812627d05f76e58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for b2sdk 2.13.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.