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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.1 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 13c992642e7afdd5f2509622f52e7984eac6989b21b88dc12fd5d5d1dc5af24d
MD5 340f875db2df7d98cadf76dfec45475e
BLAKE2b-256 d00ba9aa73b8deaacbdcf40a7085e270850919f6cd28d6791677e139e7d0e346

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.1 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.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 69fd5f6cb49ffa6e024ac7676033d4983493844d40c2a4d0a689bbbc7c67e64f
MD5 874f9ae7db6952cc77c838c15727556e
BLAKE2b-256 de9256ff626f3055c7cd5fb96a35bcc6680c1b5a65f22bbb62c48424553d3bb4

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.1-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.1 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.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2cf24ba179b08c2511852be24ac7bd169b001dd73d14e1495113b6f26525ede7
MD5 7b538ff1c55150dbb8d8a835bda15db5
BLAKE2b-256 b58c58329873b46e1da4137d96d7859a7f0efcb513f706873cdd375ac7a87022

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.1 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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 061ff2971c99c4b9fad821bf45213c0afc7388218d151415b5e932905252afa0
MD5 cc0a01d6fb555a807d4f1382902c4b59
BLAKE2b-256 12eccae97c20e39bdf98258893489e2eb00c84cffa8559bf392219eb9e906b67

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.1 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.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 550274860319352ffc4d88f6ff18cbb5541559a7aef29c4549b34d6878d11f4c
MD5 3533399f2243e15edf341479d27a2ad8
BLAKE2b-256 f0098ca84817cf8683d28377f421dc7e79579914bde2b061afb2e176740479f6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.1-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.1 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.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f2c16b26123c40a24785fd2ae2a91c947eaf53fafee52563e21f9011c700b31e
MD5 f7b132707ba70ce65237b572dde53e99
BLAKE2b-256 409a87998c0bfd39a564904fc28a3ce77b7055db8c23259a3074cab9441eb5df

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.1 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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 40bd17339f991aeb3330a766b7f55b8ec82fb148cfff3f71f0de0e483c5e1f1c
MD5 aa853659d4704b83cbe05e3acd012c0e
BLAKE2b-256 870e9662ee13e65fc9c731e570d2b3cf0010f5c82f4bc6015b47692dd9dab3a0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.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.2.0 pkginfo/1.6.1 requests/2.25.1 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.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fa68f01283fb8e9bb3de16c64e24a9e6422a75a373825e85bcdf8b5691768fd3
MD5 f234b89e478f49a25a371c64dd7c09c9
BLAKE2b-256 3034effe5ed3d5d9144a15eddfcda39fea0f86fd8a0b6778fbae6dc713e0c65b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tfx_bsl-0.26.1-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.1 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.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9a59c13e2a98dfab8aefd9f102c4ece964b4d4df17f275ca9cbd143933dd4c62
MD5 8fdc6ea427a2efe80d808d3522ef5b3a
BLAKE2b-256 56be4893744b9a0fbba260d9384981c1b3fb1d26950bbfb842b7d3b480bfaf2a

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