tfx-bsl
tfx_bsl (TFX Basic Shared Libraries) contains libraries shared by many TFX (TensorFlow eXtended) libraries and components.
Decision gist · record as of 2026-08-14
Yes, but typically as an indirect dependency. Install directly only if you are building custom TFX components or need specific utilities from tfx_bsl/public. The package is actively maintained, has no known vulnerabilities, and uses a permissive license. Medium install friction is acceptable given its role in the TFX ecosystem. If you are using any TFX library, it will be installed automatically.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; pre-built wheels available for macOS 11+ (ARM64) and Linux (manylinux_2_27+).
- Direct use is uncommon; intended primarily as a transitive dependency of TFX components.
- Medium install friction due to compiled wheels for specific Python versions (3.10–3.13) and a large dependency tree including apache-beam, tensorflow, and tensorflow-metadata.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.
last release 2026-06-10 (65 days) · last repo commit 2026-08-14 · 65 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 159,408 downloads/mo, #10,696 on PyPI
Alternatives
Verify before relying
pip install tfx-bsl
import tfx_bsl
# Typically used as a dependency of other TFX libraries rather than directly- Specific public API surface and stability guarantees beyond the note that only tfx_bsl/public symbols are intended for direct use
- Performance characteristics or scalability limits when used with large-scale data pipelines
- Compatibility matrix details for untested dependency combinations mentioned in the documentation
What it is and what it does
tfx_bsl is a foundational library that packages shared code used across the TensorFlow eXtended ecosystem. It provides utilities, data structures, and helper functions that multiple TFX components—such as TensorFlow Data Validation (TFDV), TensorFlow Model Analysis (TFMA), and TensorFlow Transform (TFT)—rely on to avoid duplication and maintain consistency.
The package is designed primarily as an internal dependency rather than a direct user-facing library. Its public API (exported from tfx_bsl/public submodules) is intended for TFX pipeline authors and component developers, while other internal APIs carry no backward-compatibility guarantee. It depends on a substantial stack including apache-beam for distributed processing, tensorflow for computation, tensorflow-metadata for schema handling, and pyarrow for columnar data, making it a heavyweight but essential component of the TFX infrastructure.
Use it for
- Building TFX pipelines that use TFDV, TFMA, or TFT, where tfx_bsl is installed as a transitive dependency
- Developing custom TFX components that need access to shared utilities from the tfx_bsl/public API
- Working with TensorFlow data validation and transformation workflows that rely on tfx_bsl's internal infrastructure
- Ensuring version compatibility across multiple TFX libraries by pinning tfx_bsl to match minor versions (e.g., 0.14.* for tensorflow_data_validation 0.14.*)
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but typically as an indirect dependency.
Install directly only if you are building custom TFX components or need specific utilities from tfx_bsl/public. The package is actively maintained, has no known vulnerabilities, and uses a permissive license. Medium install friction is acceptable given its role in the TFX ecosystem. If you are using any TFX library, it will be installed automatically.
Install
tfx-bsl on PyPI
Before you install
Medium install friction due to compiled wheels for specific Python versions (3.10–3.13) and a large dependency tree including apache-beam, tensorflow, and tensorflow-metadata. Actively maintained with recent releases.
Requires Python 3.10 or later; pre-built wheels available for macOS 11+ (ARM64) and Linux (manylinux_2_27+). Direct use is uncommon; intended primarily as a transitive dependency of TFX components.
License in practice
Licensed under Apache 2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install tfx-bsl
import tfx_bsl
# Typically used as a dependency of other TFX libraries rather than directly
Verify before relying
- Specific public API surface and stability guarantees beyond the note that only tfx_bsl/public symbols are intended for direct use
- Performance characteristics or scalability limits when used with large-scale data pipelines
- Compatibility matrix details for untested dependency combinations mentioned in the documentation
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 11 packagesabsl-pyapache-beamdillgoogle-api-python-clientnumpypandasprotobufpyarrowtensorflowtensorflow-metadatatensorflow-serving-api |
| Maintenance | Actively maintained 65 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 159,408 / month, #10,696 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 :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: MathematicsTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: tfx_bsl-1.21.0-cp310-cp310-macosx_11_0_arm64.whl; tfx_bsl-1.21.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; tfx_bsl-1.21.0-cp311-cp311-macosx_11_0_arm64.whl; tfx_bsl-1.21.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; tfx_bsl-1.21.0-cp312-cp312-macosx_11_0_arm64.whl; tfx_bsl-1.21.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; tfx_bsl-1.21.0-cp313-cp313-macosx_11_0_arm64.whl; tfx_bsl-1.21.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.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 › “tfx shared libraries”
- tfx-bsltfx_bsl provides shared libraries and utilities used internally by…
- tensorflow-metadataProvides standard schema, statistics, and problem statement…
- tensorflow-data-validationTensorFlow Data Validation (TFDV) computes summary statistics,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also tf-nightly · tf-nightly-cpu · tensorflow-data-validation · tensorflow-transform · tensorflow-io · tensorflow-metadata · tfp-nightly · tensorflow-probability · absl-py · tensorflow-addons