Skip to main content

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

Project description

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 10.0.1 nightly (2.x) 1.17.1 2.17.1
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc071d5af85017af834e9a06f83ff7fffe29b58a403052bda49fa81da59ff6c3
MD5 6ac07e2b3b231090860c8ab25648c1f7
BLAKE2b-256 fb367ce04012425ce618b4afdf82bc2df8752590b7ca2d243c6f914842b74a6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c1a00eb31f15938b6e3dc82c868ec744b451962eddd1ebb522ec1f0a844464e
MD5 3a4da93a42d4029a1ec55e9d847a6bc4
BLAKE2b-256 1295509fc64fe2148b926e10fe5ada354fddd8a7a9b6f2cc8c5007e967c743f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba3de11c7ba9432c9868a9ed9ad03c463889e1872503cc877f0bcdf63747c876
MD5 3bf25027ca1f1a273d6edc5f4841f60f
BLAKE2b-256 8e6186cfd1cb0a9fdca2292185a876fcbdce7bf0a977d0bb9a35003c06a55c25

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b706f671b215edd1730cfe2e6abc63bd61c7ac99ff7a23e1cb00a406232766f8
MD5 6bb5670781820427209b69ef41ff195f
BLAKE2b-256 f561b4f03190048e85c05ea42be9707cd9b659feb290dfeadda1cd92f407f140

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfc0e24082490c3d12dc34d3e877d204e69e0c090ef1d23fd130e05bd5c5dc31
MD5 3aff3c6c722f569a35f2079791f03292
BLAKE2b-256 7d9d88ec158fb4c2632fe187897e0db2022f75591270c0ee4190b009632b89c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad4b5d8b962446ec7b0516f0d8a2aef4e643783ae06d6a20f7c4d120cb5a319a
MD5 ca563315836a5c064ddfbd3a75d3c6fa
BLAKE2b-256 0aa7e18fcce1879f935815438c4a3765e6b704441493e633eb404d194eb39291

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 952bc23b103a902463bbff51a527fb0db0806b148a6af7876d273383f61588d3
MD5 58502318d8a884d70518526fd8f8b440
BLAKE2b-256 ac108be4fd2db82121dee2315386d1832b7f70f91af510a4399ff9d2c3f0e5a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b47d87c12595108a2d8f46ad8d01e2d30239e80d3b5173f0b748d80e5a52d03
MD5 0bc6ea7925f5443dc7df60b975d97274
BLAKE2b-256 95f7c42eb053048453e4be2ada60086e4a0ce6c615c374aee223081136721752

See more details on using hashes here.

Provenance

The following attestation bundles were made for tfx_bsl_czgdp1807-1.18.0.dev0-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: build.yml on czgdp1807/tfx-bsl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page