Skip to main content

🚀 mlscaffold

mlscaffold is a Python CLI tool to bootstrap Machine Learning projects quickly.
It creates a clean folder structure, boilerplate files, and an ML workflow checklist, so you can start coding immediately.

Think of it as create-react-app — but for ML projects.


✨ Features

  • 📂 Automatically generates a standard ML project structure
  • 📝 Includes ML_Workflow.txt for step-by-step guidance
  • ⚡ Boilerplate folders and files:
    • src/ → Python source code (main.py, __init__.py)
    • data/raw & data/processed → Data storage
    • models/ → Trained models
    • notebooks/ → Jupyter notebooks
    • docs/ → Project documentation
    • tests/ → Unit or smoke tests
    • requirements.txt → Python dependencies
    • .gitignore → Recommended ignores
  • 🧑‍💻 Easy to use and extend
  • 🔄 Works on Windows, Linux, and Mac

📦 Installation

pip install mlscaffold

🚀 Usage

Create a new ML project:

mlscaffold my-ml-project

output

✅ ML project 'my-ml-project' created at: /your/path/my-ml-project
👉 Next : cd my-ml-project

📁 Project Structures

mlscaffold supports three project types: basic, research, and production. Choose the one that fits your workflow:

1. Basic

For quick experiments, prototypes, or simple scripts.

my-ml-project/
├─ src/
│  ├─ __init__.py
│  └─ main.py
├─ data/
├─ models/
├─ notebooks/
├─ tests/
│  └─ test_smoke.py
├─ ML_Workflow.txt
├─ requirements.txt
├─ README.md
└─ .gitignore

2. Research

For academic, research, or more complex projects with experiments and documentation.

my-ml-project/
├─ src/
│  ├─ __init__.py
│  └─ main.py
├─ data/
│  ├─ raw/
│  └─ processed/
├─ models/
├─ notebooks/
├─ docs/
├─ experiments/
├─ tests/
│  └─ test_smoke.py
├─ ML_Workflow.txt
├─ requirements.txt
├─ README.md
└─ .gitignore

3. Production

For production-ready ML systems, APIs, and CI/CD integration.

my-ml-project/
├─ src/
│  ├─ __init__.py
│  └─ main.py
├─ data/
├─ models/
├─ notebooks/
├─ docs/
├─ api/
├─ tests/
│  └─ test_smoke.py
├─ .github/
│  └─ workflows/
│      └─ ci.yml
├─ Dockerfile
├─ ML_Workflow.txt
├─ requirements.txt
├─ README.md
└─ .gitignore

ML_Workflow.txt includes the full ML workflow checklist:

0) Project setup
1) Problem framing
2) Data collection
3) Preprocessing
4) Exploratory Data Analysis (EDA)
5) Baseline & Models
6) Training & Evaluation
7) Hyperparameter Tuning
8) Packaging & Artifacts
9) Deployment
10) Monitoring & Iteration

🤝 Contributions

We welcome contributions! Please read CONTRIBUTIONS.md

Metadata

Release files for mlscaffold 0.2.1

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

Source distribution (sdist)

Source distribution for mlscaffold 0.2.1
File Size Uploaded
mlscaffold-0.2.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mlscaffold 0.2.1
File Interpreter ABI Platform
mlscaffold-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.4 kB

Release files / mlscaffold-0.2.1.tar.gz

Download URL mlscaffold-0.2.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
20e72e662f30a2a32fede64445872d13ddfd04a8ec69609b5134f1448528ce60
BLAKE2b-256 checksum
How to use checksums
3cd71ebdebdf7dc07d0352a532e6518f08c9d98bab19dc282c8117300af3828d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / mlscaffold-0.2.1-py3-none-any.whl

Download URL mlscaffold-0.2.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52eb8b72daaded047f5365d2d5e50efa484770e4854d55eb36cc6ce474db7bbf
BLAKE2b-256 checksum
How to use checksums
c97740dbdaa856c2e824e3ee034a5adb6c272ee4b156bfc959454e8f1caa1fab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

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