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.3.tar.gz (5.2 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.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlscaffold-0.1.3.tar.gz
  • Upload date:
  • Size: 5.2 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.3.tar.gz
Algorithm Hash digest
SHA256 f679481baf7f7349ff0173b1ef63e4d23f7a79d1d7c1ff21ab07a4e4becfa44e
MD5 71e5a6ab49cf43984be8348c6af4692d
BLAKE2b-256 1bcfa375904f39813155c75015294c2061ea45f365fcd0034e2b05891d041c93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlscaffold-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b00187513befaed32162f44de1dae3586d1b561c1f8841f3d7204f75fbcb500
MD5 733ab90d8f3a129d43a1c322237485a1
BLAKE2b-256 1fa4e631390bdaae56c72b87348598542535169476c55b2672bcc862304af2b9

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