Skip to main content

Command-line client for the Themelio ML platform

Project description

themelio CLI

A Hugging Face–style command-line client for the Themelio ML platform. It talks to the Themelio web service HTTP API for metadata and orchestration, and hands repository content transfer off to your own git / git-lfs.

See plans/themelio-cli/SPEC.md, ADR-0021, and DD-0021 for the full design.

Install

# Python users
pipx install themelio-cli        # or: uvx themelio

# Zero-prerequisite (standalone binary)
curl -LsSf https://dev.themelio.pharos.grnet.gr/cli/install.sh | sh

Quick start

themelio auth login                       # paste an api-scoped PAT
themelio git-setup --apply                # configure the git credential helper
themelio models ls                        # list models
themelio models alice/bert info           # inspect a repo
themelio models alice/bert download       # prints the git clone command
themelio models alice/bert actions run train --follow
themelio models alice/bert jobs ls        # observe compute

Command grammar

Repo-scoped commands read themelio <type> <ns/repo> <verb>, e.g. themelio models alice/bert info. Resource types: models, datasets, spaces, repos. Compute-bearing types (models, spaces, repos) additionally carry actions, jobs, and deployments subgroups.

Configuration

Precedence (highest first): --host/--token flags → THEMELIO_HOST/THEMELIO_TOKEN env → ~/.themelio/config (or OS keyring) → default host https://dev.themelio.pharos.grnet.gr.

Development

pip install -e '.[dev]'
ruff check . && mypy && pytest

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

themelio_cli-0.1.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

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

themelio_cli-0.1.0-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file themelio_cli-0.1.0.tar.gz.

File metadata

  • Download URL: themelio_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for themelio_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ee7fe21533c9a0e0957bec22a1b3cadff23899fa82ec7457d30fcebb0f13c017
MD5 278a5213eb586311feb934fa13ddfb7b
BLAKE2b-256 56975f09bf7db2bd4077855c95af318aa5a68a898d34cbb114fb6d05881b9325

See more details on using hashes here.

File details

Details for the file themelio_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: themelio_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for themelio_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0689e98910ce15486f8fee4f77bdecafb2df4ba381c12ba321e5381b5834b989
MD5 abb3ef9b1ed8577b75012091786ecb3b
BLAKE2b-256 61bbe72aa5e3af7a759b4e1ac42b8451634f4d0efd43f1f70e05bb53202bfb1a

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