Skip to main content

Official Python SDK for Tyko Labs - Track experiments, manage models, and version datasets

Project description

Tyko Client - Python SDK

Official Python SDK for Tyko Labs.

Track experiments, manage models, and version datasets with a simple, intuitive API.

Hierarchy

Tyko uses a three-level hierarchy to organize your ML work:

Project → Experiment → Run
  • Project: Top-level container for your ML project (e.g., "mnist-classifier")
  • Experiment: Groups related runs for comparison (e.g., "hyperparameter-search")
  • Run: A single training execution with parameters, metrics, and artifacts

Installation

Install via pip:

pip install tyko

Quick Start

from tyko import TykoClient

client = TykoClient()

# Simplest usage - just project name (uses "default" experiment)
with client.start_run(project="my-ml-project") as run:
    run.log_params({"learning_rate": 0.001})
    run.log_metric("accuracy", 0.95)

# With experiment name for organized work
with client.start_run(project="my-ml-project", experiment="hyperparameter-search") as run:
    run.log_params({"learning_rate": 0.01, "batch_size": 64})
    run.log_metric("accuracy", 0.97)

# With custom run name
with client.start_run(project="my-ml-project", name="baseline-v1") as run:
    run.log_metric("accuracy", 0.95)

Advanced Usage

For more control, create projects and experiments explicitly:

project = client.create_project("my-ml-model")
experiment = project.create_experiment("fine-tuning")

with experiment.start_run() as run:
    run.log_metric("loss", 0.15)

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

tyko-0.1.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

tyko-0.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file tyko-0.1.2.tar.gz.

File metadata

  • Download URL: tyko-0.1.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.12 HTTPX/0.28.1

File hashes

Hashes for tyko-0.1.2.tar.gz
Algorithm Hash digest
SHA256 10e8a5b975200a9e4822d6d895d68279fcf6ecfea6500fd138ab13edcda4793b
MD5 b32da09fba647edb3763a037df8c5c95
BLAKE2b-256 0487ac8dc80b19bf0123a974c4fd311f748a49f6bf6f8e30c7eb6cb4a845cb4b

See more details on using hashes here.

File details

Details for the file tyko-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tyko-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.12 HTTPX/0.28.1

File hashes

Hashes for tyko-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 098f7c0e312514f6b5fc3c56e3d788c428f1ab4b1795be5eaa93e0b113d06ac9
MD5 a0c284050a74e19ab8c9cd2d59db4093
BLAKE2b-256 d4f9ac5626a80a01ba0340b867389af5b7ee2a1dc349dbae6dfb29353c0bb597

See more details on using hashes here.

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