Skip to main content

Create a ready-to-use ML project structure with one command.

Project description

๐Ÿš€ 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

๐Ÿ“ Generated Project Structure

my-ml-project/
โ”œโ”€ src/
โ”‚  โ”œโ”€ __init__.py
โ”‚  โ””โ”€ main.py
โ”œโ”€ data/
โ”‚  โ”œโ”€ raw/
โ”‚  โ””โ”€ processed/
โ”œโ”€ models/
โ”œโ”€ notebooks/
โ”œโ”€ docs/
โ”œโ”€ tests/
โ”‚  โ””โ”€ test_smoke.py
โ”œโ”€ 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

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

mlscaffold-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

mlscaffold-0.1.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlscaffold-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for mlscaffold-0.1.2.tar.gz
Algorithm Hash digest
SHA256 00d1bdf892b9964fbc558d0a06aaaa4c2d96173d7e80a4a57748d55855220884
MD5 0867c23285f4acee72ac501a04580206
BLAKE2b-256 c98281df5a0ba3a9a02bc3a9daebc1d4b35507430dd85619b0064799b4a3f915

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlscaffold-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for mlscaffold-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21058c3ee79db9b120a0dd7f394459985fd20f25460367e0af4526da57bd2ad5
MD5 efa0807d2ccbad1da7ea880353abc818
BLAKE2b-256 e953bbbd49929c6bcb495e4dcf52da751965009489801beaab7d6fb9dadec4a6

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