Skip to main content

TFX Basic Shared Libraries

Python PyPI

TFX Basic Shared Libraries (tfx_bsl) contains libraries shared by many TensorFlow eXtended (TFX) components.

Only symbols exported by sub-modules under tfx_bsl/public are intended for direct use by TFX users, including by standalone TFX library (e.g. TFDV, TFMA, TFT) users, TFX pipeline authors and TFX component authors. Those APIs will become stable and follow semantic versioning once tfx_bsl goes beyond 1.0.

APIs under other directories should be considered internal to TFX (and therefore there is no backward or forward compatibility guarantee for them).

Each minor version of a TFX library or TFX itself, if it needs to depend on tfx_bsl, will depend on a specific minor version of it (e.g. tensorflow_data_validation 0.14.* will depend on, and only work with, tfx_bsl 0.14.*)

Installing from PyPI

tfx_bsl is available as a PyPI package.

pip install tfx-bsl

Nightly Packages

TFX-BSL also hosts nightly packages at https://pypi-nightly.tensorflow.org on Google Cloud. To install the latest nightly package, please use the following command:

pip install --extra-index-url https://pypi-nightly.tensorflow.org/simple tfx-bsl

This will install the nightly packages for the major dependencies of TFX-BSL such as TensorFlow Metadata (TFMD).

However it is a dependency of many TFX components and usually as a user you don't need to install it directly.

Build from source

1. Prerequisites

Install NumPy

If NumPy is not installed on your system, install it now by following these directions.

Install Bazel

If Bazel is not installed on your system, install it now by following these directions.

Install cibuildwheel

If you do not already have cibuildwheel installed on your system, you an install it using these directions.

2. Clone the tfx_bsl repository

git clone https://github.com/tensorflow/tfx-bsl
cd tfx-bsl

Note that these instructions will install the latest master branch of tfx_bsl If you want to install a specific branch (such as a release branch), pass -b <branchname> to the git clone command.

3. Build the pip package

tfx_bsl wheel is Python version dependent -- to build the pip package that works for a specific Python version, use that Python binary to run:

cibuildwheel

You can find the generated .whl file in the dist subdirectory.

4. Install the pip package

pip install dist/*.whl

Supported platforms

tfx_bsl is tested on the following 64-bit operating systems:

  • macOS 10.12.6 (Sierra) or later.
  • Ubuntu 20.04 or later.

Compatible versions

The following table is the tfx_bsl package versions that are compatible with each other. This is determined by our testing framework, but other untested combinations may also work.

tfx-bsl apache-beam[gcp] pyarrow tensorflow tensorflow-metadata tensorflow-serving-api
GitHub master 2.64.0 14.0.1 nightly (2.x) 1.21.0 2.19.0
1.21.0 2.64.0 14.0.1 2.21 1.21.0 2.19.0
1.17.1 2.64.0 10.0.1 2.17 1.17.1 2.17.1
1.17.0 2.64.0 10.0.1 2.17 1.17.1 2.17.1
1.16.1 2.59.0 10.0.1 2.16 1.16.1 2.16.1
1.16.0 2.59.0 10.0.1 2.16 1.16.0 2.16.1
1.15.1 2.47.0 10.0.0 2.15 1.15.0 2.15.1
1.15.0 2.47.0 10.0.0 2.15 1.15.0 2.15.1
1.14.0 2.47.0 10.0.0 2.13 1.14.0 2.13.0
1.13.0 2.40.0 6.0.0 2.12 1.13.1 2.9.0
1.12.0 2.40.0 6.0.0 2.11 1.12.0 2.9.0
1.11.0 2.40.0 6.0.0 1.15 / 2.10 1.11.0 2.9.0
1.10.0 2.40.0 6.0.0 1.15 / 2.9 1.10.0 2.9.0
1.9.0 2.38.0 5.0.0 1.15 / 2.9 1.9.0 2.9.0
1.8.0 2.38.0 5.0.0 1.15 / 2.8 1.8.0 2.8.0
1.7.0 2.36.0 5.0.0 1.15 / 2.8 1.7.0 2.8.0
1.6.0 2.35.0 5.0.0 1.15 / 2.7 1.6.0 2.7.0
1.5.0 2.34.0 5.0.0 1.15 / 2.7 1.5.0 2.7.0
1.4.0 2.31.0 5.0.0 1.15 / 2.6 1.4.0 2.6.0
1.3.0 2.31.0 2.0.0 1.15 / 2.6 1.2.0 2.6.0
1.2.0 2.31.0 2.0.0 1.15 / 2.5 1.2.0 2.5.1
1.1.0 2.29.0 2.0.0 1.15 / 2.5 1.1.0 2.5.1
1.0.0 2.29.0 2.0.0 1.15 / 2.5 1.0.0 2.5.1
0.30.0 2.28.0 2.0.0 1.15 / 2.4 0.30.0 2.4.0
0.29.0 2.28.0 2.0.0 1.15 / 2.4 0.29.0 2.4.0
0.28.0 2.28.0 2.0.0 1.15 / 2.4 0.28.0 2.4.0
0.27.1 2.27.0 2.0.0 1.15 / 2.4 0.27.0 2.4.0
0.27.0 2.27.0 2.0.0 1.15 / 2.4 0.27.0 2.4.0
0.26.1 2.25.0 0.17.0 1.15 / 2.3 0.27.0 2.3.0
0.26.0 2.25.0 0.17.0 1.15 / 2.3 0.27.0 2.3.0

Metadata

Release files for tfx-bsl 1.21.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for tfx-bsl 1.21.0
File Actions
tfx_bsl-1.21.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for tfx_bsl-1.21.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
tfx_bsl-1.21.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for tfx_bsl-1.21.0-cp313-cp313-macosx_11_0_arm64.whl
tfx_bsl-1.21.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for tfx_bsl-1.21.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
tfx_bsl-1.21.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for tfx_bsl-1.21.0-cp312-cp312-macosx_11_0_arm64.whl
tfx_bsl-1.21.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for tfx_bsl-1.21.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
tfx_bsl-1.21.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for tfx_bsl-1.21.0-cp311-cp311-macosx_11_0_arm64.whl
tfx_bsl-1.21.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for tfx_bsl-1.21.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
tfx_bsl-1.21.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for tfx_bsl-1.21.0-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 39.7 MB

Release files / tfx_bsl-1.21.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tfx_bsl-1.21.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.6 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7b31189d9d29964668bdb6f24b63fd2d6f8b035c16337b34cdd88139ec400c8b
BLAKE2b-256 checksum
How to use checksums
4820d4e8f09e6e721930e6270e7a7866d9e41a8c763699336bbb72f807c06809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL tfx_bsl-1.21.0-cp313-cp313-macosx_11_0_arm64.whl
Size 4.3 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3006887fc67b65c73801df74fd9e808c66ce9566341b63e2863c1e90e5f484a0
BLAKE2b-256 checksum
How to use checksums
477ee4702e403e221d8d4419e0321a7df1ee05778126a1a5ba72d817ba237393
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tfx_bsl-1.21.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.6 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5d0658ab33ca25a06823c6b6d34617d0f5b12c939be7ec453d29d4d45c6b67c3
BLAKE2b-256 checksum
How to use checksums
5294504f58d854442b4b828e86d2c96734da1f1010b1c5d0fe683136730af344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL tfx_bsl-1.21.0-cp312-cp312-macosx_11_0_arm64.whl
Size 4.3 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f2c5bbb548cb6d7f46a4c44a3b3ff3266cf3562c49243116bddbdac1b2d74890
BLAKE2b-256 checksum
How to use checksums
1bb7886b413af21826fa11cc07ea8f59a1160e9a30b62ed9d885a53c34bf7290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tfx_bsl-1.21.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.6 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4246fede575a5ba7a0515b0660ee3ac0a204710372549ca9838041ffd14225ab
BLAKE2b-256 checksum
How to use checksums
b17575cc9341e54517af163413c597c3f66d9a0157a76155748dc867144cd518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL tfx_bsl-1.21.0-cp311-cp311-macosx_11_0_arm64.whl
Size 4.3 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c6476d7e0b3b60003c3a0e9b664a1b9263ca4fb8984ac6e8e5493b3b1cecfd21
BLAKE2b-256 checksum
How to use checksums
8207fb50c28313d35c91c88486eb389a194ac8a759377f11ded2822c5e77e02d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tfx_bsl-1.21.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.6 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
05cd52f3825f6a05a394dad0b60dbe4b5c57f9ee6d42dc4c3f9f70f77b9ef3bb
BLAKE2b-256 checksum
How to use checksums
e4255f98fc427762122d1aa3461ccb63a51ff9fd8326c6c6a31ea995471e282c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / tfx_bsl-1.21.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL tfx_bsl-1.21.0-cp310-cp310-macosx_11_0_arm64.whl
Size 4.3 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
448da4e3e08a11ebd81a271310f1ba8342411f8fe7c97e340ec60114dd7df8c0
BLAKE2b-256 checksum
How to use checksums
fd29afb319aa4ad86fc5946c6f8cd59864e61e94c7219a08eacba250a8fd25ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for tfx-bsl 1.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.21.0 This release

8 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page