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

Uploaded CPython 3.8 Windows x86-64

tfx_bsl-0.25.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.25.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.25.0-cp37-cp37m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

tfx_bsl-0.25.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.25.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.25.0-cp36-cp36m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.6m Windows x86-64

tfx_bsl-0.25.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.25.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.25.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: tfx_bsl-0.25.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.7 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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.25.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4e7a65a58a0b1ad3e48a6b908c7149537ab4ec9f0f76c4287c1e42de6c1b9a1e
MD5 4e96f564203dfffafb3d0096fae19fb9
BLAKE2b-256 16960045c38e5971f30db8a79c4f1b694384a5f93bec066666823f7e5cb629af

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for tfx_bsl-0.25.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 94b8cfc78fe3af5771cec9c281fea95c54ad0d41be9958838cbe2137bcec6f73
MD5 0b0df7846df83fa19357b16b3a507568
BLAKE2b-256 a5a99f5544ad4b2e799fc574ccbbcaeda33da8075da21c100cabdcf9e8ab19bc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.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.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for tfx_bsl-0.25.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cddc37b090b3eb90e946afe05fb16d26d14251dfcc61fcfe3228a617dc72c2e9
MD5 40ee8e65df9728a23ffdab9ec6c54773
BLAKE2b-256 dfc41082da09ee57bf762174ba5e954aa237a70a5e53e1bb76984f4368a350e1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.7 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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.0

File hashes

Hashes for tfx_bsl-0.25.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c9f24f7ac598a6b55b17c8a593c72145390b495d170369bddefb1ecfc8e17cc8
MD5 74a6db81e1deb329714114f58e2f9d27
BLAKE2b-256 ec258e50149edb2a51327faddbd4ddb9bab942a3b5fc9777fc65a12181597ba2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.6

File hashes

Hashes for tfx_bsl-0.25.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e4bc14ca38e5bda2259cfb12463f83bf80b3dd45570efbadfade52e064e6b65f
MD5 953e80466fb51a03b2a2c8d9d356cab9
BLAKE2b-256 5e1642a834cdfd7f0ff426d90440952548d8b108753824397f6cc17f0b9c3c86

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.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.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for tfx_bsl-0.25.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bc413b61933b5bb3916cc922c518fe5de939a69a1882a0fc4c687fd6ef6b9140
MD5 220ea99135804a21ce1033b92b34af5e
BLAKE2b-256 3f7a8cb8a4aba00ed98bc3b850ed8c9aa75e61221aacef626a60c4993c6ace6e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.7 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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.1

File hashes

Hashes for tfx_bsl-0.25.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f309e5a5820487d9889cc2b52322f234e30e91c5d54e913c3e8dc9660ed6a0f9
MD5 4e8352f607dbe4eb7ee676583bb96fdd
BLAKE2b-256 b81cc35669049dd5a8a0c24787cd11887808cae120a47da595943592b5279339

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.10

File hashes

Hashes for tfx_bsl-0.25.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5f71e6b984dc1fa8f77646bae12049465c60cb977ef94c396bc28c3d868a37d4
MD5 45b2e0ff9f693c08b1957d1a1a617623
BLAKE2b-256 896e79c6fb6b212164391fcc562f42cf11217b7e03aa20fc9aa29083ede94190

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.25.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.24.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8

File hashes

Hashes for tfx_bsl-0.25.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2e3d89926ace55907daa6039f7e1b3dec383035da5f316b6660c3436feda10d1
MD5 b5dc6d5ed2c0fca72698a70333475d4a
BLAKE2b-256 5dc2212f5c41e8dd6ffa721a1093eef6f858a6088da96f2c1db349355da985a6

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