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}.

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

TFDV uses Bazel to build the pip package from source. Before invoking the following commands, make sure the python in your $PATH is the one of the target version and has NumPy.

bazel run -c opt tfx_bsl:build_pip_package

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.23.0-cp37-cp37m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-0.23.0-cp37-cp37m-manylinux2010_x86_64.whl (3.0 MB view details)

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

tfx_bsl-0.23.0-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.23.0-cp36-cp36m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-0.23.0-cp36-cp36m-manylinux2010_x86_64.whl (3.0 MB view details)

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

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

Uploaded CPython 3.6m macOS 10.9+ x86-64

tfx_bsl-0.23.0-cp35-cp35m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.5m Windows x86-64

tfx_bsl-0.23.0-cp35-cp35m-manylinux2010_x86_64.whl (3.0 MB view details)

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

tfx_bsl-0.23.0-cp35-cp35m-macosx_10_14_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.5m macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: tfx_bsl-0.23.0-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.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 10b423f0660bb1b3aebd532bc3d385d593f97556407f8ca1865a6e0ccc369061
MD5 6f735101f79131418405cb36cc874682
BLAKE2b-256 a0993328a6a32bc061f167bf8c713488a0083be21a755eab5af7af2888f391cf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.23.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 76070b32a31a291c36882b33fdd4eefc9ddd8892871ff24659c5d283c27ff9c2
MD5 19a87b14abb96023946f2688109e6995
BLAKE2b-256 aa8a8caed461726446f3772b22b03d589a7d60ce6e6212ac9329a6d633a2b0c8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.23.0-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.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4ecc046f696b01618d65a9dc32dc0f5fd664ba8337eea6c3a58f99e12d62efbc
MD5 c4b63d7ce1521d799b2e6b8fdd43a192
BLAKE2b-256 f13e9e1d84d8015148b4a87f158dff48f31eadb890b386ed235749baacc45a23

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.23.0-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.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 97b8bfef63d68e4e9e58c2700141b2eec46378f17507a4eb316b70bc9f207bde
MD5 1af7c98a75f03459836e4a302249d11d
BLAKE2b-256 f0c0987bde83055608d110a1309e08bb0a2261dd9f862d03d1747f3412ad85b5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.23.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 189aa2fe98c33c806e0ae4defc89b26dc15e6df498a79e4f4a74926a7faca326
MD5 a1923e9cd366a8ff20bc56e8f8e8ae9d
BLAKE2b-256 d2e1e04f0278c600fc4a0079447304958d341280101a1fe981a56f5c01022060

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.23.0-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.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b8e83704085f55f8ee90a82f8a11ef03d331f096618961287fa2f1d79c82945f
MD5 5f7a949dca6d446433f0e7dc92177a0e
BLAKE2b-256 6b0cfd296a87e4ec5b89e76e80fc1a313f14981674e9f1faf76fe62a63b83af2

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-0.23.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: tfx_bsl-0.23.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 70ad9d1c196cb713e2a0fb9a6928b946ad4d1718533fb92947550a2cc13edc25
MD5 b37ea92aa5f0264e17ee927d88c87629
BLAKE2b-256 c6ec58c7620fe016efce9a2ba545d7a2809e0283eedfec8ef2d8764adced6458

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-0.23.0-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-0.23.0-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cd961eb9c69c07de70d77c8a3b2eb0bd43dcaf2dce4bb87825a5dde26fde793d
MD5 343bd2608fb19bd5dd844ee4c516aee6
BLAKE2b-256 727c8dba56a0c3153331da7f51f0ebc6fdb392d30f5f900b4786051f52e769ba

See more details on using hashes here.

Provenance

File details

Details for the file tfx_bsl-0.23.0-cp35-cp35m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: tfx_bsl-0.23.0-cp35-cp35m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: CPython 3.5m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.23.0-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 810852b11088da3f68242acf6a46acfff545c1ca61bfd90b9fdb4bbd124fb68f
MD5 74e41ad8bb4772574191d17f654d120f
BLAKE2b-256 cade0914507822ef4355420385bba5fe28a440863ca8345f804e2e65fb1d3e97

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