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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

File metadata

  • Download URL: tfx_bsl-0.27.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.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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 38f0dd845eca65444234e099e8201a155e8722aa9a9061db94f6ffab25d93ccb
MD5 32d958a39da5a63a0d6117e6c7b5bf2e
BLAKE2b-256 018ba20024b2d7dad97c3fe353a9d9a94a1021fc6f12eee7623c52a024df1188

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.1-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.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5326c01872a99a0a90e4090b7cdac62f313b555bd8dc2a42d620ffdf937f4fb0
MD5 1c354bf9eb8404748a0291253a3264ad
BLAKE2b-256 3e65dc52dc4c15cd3bf0f5cc5eee6dda81c88091bae1e14c23ba899afa8679a6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.1-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/40.6.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

File hashes

Hashes for tfx_bsl-0.27.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9af34db5b78cb2c5c27ad5e4b3d31347a4df655b88a2673a24b5603c74124562
MD5 6b5775723261adbd096a0c8c8a81834d
BLAKE2b-256 13f5d30680712758eda83bbc4e6c3ee7370949412bb68717f8422369b500d6de

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.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.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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 da99cd0d3e446df2ffb0ef947598b56da0b8558b2c2341e0b22494cd461645ed
MD5 7370fbb8af1df20cf1eebbb582c98d7f
BLAKE2b-256 b2492da7a11d21419c13f7e9296bade30e477c82c57358b1b346b6c1b3ea3023

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.1-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.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9ea9b404c14c1fccdb06f06a16d2fbb266a9282354f6cb5a98885129ba337735
MD5 5146b259463a50c1e92a92d58cd6ae0f
BLAKE2b-256 0787b437f82d33ef648cc0592f8ae3bc5f3b662196c95f82a6398df5d7dd077e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.1-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.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c90e76d8adaa7be627764a6d5da37ce6b2c10d2b779896cc0f56213c64f7841c
MD5 b7ca7b7acc230aaeb62490acb23e73be
BLAKE2b-256 cdac96db15e156d86206f0c6ff404e76571d073eaa273735ea74d4436f2baecc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.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.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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0f6b91613fe51c1a56a6468209509ac3a2e2e66b29b1b3e4cf459c250c7bc791
MD5 2e70e13502084e923bf06ef69158a782
BLAKE2b-256 e7db362bf80dcd4fa1e00a5b83e5197d06ea9187a433c7c5a984be05ee9435f4

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.1-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.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a8e0a6217870eedb406bdb701c09971a809b7564d6a264151f5e0921c02b9232
MD5 ae2a0d0547492c0202e1eaf9fec33b5d
BLAKE2b-256 097f19b90e93a00f6ef94e9a9fdf3e54a255ce027e4b27c28cc2c8bd8b8d3079

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.27.1-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.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f546975d40643a94991de136ee6185d915135b79cdd4357f8b3e7127b9039fca
MD5 1159b75599ae1fe714419df914ab4e43
BLAKE2b-256 ff24cb8c1f837f26bee1e6eb889d9cdb51be2570a4aff44c905ace4d5985aac0

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