ML Metadata
ML Metadata (MLMD) is a library for recording and retrieving metadata associated with ML developer and data scientist workflows.
NOTE: ML Metadata may be backwards incompatible before version 1.0.
Getting Started
For more background on MLMD and instructions on using it, see the getting started guide
Installing from PyPI
The recommended way to install ML Metadata is to use the PyPI package:
pip install ml-metadata
Installing with Docker
This is the recommended way to build ML Metadata under Linux, and is continuously tested at Google.
Please first install docker and docker-compose by following the directions:
docker;
docker-compose.
Then, run the following at the project root:
DOCKER_SERVICE=manylinux-python${PY_VERSION}
sudo docker-compose build ${DOCKER_SERVICE}
sudo docker-compose run ${DOCKER_SERVICE}
where PY_VERSION is one of {27, 35, 36, 37}.
A wheel will be produced under dist/, and installed as follows:
pip install dist/*.whl
Installing from source
1. Prerequisites
To compile and use ML Metadata, you need to set up some prerequisites.
Install Bazel
If Bazel is not installed on your system, install it now by following these directions.
Install cmake
If cmake is not installed on your system, install it now by following these directions.
2. Clone ML Metadata repository
git clone https://github.com/google/ml-metadata
cd ml-metadata
Note that these instructions will install the latest master branch of ML
Metadata. 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
ML Metadata uses Bazel to build the pip package from source:
bazel run -c opt --define grpc_no_ares=true ml_metadata:build_pip_package
You can find the generated .whl file in the dist subdirectory.
4. Install the pip package
pip install dist/*.whl
5.(Optional) Build the grpc server
ML Metadata uses Bazel to build the c++ binary from source:
bazel build -c opt --define grpc_no_ares=true //ml_metadata/metadata_store:metadata_store_server
Supported platforms
MLMD is built and tested on the following 64-bit operating systems:
- macOS 10.12.6 (Sierra) or later.
- Ubuntu 16.04 or later.
- Windows 7 or later.
Release files for ml-metadata 0.15.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| ml_metadata-0.15.2-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| ml_metadata-0.15.2-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| ml_metadata-0.15.2-cp37-cp37m-macosx_10_9_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.9+ x86-64 | Details |
| ml_metadata-0.15.2-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| ml_metadata-0.15.2-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| ml_metadata-0.15.2-cp36-cp36m-macosx_10_9_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.9+ x86-64 | Details |
| ml_metadata-0.15.2-cp35-cp35m-win_amd64.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-64 | Details |
| ml_metadata-0.15.2-cp35-cp35m-manylinux2010_x86_64.whl | CPython 3.5 | CPython 3.5 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| ml_metadata-0.15.2-cp35-cp35m-macosx_10_6_intel.whl | CPython 3.5 | CPython 3.5 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| ml_metadata-0.15.2-cp27-cp27mu-manylinux2010_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc wide-unicode | Linux glibc 2.12+ x86-64 | Details |
| ml_metadata-0.15.2-cp27-cp27m-macosx_10_9_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc | macOS 10.9+ x86-64 | Details |
Total release size: 47.2 MB
Release files / ml_metadata-0.15.2-cp37-cp37m-win_amd64.whl
| Download URL | ml_metadata-0.15.2-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
847b38887b7161d4cd8e7894e60f8321cceaa2faed0a9d57728b1870db01a6c0
|
|
BLAKE2b-256 checksum How to use checksums |
a2212f0f89693c134b5f0eac3773c9326c282d43ad4400d11a0b7af6695333da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
582d87b8140b6e8b85d1d9638590c1179ecb8563e12683164ea9264a2a53a1b1
|
|
BLAKE2b-256 checksum How to use checksums |
451b45a5fcb533c4bb9c68986d34638e2af252b3c596a83be7cb78e31c006b55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
ee9b499ccd6f5267c587e72a56fcad319b38e26530b621e0f91de132b05dbaf4
|
|
BLAKE2b-256 checksum How to use checksums |
da99e3a47b2fe73b5ebe018bbd4c27938bd226f0a8f5cd0adcb9c94b2d540a0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp36-cp36m-win_amd64.whl
| Download URL | ml_metadata-0.15.2-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
13f35344e1e92c379d529096295a1eb72500e67c29e3765247c803943fe34d09
|
|
BLAKE2b-256 checksum How to use checksums |
385f49dab890bb2381275882b73880a46d3173279a56ad074a6c5c1595e0ce08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
e9111a4793d9fd1407e78095030493b2232b6bdaa694fa9aaf289e294607f581
|
|
BLAKE2b-256 checksum How to use checksums |
8d40be58b7994dd169b18828da20d363104ae2af7e4040aed799bd54081d1149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp36-cp36m-macosx_10_9_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp36-cp36m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
1bd3e40262c987492dd2783cd78c924b380531ac45868eb7144a7b58449330ea
|
|
BLAKE2b-256 checksum How to use checksums |
a7240b137829de6cff19dd04dcf042a4b2a056c1628a3d8e657024a4655789f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp35-cp35m-win_amd64.whl
| Download URL | ml_metadata-0.15.2-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9cf190d7573177c9281448f58fec55410a570d8c05c2c4f97cba0e18eaa3dafa
|
|
BLAKE2b-256 checksum How to use checksums |
996bab6c8f25dd4469a4e9b75dcc6cf84860f420a2543ec4065b61ee0f0f2555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp35-cp35m-manylinux2010_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp35-cp35m-manylinux2010_x86_64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2963307959f6f6921615aec4de1c6f442b11b55db9252b163b83981f86989517
|
|
BLAKE2b-256 checksum How to use checksums |
a6a64a47c4f35b2ba8026f3f6fa0b16cc6964b074a3fc1a3825af729d4b0d71b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp35-cp35m-macosx_10_6_intel.whl
| Download URL | ml_metadata-0.15.2-cp35-cp35m-macosx_10_6_intel.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
38d3671dfe86de691f33d411d1200a1e46e4f809c3c34bd5bc5c6e61c5a7910d
|
|
BLAKE2b-256 checksum How to use checksums |
59296b55e273920a656174ffd848205bb7b500bd45f29f5f3f6bbeb42e0d207c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp27-cp27mu-manylinux2010_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp27-cp27mu-manylinux2010_x86_64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
91404d38846e7cb3acc18248395d1b2551954d83ee2473e4c24f352d4fdface3
|
|
BLAKE2b-256 checksum How to use checksums |
66853a41a7c310909b5bfc2c00b718af670385bce768e6919296939de322f515
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|
Release files / ml_metadata-0.15.2-cp27-cp27m-macosx_10_9_x86_64.whl
| Download URL | ml_metadata-0.15.2-cp27-cp27m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
20c5d26cfb65fa778c21cd326c500215f19d0ad345d2f6fd8a50e02ee35eee59
|
|
BLAKE2b-256 checksum How to use checksums |
690691219d70a7848b978e166681ebb421078360693652786159c9ae58f59a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5rc1
|