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.

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-0.27.0-cp38-cp38-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8 Windows x86-64

tfx_bsl-0.27.0-cp38-cp38-manylinux2010_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

tfx_bsl-0.27.0-cp38-cp38-macosx_10_9_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-0.27.0-cp37-cp37m-manylinux2010_x86_64.whl (2.2 MB view details)

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

tfx_bsl-0.27.0-cp37-cp37m-macosx_10_9_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-0.27.0-cp36-cp36m-manylinux2010_x86_64.whl (2.2 MB view details)

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

tfx_bsl-0.27.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.0-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.27.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bc12c9904e68e44faeaef61f6b208323e7906030242402df12003056094b3a3a
MD5 b585b195451af6ae811a86d8fe631910
BLAKE2b-256 cadf19f2175aa9c1a01b8b2ae9bfea43d637dd33614c10054bd2f65da67f20ff

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-0.27.0-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-0.27.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.27.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 85797eeb031e758320d76514690403ddfc17cbe6182fd3a8f257e72a4eec2c5c
MD5 74c6a15a9872e0a2cd74fd3763e7af26
BLAKE2b-256 bcf0c34f6086a52867c24a91b16234671155f8f77b28ca0eb1a06b19f1e24d08

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

File hashes

Hashes for tfx_bsl-0.27.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b0cdc3a16a424fc6451c5f55b2f7e814b291677bb1874f9af300c6295928f9da
MD5 b2845bc461194266c86eac82445a8701
BLAKE2b-256 4035e6c0912f3b5a2c170c6a4423f11bf9f29c88dde553aab4faec9932917c18

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.0-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.0

File hashes

Hashes for tfx_bsl-0.27.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3df0148815745d42c3ca133bd8150e2dd1959f04b7777b3473f24a87dd5236e6
MD5 14562b0e0e3e4dfb428236fad9582a76
BLAKE2b-256 ea652559d12be20488a62af9bc57b49a6389cb0a377512d7a7dac130e7533e36

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-0.27.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-0.27.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6

File hashes

Hashes for tfx_bsl-0.27.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 043b01ee9d322ffc5b2cdbe95a50c0e07cdc1b81337c783bd5eef6d80531b203
MD5 03208dd5b982bf9428de70006795017b
BLAKE2b-256 1b930f14c8cbcf12f0f5debf8f5fb77391b7a4dd3d10bcb3d27b717bb32745b2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for tfx_bsl-0.27.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2552ca5a6f32f72aa1017a7baeb13f594b1268d4ff418fc3c47d01c944b69f7b
MD5 47a3214e67f0c66296088613091fd4ec
BLAKE2b-256 8f4e50122a43e7993c3c88da8dec2ea8c98f6b238d642e8c0c820c918f31ee8a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.0-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.1

File hashes

Hashes for tfx_bsl-0.27.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 97eda77159619c86fbaaa9e98129f2ff84d691cde0a39a463dd838917bb4de46
MD5 da8745ef40230ab93fbbf7af35797406
BLAKE2b-256 a5b2907e53cda84a27e5725fd57bf697929eaa1d6d20ea37671f52e9c21be91f

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-0.27.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-0.27.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.10

File hashes

Hashes for tfx_bsl-0.27.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 aa0efaf657282d139ea951326cbf1b2aa2a59759c8b7f98cca4efa10d8c4726d
MD5 89270f35736595182af65a69f6f58c80
BLAKE2b-256 4b491374203c23317686a65d613b6725e2bc8c020b3784a816ea8a4616fbbeb8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.8

File hashes

Hashes for tfx_bsl-0.27.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 747f4722f6801923a48fe7674559f130ed1864ce6e5560934a2c4667046a989d
MD5 5414c855c338e1f2e556e5ad6a6457d9
BLAKE2b-256 303d4b01e6f632f6c32da121b9fef5a36298a2f1d5b2b6dea0c9895a28a7bbc8

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