Skip to content

About

Python library to access B2 cloud storage.

Topics

Resources

Contributing

Security policy

Stars

217 stars

Watchers

28 watching

Forks

Repository files navigation

B2 Python SDK

 Continuous Integration License python versions PyPI version Docs

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.

About

Python library to access B2 cloud storage.

Topics

Resources

Contributing

Security policy

Stars

217 stars

Watchers

28 watching

Forks

Releases

Packages

Used by

Contributors

Languages