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

Uploaded CPython 3.8 Windows x86-64

tfx_bsl-0.26.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.26.0-cp38-cp38-macosx_10_9_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-0.26.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.26.0-cp37-cp37m-macosx_10_9_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-0.26.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.26.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.26.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b8715463be08879419322c6c219b0af97c2c89756f08c56695121841558ccde3
MD5 640ac18d02b1b2ced6d83eb0c4c8e004
BLAKE2b-256 ebe5fe209bc677eeeee63d20938f66aa1487bd408070d9295707173c33e5d4c1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.26.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 15f3c0c3598a13791c1435154c8e783b3c2d92dbf88de11af142620efddbc00d
MD5 90f349cbbfe3ad3179bbe44f311260d5
BLAKE2b-256 facb7214ba1ba044ef9aa410c8aa59606df286280f28e70c239c47528bd9ba44

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

File hashes

Hashes for tfx_bsl-0.26.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a23122d611c4605e893879c8b0656b7b07414d23eb1df0f220d6fb4938998fd8
MD5 ba5a93f08c1aef72b0c44ad2a5aeb4c0
BLAKE2b-256 ed7ddc19475c98115ee27780987e0180f1619e4fc70befa1cf0c3c561ee1c72a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.0

File hashes

Hashes for tfx_bsl-0.26.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b12fdce937c54e734f4bcc866746feabc69d57e8e19807b07924e46c836cd786
MD5 5f76123fe334c6117215877fbccc45c1
BLAKE2b-256 43014f6045760eb3ecc16db2df5fa9c19a04c1fe772407068cf0f88f4c16870c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.6

File hashes

Hashes for tfx_bsl-0.26.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e40ba7275e8a7d4d3409a959b5e3ec53a19fff4d312a0cc276ee887eae08751e
MD5 d5c307e1e2741bd61d4fdc400a3f0cbe
BLAKE2b-256 5df710d7a3413dd9abd7f2452cd215df2d10963ee9073daadb8356a8ce42e024

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for tfx_bsl-0.26.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b713466d29c10c44c25b45d39b85083ba2f3b2411694b77438de3f578f8b0dc3
MD5 8077174673364595b4fd1bd3b019da41
BLAKE2b-256 29d1c3153fef46e4a803eb61ce15acf06863a5bcf715f5d3d9e1bc06717a1bfc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.1

File hashes

Hashes for tfx_bsl-0.26.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 89007042874d2267865c4dd7a0ac0d5e4b536ec0253eff8a246af97105c982dc
MD5 7081599749ef7653f9489d2d122e22c3
BLAKE2b-256 1c7c87a2730104a2185fa39d400e242c32978b30d2c1bc9a3f9ae09e629e9ea0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.10

File hashes

Hashes for tfx_bsl-0.26.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8560c1e9e4821a5767b4b953a7251bac48731c8584127d68a413e377bbc149a1
MD5 026af197477ba50afe3eee44d2c28cfe
BLAKE2b-256 cef0d9c02ae1ae93787773086a5d67b53879d7cd2297e2764b4be9545a4ec1cc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.8

File hashes

Hashes for tfx_bsl-0.26.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7daedf44aeda3245cf066f158823d12bbbdd4cc0714574ac8d827d56aefb4c69
MD5 050216997bb0571d10b0286e50987fa7
BLAKE2b-256 28a21478f370b95da2af8a07c7296abe47477b2cf98a8b68f52d2738bf94816e

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