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.
  • Enrichments: Annotate and query artifact metadata with additional information.

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

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-0.3.1.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

gto-0.3.1-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gto-0.3.1.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gto-0.3.1.tar.gz
Algorithm Hash digest
SHA256 06b77615eb75cee96abd240eb11b5a8d773128def453faab3a9b8a215f0f4893
MD5 634ae521d56aa38a9ae3cb8a0f1aa869
BLAKE2b-256 9c2f4f33940a10392801979fb2e54eb22597d418e606334807af29b1f1353ed0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gto-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 46.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gto-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 584cb9d4ea32b06c1ab8c608c3e72174dfd829ff3cd4f3bfa3f146bd03bcc59f
MD5 010132279d9124da9e9834cc50bc4b7f
BLAKE2b-256 a0b60ee6e8c7e75164d010ce67bb20239ab684900d468497a2916d0dc0f3e710

See more details on using hashes here.

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