Skip to main content

Version and deploy your models following GitOps principles

Project description

GTO

Check, test and release Codecov PyPi

Git Tag Ops. Turn your Git repository into an Artifact Registry:

  • Registry: Track new artifacts and their versions for releases and significant changes.
  • Lifecycle Management: Create actionable stages for versions marking status of artifact or it's readiness to be consumed by a specific environment.
  • GitOps: Signal CI/CD automation or other downstream systems to act upon these new versions and lifecycle updates.

GTO works by creating annotated Git tags in a standard format.

💡 Together with DVC, GTO serves as a backbone for Git-based Iterative Studio Model Registry.

Installation

GTO requires Python 3. It works on any OS.

$ pip install gto

This will install the gto command-line interface (CLI) and make the Python API available for use in code.

Getting started

To Get Started, please head to GTO docs.

Contributing

Contributions are welcome! Please see our Contributing Guide for more details.

Check out the DVC weekly board to learn about what we do, and about the exciting new functionality that is going to be added soon.

Thanks to all our contributors!

How to setup GTO development environment

  1. Clone this repository
$ git clone git@github.com:iterative/gto.git
$ cd gto
  1. Create virtual environment named venv
$ python3 -m venv .venv
$ source .venv/bin/activate

Install python libraries

$ pip install --upgrade pip ".[tests]"
  1. Run
$ pytest --basetemp=pytest-basetemp

This will create pytest-basetemp/ directory with some fixtures that can serve as examples.

Notably, check out this dir:

$ cd pytest-basetemp/test_api0/
$ gto show -v

The code that generates this folder could be found in this fixture.

To continue experimenting, call gto --help

Copyright

This project is distributed under the Apache license version 2.0 (see the LICENSE file in the project root).

By submitting a pull request to this project, you agree to license your contribution under the Apache license version 2.0 to this project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gto-1.10.1.tar.gz (60.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gto-1.10.1-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file gto-1.10.1.tar.gz.

File metadata

  • Download URL: gto-1.10.1.tar.gz
  • Upload date:
  • Size: 60.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gto-1.10.1.tar.gz
Algorithm Hash digest
SHA256 e2a008650e7be42b7e3dd65e2eef360d466553e3b41d8f37dae38328d84fd224
MD5 47ded80b237bd898a143f72b6abe7ba0
BLAKE2b-256 669ccf74e391f76ff2afd7aee9bdd0f1b191c0522ba8190439bfa3b2672f222a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gto-1.10.1.tar.gz:

Publisher: check-test-release.yml on iterative/gto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gto-1.10.1-py3-none-any.whl.

File metadata

  • Download URL: gto-1.10.1-py3-none-any.whl
  • Upload date:
  • Size: 45.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gto-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f357f7dee2cf91552408545e17f53a4ea54d0d16e676e35b92edf1291414d06d
MD5 a8d33ffc55247bf71aab043a882cddd4
BLAKE2b-256 88af23fba84f3e03fcf58bd73e1d28ef9db7b46c5b48df95fae4b5f658db7993

See more details on using hashes here.

Provenance

The following attestation bundles were made for gto-1.10.1-py3-none-any.whl:

Publisher: check-test-release.yml on iterative/gto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page