{"id":13474292,"url":"https://github.com/google/ml-metadata","last_synced_at":"2025-03-26T21:31:08.907Z","repository":{"id":39757383,"uuid":"165923008","full_name":"google/ml-metadata","owner":"google","description":"For recording and retrieving metadata associated with ML developer and data scientist workflows.","archived":false,"fork":false,"pushed_at":"2024-04-26T20:02:09.000Z","size":2954,"stargazers_count":601,"open_issues_count":40,"forks_count":134,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-05-18T17:45:04.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.tensorflow.org/tfx/guide/mlmd","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-15T21:02:09.000Z","updated_at":"2024-05-15T12:06:11.000Z","dependencies_parsed_at":"2023-02-05T12:00:21.553Z","dependency_job_id":"2c6e6e8c-65de-4bb0-8730-42f59f5081b5","html_url":"https://github.com/google/ml-metadata","commit_stats":{"total_commits":767,"total_committers":22,"mean_commits":34.86363636363637,"dds":0.5371577574967406,"last_synced_commit":"f737be0a3959bb3650187efc3d35aa40719ee98e"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fml-metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fml-metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fml-metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fml-metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/ml-metadata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222169239,"owners_count":16942668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:11.157Z","updated_at":"2025-03-26T21:31:08.884Z","avatar_url":"https://github.com/google.png","language":"C++","readme":"\n# ML Metadata\n\n[![Python](https://img.shields.io/badge/python%7C3.9%7C3.10%7C3.11-blue)](https://github.com/google/ml-metadata)\n[![PyPI](https://badge.fury.io/py/ml-metadata.svg)](https://badge.fury.io/py/ml-metadata)\n\n*ML Metadata (MLMD)* is a library for recording and retrieving metadata\nassociated with ML developer and data scientist workflows.\n\nNOTE: ML Metadata may be backwards incompatible before version 1.0.\n\n## Getting Started\n\nFor more background on MLMD and instructions on using it, see the\n[getting started guide](https://github.com/google/ml-metadata/blob/master/g3doc/get_started.md)\n\n## Installing from PyPI\n\nThe recommended way to install ML Metadata is to use the\n[PyPI package](https://pypi.org/project/ml-metadata/):\n\n```bash\npip install ml-metadata\n```\n\nThen import the relevant packages:\n\n```python\nfrom ml_metadata import metadata_store\nfrom ml_metadata.proto import metadata_store_pb2\n```\n\n### Nightly Packages\n\nML Metadata (MLMD) also hosts nightly packages at\nhttps://pypi-nightly.tensorflow.org on Google Cloud. To install the latest\nnightly package, please use the following command:\n\n```bash\npip install --extra-index-url https://pypi-nightly.tensorflow.org/simple ml-metadata\n```\n\n## Installing with Docker\n\nThis is the recommended way to build ML Metadata under Linux, and is\ncontinuously tested at Google.\n\nPlease first install `docker` and `docker-compose` by following the directions:\n[docker](https://docs.docker.com/install/);\n[docker-compose](https://docs.docker.com/compose/install/).\n\nThen, run the following at the project root:\n\n```bash\nDOCKER_SERVICE=manylinux-python${PY_VERSION}\nsudo docker compose build ${DOCKER_SERVICE}\nsudo docker compose run ${DOCKER_SERVICE}\n```\n\nwhere `PY_VERSION` is one of `{39, 310, 311}`.\n\nA wheel will be produced under `dist/`, and installed as follows:\n\n```shell\npip install dist/*.whl\n```\n\n## Installing from source\n\n\n### 1. Prerequisites\n\nTo compile and use ML Metadata, you need to set up some prerequisites.\n\n\n#### Install Bazel\n\nIf Bazel is not installed on your system, install it now by following [these\ndirections](https://bazel.build/versions/master/docs/install.html).\n\n#### Install cmake\nIf cmake is not installed on your system, install it now by following [these\ndirections](https://cmake.org/install/).\n\n### 2. Clone ML Metadata repository\n\n```shell\ngit clone https://github.com/google/ml-metadata\ncd ml-metadata\n```\n\nNote that these instructions will install the latest master branch of ML\nMetadata. If you want to install a specific branch (such as a release branch),\npass `-b \u003cbranchname\u003e` to the `git clone` command.\n\n### 3. Build the pip package\n\nML Metadata uses Bazel to build the pip package from source:\n\n```shell\npython setup.py bdist_wheel\n```\n\nYou can find the generated `.whl` file in the `dist` subdirectory.\n\n### 4. Install the pip package\n\n```shell\npip install dist/*.whl\n```\n\n### 5.(Optional) Build the grpc server\n\nML Metadata uses Bazel to build the c++ binary from source:\n\n```shell\nbazel build -c opt --define grpc_no_ares=true  //ml_metadata/metadata_store:metadata_store_server\n```\n\n## Supported platforms\n\nMLMD is built and tested on the following 64-bit operating systems:\n\n*   macOS 10.14.6 (Mojave) or later.\n*   Ubuntu 20.04 or later.\n*   [DEPRECATED] Windows 10 or later. For a Windows-compatible library, please\n    refer to MLMD 1.14.0 or earlier versions.\n","funding_links":[],"categories":["C++","工作流程和实验跟踪","Metadata Management","其他_机器学习与深度学习","Technical Resources"],"sub_categories":["Machine Learning Environment Management Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fml-metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fml-metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fml-metadata/lists"}