Skip to main content

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

Reason this release was yanked:

google-cloud-bigquery 2.26 release fixed the issue that this patch was trying to solve

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 -i 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 with Docker

If you want to build a TFX component from the master branch, past the latest release, you may also have to build the latest tfx_bsl, as that TFX component might have depended on new features introduced past the latest tfx_bsl release.

Building from Docker is the recommended way to build tfx_bsl under Linux, and is continuously tested at Google.

1. Install Docker

Please first install docker and docker-compose by following the 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

Then, run the following at the project root:

sudo docker-compose build manylinux2010
sudo docker-compose run -e PYTHON_VERSION=${PYTHON_VERSION} manylinux2010

where PYTHON_VERSION is one of {35, 36, 37, 38}.

A wheel will be produced under dist/.

4. Install the pip package

pip install dist/*.whl

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.

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:

python setup.py bdist_wheel

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 16.04 or later.
  • Windows 7 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.31.0 2.0.0 nightly (1.x/2.x) 1.2.0 2.6.0
1.3.1 2.31.0 2.0.0 1.15 / 2.6 1.2.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

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

tfx_bsl-1.3.1-cp38-cp38-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8 Windows x86-64

tfx_bsl-1.3.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

tfx_bsl-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

tfx_bsl-1.3.1-cp37-cp37m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-1.3.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

tfx_bsl-1.3.1-cp37-cp37m-macosx_10_9_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

tfx_bsl-1.3.1-cp36-cp36m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-1.3.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.0 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

tfx_bsl-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file tfx_bsl-1.3.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: tfx_bsl-1.3.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5

File hashes

Hashes for tfx_bsl-1.3.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5fd4087bbb676e6735c6f20e0c06eb41face8ef22688b0f99060d80c8dfcddd7
MD5 4ff083a5b93a51477f394fe807889af6
BLAKE2b-256 1149923dde44085e9535f2fb1dfafef332d9f0e256897319c6a90c113ba75013

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl-1.3.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 02c04072bc65c998b1305cb00e72cefceed00cfd4649dfe7c15602f1748bc653
MD5 374ab245b3e756bca65de47ab6dc23d1
BLAKE2b-256 2051b1a75e14e3668965bb750f5e77d017c8f939ddbcd9d333e2946eb77c1a05

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for tfx_bsl-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 34f47419aa37924a98839fd3c78d2770fff7f48d0a698562ef1b42de81bf77af
MD5 3cc56a405da009c629f7d78b71f296c5
BLAKE2b-256 5645d4a1ac9e12d031f6549e9da071f3e9e017acec3ed367e90847e11ab89515

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: tfx_bsl-1.3.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.0

File hashes

Hashes for tfx_bsl-1.3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d2eb5bd880c3d3f014590831deacecf23d85354b83edb68b36258cdb12290643
MD5 d0e4b2d3e15422b54e72a754036e0bde
BLAKE2b-256 16185296d48f2957661a510262f456a9ac363c4cc1f0bbdce316279a3c947dfd

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl-1.3.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9b0298165a5f644d610e7af78bd562b39ba664219ebe4362eef4c5d1b615eadc
MD5 a1794b3ba00de77905c484f54c73d084
BLAKE2b-256 e99e6a154a2296adfedb0873bde43ecb216fc8d531f9e705f0647682137fc4b6

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-1.3.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3

File hashes

Hashes for tfx_bsl-1.3.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4ffc7440762dd23a4cc1f4163a5fc9fb7516f4636c006db3a2457b547d0a83e7
MD5 b3651913c5f1e72e442a674a6df3ef88
BLAKE2b-256 530063050a4e2c58af439c9fd7ff379412e2999164c65285f819bc7908007d14

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: tfx_bsl-1.3.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.5

File hashes

Hashes for tfx_bsl-1.3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 066464a4cd5669f3b01a7079c837e6fe76805b92cf319416d9c5c2160a870b7d
MD5 773b398434340ddc04e61463a665878f
BLAKE2b-256 4070837ed7a57c14e44762a9951e6b6b72365bf3f8d932726e7b28076498f337

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for tfx_bsl-1.3.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e416ec698af562805037aa532fd697b1d1ddc0a5a0aabdef6996174386331740
MD5 4877d07842dce5fcdc04b29c49381fe1
BLAKE2b-256 41a7ab3974c849ce6356b0597a227d51b1938b00618b709349791cbf767941f2

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 20.3 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.8

File hashes

Hashes for tfx_bsl-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 66c8555490be16965ef880c7de9cd210ae34c90520534cc7dd643f3ae09c8ed7
MD5 8e1b8a666b4917f0e5f746d826052c4f
BLAKE2b-256 7521ab7e3acf49488656ebba2dd8bcda5b1c02234d4a2028183a9abb9414e350

See more details on using hashes here.

Provenance

Supported by

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