ML Project Generator
🚀 ml-project-generator (v2.0.0) is a powerful Python package that automates the creation of structured machine learning project templates. It helps you focus on development rather than setup by providing ready-to-use project structures with specialized templates for different ML domains.
✨ Features
Project Templates
- Basic ML: Standard ML project structure with scikit-learn support
- Deep Learning: PyTorch-based project with neural network support
- NLP: Natural Language Processing project with transformers
- Computer Vision: Image processing project with PyTorch and OpenCV
Each Template Includes
- 📁 Organized directory structure
- 📝 Example notebooks with step-by-step guides
- 🔧 Pre-configured dependencies
- 🛠 Template-specific utility functions
- 📊 Data preprocessing pipelines
- 🧪 Model training scripts
- 📈 Visualization utilities
Project Structure
my_ml_project/
├── data/
│ ├── raw/ # Original data
│ ├── processed/ # Processed data
│ ├── external/ # External data sources
│ └── interim/ # Intermediate data
├── models/
│ └── logs/ # Training logs
├── notebooks/ # Example notebooks
├── src/
│ ├── data/ # Data processing scripts
│ ├── models/ # Model implementations
│ └── utils/ # Utility functions
├── config/ # Configuration files
├── reports/ # Project reports
├── tests/ # Unit tests
└── scripts/ # Automation scripts
📥 Installation
From PyPI (Recommended)
pip install ml-project-generator
From GitHub
pip install git+https://github.com/AarambhaAnta/ml-project-generator.git
Development Installation
git clone https://github.com/AarambhaAnta/ml-project-generator.git
cd ml-project-generator
pip install -e .
🚀 Usage
Basic Usage
ml-gen my_project
With Template Selection
# Basic ML template (default)
ml-gen my_project
# Deep Learning template
ml-gen my_project --template deep_learning
# NLP template
ml-gen my_project --template nlp
# Computer Vision template
ml-gen my_project --template computer_vision
With Virtual Environment
ml-gen my_project --venv
📚 Example Notebooks
Each template includes specialized notebooks:
Basic ML
- Data exploration and analysis
- Model training and evaluation
Deep Learning
- Data preparation and PyTorch setup
- Model training with PyTorch
NLP
- Text preprocessing
- Transformer model training
Computer Vision
- Image preprocessing
- Vision model training
🛠 Development
-
Clone the repository:
git clone https://github.com/AarambhaAnta/ml-project-generator.git
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
-
Run tests:
python -m pytest
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Inspired by the cookiecutter data science project template
- Built with ❤️ for the ML community
Made with ❤️ by @AarambhaAnta
Metadata
Release files for ml-project-generator 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ml_project_generator-2.0.2.tar.gz | 15.1 kB | Without provenance | Details for ml_project_generator-2.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ml_project_generator-2.0.2-py3-none-any.whl | Python 3 | none | any | Details for ml_project_generator-2.0.2-py3-none-any.whl |
Total release size: 30.9 kB
Release files / ml_project_generator-2.0.2.tar.gz
| Download URL | ml_project_generator-2.0.2.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19a9785ee283fa220d56917947a9daac73bf7f8ec2ac9f30f9b1c05548b4454a
|
|
BLAKE2b-256 checksum How to use checksums |
69a018a19453e9978b2eb3b6e2f2beabc473772b01448650b09a8e8b38036201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / ml_project_generator-2.0.2-py3-none-any.whl
| Download URL | ml_project_generator-2.0.2-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b381efe373046b435aff8ae4685a0315aedce5800b07dd5fc70fd3cfdec8b0dc
|
|
BLAKE2b-256 checksum How to use checksums |
b3e96321bb72f3a18166fd21e0e172fc38f61640dc01c62ab5cf26c86ee1f0e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for ml-project-generator 2.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.