b2
Command Line Tool for Backblaze B2
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is production-stable and well-suited for developers who need programmatic or scripted access to B2 Cloud Storage. Install it if you use Backblaze B2 and want command-line control; skip it if you only need the web console or have no B2 account.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; B2 account credentials needed for authorization.
- Low install friction with a pure-Python wheel distribution.
- The package is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for both personal and enterprise deployments.
last release 2026-06-08 (67 days) · last repo commit 2026-07-24 · 625 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 170,669 downloads/mo, #10,389 on PyPI
Alternatives
Verify before relying
pip install b2
b2 account authorize
b2 bucket list- Whether the 9 runtime dependencies (argcomplete, arrow, b2sdk, docutils, idna, platformdirs, rst2ansi, tabulate, tqdm) are all required for basic CLI operation or only for optional features.
- Performance characteristics and scalability limits for large-scale sync or replication operations.
What it is and what it does
B2 is a command-line tool that provides direct access to Backblaze B2 Cloud Storage capabilities. It lets you manage accounts, create and configure buckets, upload and download files, sync directories, and set up replication rules—all from the terminal or scripts. The tool uses the b2sdk library as its foundation and includes helpers like argcomplete for shell integration, tqdm for progress display, and tabulate for formatted output.
The package supports multiple installation methods (pip, Homebrew, Docker, standalone binaries) and uses an ApiVer versioning scheme to maintain backward compatibility. You can invoke it as `b2` for the latest interface or `b2v4` in scripts for a stable, long-term-support version. It requires Python 3.10 or later and stores authentication details locally in an SQLite file by default.
Use it for
- Automate backup and sync of local directories to B2 buckets in shell scripts or CI/CD pipelines.
- Manage B2 application keys and account permissions from the command line without a web interface.
- Upload or download individual files and monitor progress with built-in progress bars.
- Set up and manage replication rules between B2 buckets for disaster recovery.
- Integrate B2 storage operations into custom tooling via the CLI with shell autocomplete support.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is production-stable and well-suited for developers who need programmatic or scripted access to B2 Cloud Storage. Install it if you use Backblaze B2 and want command-line control; skip it if you only need the web console or have no B2 account.
Install
b2 on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and no known vulnerabilities. Requires Python 3.10 or later.
Requires Python 3.10 or later; B2 account credentials needed for authorization.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for both personal and enterprise deployments.
Quickstart
pip install b2
b2 account authorize
b2 bucket list
Verify before relying
- Whether the 9 runtime dependencies (argcomplete, arrow, b2sdk, docutils, idna, platformdirs, rst2ansi, tabulate, tqdm) are all required for basic CLI operation or only for optional features.
- Performance characteristics and scalability limits for large-scale sync or replication operations.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesargcompletearrowb2sdkdocutilsidnaplatformdirsrst2ansitabulatetqdm |
| Maintenance | Actively maintained 67 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,669 / month, #10,389 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: b2-4.7.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “b2 cloud storage cli”
- b2Command-line interface for managing files, buckets, and accounts on…
- b2sdkB2SDK is a Python client library for Backblaze B2 Cloud Storage that…
- coscmdCOSCMD is a command-line tool for managing Tencent Cloud COS (Cloud…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also b2sdk · gsutil · cloudsmith-cli · storage3 · snowflake-cli · dda · alibabacloud-oss-v2 · minio · coscmd · awscurl