Skip to main content

Better-T-Stack for ML — scaffold end-to-end runnable ML projects

Project description

create-ml-stack

Better-T-Stack for ML — scaffold end-to-end runnable machine learning projects in seconds.

uvx create-ml-stack my-ml-app
# or: pipx run create-ml-stack my-ml-app

Choose a framework (PyTorch, JAX, scikit-learn, HF Transformers), tracking, data versioning, config, and serving — then get a project that trains, tracks, and serves on the first try.

Quick start

uvx create-ml-stack my-ml-app
cd my-ml-app
uv sync --python 3.11   # or: conda env create -f environment.yml / pip install -r requirements.txt
uv run train --fast     # tiny seed data, <90s on CPU
uv run serve --dry-run  # load model without binding a port
uv run serve            # start local serving helper

Features

  • Multi-framework: PyTorch, JAX, scikit-learn, Hugging Face Transformers
  • Integrations: W&B / MLflow, DVC, Hydra (+ Optuna), BentoML / Modal / HF Spaces
  • Package managers: uv (recommended), conda, or pip
  • Layouts: monorepo (packages/) or single-package (src/)
  • Hybrid compatibility matrix: curated fast path + on-the-fly resolver fallback
  • Offline-first: vendored tiny MNIST/digits shards for happy-path training

Non-interactive flags

create-ml-stack my-app \
  --framework torch \
  --tracking wandb \
  --data dvc \
  --config hydra \
  --serving bentoml \
  --pm uv \
  --layout monorepo \
  --yes

Development

uv sync --extra dev
uv run pytest -q
uv run ruff check .
uv build   # verify wheel before release

See docs/publishing.md for PyPI release steps.

License

MIT

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

create_ml_stack-0.0.1.tar.gz (91.0 kB view details)

Uploaded Source

Built Distribution

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

create_ml_stack-0.0.1-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file create_ml_stack-0.0.1.tar.gz.

File metadata

  • Download URL: create_ml_stack-0.0.1.tar.gz
  • Upload date:
  • Size: 91.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for create_ml_stack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 569a20b2b9cbed9c2b2c21472b1da07003a5747e41886ad7333ddcf709812f0b
MD5 8839ca571a9fb288ca1e1d01bdea643e
BLAKE2b-256 8ee5d7d8d11818d436660d0d44bdfdbe992feed2a6ff0f085362892d4020f9be

See more details on using hashes here.

File details

Details for the file create_ml_stack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: create_ml_stack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 49.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for create_ml_stack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f7948c32980d0c6fcc370d7acc513888a83e60e74b8a3446363885425c03b44
MD5 b0357bd581c86d1a1ef750d2a49a2f19
BLAKE2b-256 cb0961fe449f2cd530a1a631aa937bd4a96ebd105fc65d59166fc4ea0bafd2f7

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