Packages
Command-line interface for managing files, buckets, and accounts on Backblaze B2 Cloud Storage, with support for uploading, downloading, syncing, and replication.
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.
b2luigi wraps luigi to simplify scheduling and running batch tasks locally or on queue systems like LSF and HTCondor, adding a user-friendly interface on top of luigi's dependency management.
B2SDK is a Python client library for Backblaze B2 Cloud Storage that provides programmatic access to upload, download, list, and manage files and buckets in B2.
Install it if you need to programmatically interact with Backblaze B2 Cloud Storage from Python.
Babel provides internationalization (i18n) and localization (l10n) utilities for Python applications, handling date/time formatting, number localization, message translation, and timezone operations across different languages and locales.
Install it if your application needs to support multiple languages or locales.
BabelDOC translates PDF documents between languages, primarily English to Chinese, producing bilingual comparison PDFs with original and translated pages.
BabelFish provides Python objects for countries, languages, and scripts based on ISO standards, with built-in converters to translate between different naming and coding schemes.
BAC0 is an asynchronous Python scripting framework for interacting with BACnet devices over IP networks, enabling you to read properties, write values, and browse BACnet networks using simple Python commands.
backcall lets you define and validate callback function signatures, automatically adapting callbacks that have fewer parameters than expected and rejecting those that require more.
Provides function decorators to automatically retry code on exceptions or when a predicate condition is met, with configurable backoff strategies like exponential, fibonacci, or constant intervals.
However, the repository is archived and abandoned as of May 2024, so there will be no bug fixes or new features.
Provides functions and decorators to apply backoff and retry strategies to Python function calls, supporting exponential, Fibonacci, fixed, linear, and polynomial delays.
However, verify compatibility with your Python version and validator-collection's current state, since no updates have shipped since 2020-07-11.
Provides backports of abstract base classes (Generator, Coroutine, Awaitable) and related inspect functions from collections.abc for older Python versions that lack them.
Provides the Python 3.11 asyncio.Runner context manager for Python 3.8, 3.9, and 3.10, enabling simplified management of event loop lifecycle across multiple async function calls.
Provides the cached_property decorator for Python 3.6 and 3.7, allowing methods to be computed once per instance and cached as attributes.
Provides Python 3's csv module API for Python 2, with native Unicode support and consistent behavior across Python versions.
Backports expanded `datetime.fromisoformat` methods to earlier Python versions, enabling parsing of ISO 8601 timestamps with broader format support than the standard library provides in older releases.
Provides forward-compatible access to selectable entry points on older Python versions and importlib_metadata versions, avoiding deprecation warnings.
Provides the lru_cache decorator from Python 3.3's functools module for Python environments that lack it natively.
However, verify whether your actual minimum Python version truly requires this backport—Python 3.8+ already includes functools.lru_cache natively, making this package…
Provides the get_terminal_size() function for Python versions that lack it natively, returning terminal dimensions as a named tuple of columns and lines.
Provides the Python 3.4 ssl module API on older Python versions (2.6, 2.7, 3.2, 3.3) by wrapping pyOpenSSL, enabling modern SSL/TLS socket operations on legacy interpreters.
Provides the ssl.match_hostname() function for validating that a server's SSL certificate hostname matches the hostname being connected to, backported from Python 3.7 for use on earlier Python versions.
Install only if maintaining legacy Python 2.x code that cannot be upgraded—otherwise use the built-in ssl.match_hostname().
Provides StrEnum, a string-based enumeration class from Python 3.11, for use on Python 3.8.6 through 3.10, allowing enum members to behave as both strings and enumeration constants.
Provides a backport of Python's tarfile module for use on Python 3.8+, enabling access to newer tarfile implementations.
However, verify first that the standard library tarfile doesn't already meet your needs.
Provides the TemporaryDirectory context manager for Python 2.7 and early Python 3 versions that lack it in their standard library.
Backports the `weakref.finalize` class from Python 3.4+ to earlier Python versions, allowing you to register cleanup callbacks for objects when they are garbage collected.
Provides IANA time zone support for Python 3.6–3.8 by backporting the standard library's `zoneinfo` module, enabling timezone-aware datetime handling with automatic daylight-saving transitions.
However, if you are already on Python 3.9+, use the standard library `zoneinfo` instead.
Provides Zstandard compression support for Python versions before 3.14, backporting the standard library's zstd module along with zstd-enabled tarfile and zipfile modules.
Backrefs extends Python's re and regex libraries with additional backreference features and syntax not natively supported, such as Unicode property escapes and case-conversion backreferences.
Install only if your patterns genuinely require features beyond standard re or regex; otherwise, the added layer is unnecessary.
Backtesting.py lets you define and test trading strategies against historical price data, then visualize results and performance metrics like Sharpe ratio, drawdown, and win rate.
Backtrader is a Python backtesting and live trading engine that simulates trading strategies against historical data and supports live execution with multiple brokers and data sources.
However, maintenance is dormant—the last release was April 2023—so expect no new features or timely bug fixes.
BACpypes implements the BACnet protocol stack in Python, enabling applications to communicate over BACnet networks for building automation and control systems.
However, the Pre-Alpha status, 569-day release gap, and unclear modern Python support mean you should test thoroughly before production use and be prepared to…
BACpypes3 is a Python library for building BACnet applications with async/await support, providing application and network layer implementations for BACnet protocol communication.
However, validate thoroughly in your specific BACnet environment before relying on it in production, as the Pre-Alpha status signals that breaking changes and edge…
Create, validate, and manage BagIt-style packages—a standardized format for digital preservation and file transfer that bundles data with checksums and metadata.
However, the aging maintenance status (427 days since last release) and high install friction (source tarball only) mean you should verify compatibility before…
Validates BagIt bags against BagIt profile specifications, checking serialization and structural compliance with a profile URI.
Parses and writes BAI2 files, a standard format for bank balance reporting and cash management data exchange.
However, the maintainers explicitly warn it is not production-ready due to insufficient real-world test data—verify compatibility with your specific bank's BAI2…
Provides Python bindings for the BAML runtime, exposing the BamlRuntime singleton, protobuf encoding/decoding, and observability primitives that generated BAML SDK packages use at runtime.
baml-py is the Python runtime for executing BAML programs, a language designed for building agents with strong typing and error handling.
However, verify the license terms first (currently unclear) and confirm that BAML's compilation tooling fits your workflow—baml-py is the runtime only.
Provides type-checking and data-cleaning utility functions for Python, focused on handling type uncertainties like checking if something is list-like or dict-like, and cleaning null values from nested structures.
Install it if your project needs these specific type-checking or data-cleaning helpers and wants to avoid writing them yourself.
Bandit scans Python code to identify common security issues by analyzing the abstract syntax tree and reporting findings in a structured format.
Converts Bandit security analysis output into SARIF 2.1.0 format for integration with tools and workflows that consume standardized security reports.
Python client library for Bandwidth's Communication APIs, providing programmatic access to voice calls, conferences, messaging, phone number lookup, and media management.
However, verify the license terms first—the unclear license status is a blocker for some use cases.