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

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

Uploaded CPython 3.8 Windows x86-64

tfx_bsl-0.24.1-cp38-cp38-manylinux2010_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

tfx_bsl-0.24.1-cp38-cp38-macosx_10_9_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

tfx_bsl-0.24.1-cp37-cp37m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-0.24.1-cp37-cp37m-manylinux2010_x86_64.whl (1.8 MB view details)

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

tfx_bsl-0.24.1-cp37-cp37m-macosx_10_9_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

tfx_bsl-0.24.1-cp36-cp36m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-0.24.1-cp36-cp36m-manylinux2010_x86_64.whl (1.8 MB view details)

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

tfx_bsl-0.24.1-cp36-cp36m-macosx_10_9_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.24.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ab798140f2f787b4dec31a6931e0153686431e4bd64c7b04774588c067f6dbf3
MD5 b5944bb2191c5e7cf427b8fb9b4dbafe
BLAKE2b-256 2dc5232b849831a81ee29044683aa97e7a64a84d82ba273dc98c84e8d9f5bdf6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.24.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c93928e940b592c1760b65528eb7ced740a573203ffb4357f038f693cdac2030
MD5 03ab408fc6d9838c359db11c92ac45ca
BLAKE2b-256 f73cc5c1cec562f36af0f15506be2d5b5c9ab919df8c8260a5f3b5a90c43dd6d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for tfx_bsl-0.24.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ea3a41430a2e3b5d9ded760ef38e3f096e4a322b7d7e670713174fcfd4346e7
MD5 8c1ca67c441a6bae5f7cc05fdf7bfb46
BLAKE2b-256 ec22dfed1b55c6070ceedd2bdd2a1d9f925db0520c262f40c9d34ba679cc53ce

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0

File hashes

Hashes for tfx_bsl-0.24.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ba40d4401a5dd7e15558dec720ab2f2a1205c94d555c49c43bc54849f383d723
MD5 0ed4f934d91bdb4d993747aeff0f4b7f
BLAKE2b-256 cd5560f30f7851ad5b320c63bdaf27c03b13a1a1908f5e19d395e54009283aff

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

File hashes

Hashes for tfx_bsl-0.24.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3570dbd76578f88d66082d3e41964c1a5452d316e0a183e50be3ebd1a1b7ee3e
MD5 70d82a4c500f5fe6ff8d9460e8e22f40
BLAKE2b-256 a552e2281ce61b802e7e5d50cf37968f5fb26cd31945d44a1412579ff54bc22a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for tfx_bsl-0.24.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2f27460e6cd44f6cdcb00a923f4770b3aa5a79b2c319af828d9c47d03caedb18
MD5 53967c12de858c5f196eff8639a0c269
BLAKE2b-256 1cf0057973050c936ed0ca26334309898569d5aba674e86a2d49a27ee42e9f5a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.1

File hashes

Hashes for tfx_bsl-0.24.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 edbdf3c993337057704cd714d55e31d4e08bbe44518e3f6727997c9263b3a56c
MD5 56591444e4432423ce7a197e5ea1a580
BLAKE2b-256 a68c167867ac77a1d6ad23fafdac6053289c22dbd4058f9e533fd20015a4a764

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.10

File hashes

Hashes for tfx_bsl-0.24.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5447be8b3e2905757f51182656159a108cadc14c64138fe7d44849eaefb9a0c1
MD5 38fccad93d2068d593babbae6abc0d5a
BLAKE2b-256 144b950208d022e14bd3f6e39685f9db57bda65427c03068fba9a5d2607fa645

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.24.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8

File hashes

Hashes for tfx_bsl-0.24.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a9073785a7afdde4298efccf6a2d328b2fe0dbc7f2cd4ca966b7ce8f35cca0d6
MD5 5942b5cb921bdd19b469eed8c8dd0348
BLAKE2b-256 b5c69d6bfeb1a7fc9f77a61dadbaae3e01bed5c9cb10a0767241d9f8209394af

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