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 -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.29.0 2.0.0 nightly (1.x/2.x) 1.1.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.1.1-cp38-cp38-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8 Windows x86-64

tfx_bsl-1.1.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.1.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.1.1-cp37-cp37m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-1.1.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.1.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.1.1-cp36-cp36m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-1.1.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.1.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.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: tfx_bsl-1.1.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.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5

File hashes

Hashes for tfx_bsl-1.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d9397fd26e941654ec1c53fcb5bd25734c12eeb5d16cb9dd7251efcf84154082
MD5 a3bb369e23194c8f4efd7aa56c6994c3
BLAKE2b-256 ff7b864ce514ba6ebeb5471c7113881879abb2abc51bec84698226f77b427eb7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for tfx_bsl-1.1.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bf7cd70ff947e8c340140664085e39f015fdff83f428e84640d7c64060f864b4
MD5 7a1c13bcc134a8b4a903820cc54b862a
BLAKE2b-256 3681931024f024c3dae91054cc627fe8ff552d2de432d4b3014851a71a7fba03

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-1.1.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.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2

File hashes

Hashes for tfx_bsl-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 355769e9033c399888418732bbbbb1388bca0dde640fffce5a1e9ce088005f9a
MD5 7452557d9403af254597887d19cbb8ad
BLAKE2b-256 0b2bfe2ffb7f1e3f916c9ade808de19a31db808d9b547a39b86e00efc8aa7f0f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-1.1.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.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.0

File hashes

Hashes for tfx_bsl-1.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 788dadbc4bbb10e6383027b7bb1a4e014a6a8e32d39e45cc502d210568403001
MD5 5bdab0438aefa58e287f26916ad3070b
BLAKE2b-256 33c53484136f620e84ca305d61a7e6c5a33a0bab9fa00b70a9b1a0d5b6cd0fd9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for tfx_bsl-1.1.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5fd11f1a636d14167ec148ba6c1ac7961209fe83d912be7cef81f7edbb0b9d5f
MD5 cc32468dd58647cba2e0057ec483feee
BLAKE2b-256 3b9a9a4fe108deafb12acc641110279104de2912e8801013d914151264917d7d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-1.1.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.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for tfx_bsl-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5b9a193d59b2e4a27dc6dabebc497144247a025490dc67c2ee7d91fb06bb6fc8
MD5 c7e8c8074fb9a849c0057c7982a0ab7a
BLAKE2b-256 902e82d1fd9e930b2ec9c2ff97fc621c13a8c95ddc64b9e717c06fa4cd53bd28

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-1.1.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.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.5

File hashes

Hashes for tfx_bsl-1.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b01fbcb8086a97bc2bbb1653da7eeba27b04ecc4129cc2b96d483a7afef74290
MD5 47ce8e36150cac6bbe7decb7b1eb4181
BLAKE2b-256 a91b2aa07d973b20c2913ff6b0883ee0683843a9384c4fb2da7dc0387beaae79

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for tfx_bsl-1.1.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 af1fe241d4c3fb033306f5e61a74cbc00a73dede786c0d830dd53d8a2eb35965
MD5 8df95d6e927951a76e72de06921b5512
BLAKE2b-256 f8cad72961f4d0aced7382c273f0731a7ecfe1cf44336805a90ce567fc329f32

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-1.1.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.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.8

File hashes

Hashes for tfx_bsl-1.1.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c8ed1a8297c66a50487d74dfb975c64e6991e0b0700f6b057515bbd30a9d8ac2
MD5 c52e47d59872281d869c96af1e1c2db9
BLAKE2b-256 99039ab4c8132a0d5fa84d73fcfe7cbd5ea05b6f775c4c42a269b079d50563e6

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