Skip to main content

B2 Python SDK

 Continuous Integration License python versions PyPI version Docs

This repository contains a client library and a few handy utilities for easy access to all of the capabilities of B2 Cloud Storage.

B2 command-line tool is an example of how it can be used to provide command-line access to the B2 service, but there are many possible applications (including FUSE filesystems, storage backend drivers for backup applications etc).

Documentation

The latest documentation is available on Read the Docs.

Installation

The sdk can be installed with:

pip install b2sdk

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)

Therefore when setting up b2sdk as a dependency, please make sure to match the version appropriately, for example you could put this in your requirements.txt to make sure your code is compatible with the b2sdk version your user will get from pypi:

b2sdk>=1.25.0,<2

Release History

Please refer to the changelog.

Developer Info

Please see our contributing guidelines.

Metadata

Release files for b2sdk 1.29.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for b2sdk 1.29.1
File Size Uploaded Provenance Actions
b2sdk-1.29.1.tar.gz 358.1 kB Without provenance Details for b2sdk-1.29.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for b2sdk 1.29.1
File Interpreter ABI Platform Actions
b2sdk-1.29.1-py3-none-any.whl Python 3 none any Details for b2sdk-1.29.1-py3-none-any.whl

Total release size: 624.1 kB

Release files / b2sdk-1.29.1.tar.gz

Download URL b2sdk-1.29.1.tar.gz
Size 358.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4da970d4fd099cf754f9d0e00bc2764c948e57f2ec86043205b3d812accaa5f0
BLAKE2b-256 checksum
How to use checksums
0d4c69a49dcc578cbc30bedb78e985de45c2106e7b4e55cadcb0fe9c6bb2514a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / b2sdk-1.29.1-py3-none-any.whl

Download URL b2sdk-1.29.1-py3-none-any.whl
Size 266.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44a63303dfc4610530cf9d3303dc565bf73eb80a75ea451bf684504843748af6
BLAKE2b-256 checksum
How to use checksums
5f429f17df7478f72b088b7d0c98c259cb087a528cac0566793e914b2321b037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for b2sdk 1.29.1

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.

Release history Release notifications | RSS feed

This release

1.29.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page