Skip to main content

model-tracker

A simple data store keeping track of models and things

1. Running locally

  • Get postgres up and running for local development
  • In the cell block below we pull down a postgres docker container and we set our password as docker, though you can set it as whatever you'd like.
 docker pull postgres
 docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=docker -d postgres
  • Flash database for quick dev
PGPASSWORD='docker' psql -h localhost -U postgres -c "drop database modeltracker" 
  && PGPASSWORD='docker' psql -h localhost -U postgres -c "create database modeltracker"

2. Populating the basic type tables

If you've installed this as a pip package in your virtual environment then you can navigate into your virtual environment, then lib, then your installed python version, then site packages, and finally into modeltracker (this step is not required if you have access to the source code)

The path should look something like this:

<virtualenv here>/lib/python3.xx/site-packages/modeltracker/

Once you've reached that path, you can generate the basic table types with:

python -m modeltracker.main  
  • Suppose you have been developing and wish to destroy all table contents:
python -m modeltracker.main -r

3. Checking tables existence in local postgres databse instance

You can then hop into your running postgres database instance with:

docker exec -it some-postgres psql -U postgres

Database dict

To keep track of what is being produced by the modeltracker

datastore_type : Describes the datastore types, BQ or GCS for instance.

feature_store_metrics : Describes the metrics relating to each model in the model_catalog_id

job : Describes tasks that have been run

model_catalog : describes models and links to state_id

model_output : describes location and datastore type of model_output

state : Catalogue of states

task_type : Tracks tasks that occur

Metadata

Release files for model-lifecycle-tracker 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for model-lifecycle-tracker 0.0.7
File Interpreter ABI Platform Actions
model_lifecycle_tracker-0.0.7-py3-none-any.whl Python 3 none any Details for model_lifecycle_tracker-0.0.7-py3-none-any.whl

Release files / model_lifecycle_tracker-0.0.7-py3-none-any.whl

Download URL model_lifecycle_tracker-0.0.7-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b2ea40d489b61b7f48fd3028f2fceb6c3a4a9b1ceba83a66f1d79a311faefdc
BLAKE2b-256 checksum
How to use checksums
ab217c5a3614c0ea6cc60ede3917cdee7465ada94733bcd1d2ebb994e605f529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for model-lifecycle-tracker 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page