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>=2,<3

Release History

Please refer to the changelog.

Developer Info

Please see our contributing guidelines.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b2sdk-2.8.1.tar.gz (203.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

b2sdk-2.8.1-py3-none-any.whl (281.6 kB view details)

Uploaded Python 3

File details

Details for the file b2sdk-2.8.1.tar.gz.

File metadata

  • Download URL: b2sdk-2.8.1.tar.gz
  • Upload date:
  • Size: 203.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for b2sdk-2.8.1.tar.gz
Algorithm Hash digest
SHA256 f75d9980259a42915228c3deee475b2b7d5bc252d8c3228a8c3727ad9c68a343
MD5 f1132cb70912b37eea4250b2a9e2fbbd
BLAKE2b-256 7e22efb0f884c880c715becc52588dc8ed29578d0aaaa31ac94f3160c972beb7

See more details on using hashes here.

File details

Details for the file b2sdk-2.8.1-py3-none-any.whl.

File metadata

  • Download URL: b2sdk-2.8.1-py3-none-any.whl
  • Upload date:
  • Size: 281.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for b2sdk-2.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fac6559f9b8ac0bc603b86ae5367724099cde8975efd7a3dd3fb33e21085eb4
MD5 c40fdf8cd795d25ced98765e6c20263e
BLAKE2b-256 75403ba4dc810b7ca8c85bc3eb579a439a6cbfb8270e055f2313eea1730b59a2

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page