Skip to main content

A package to auto-generate structured ML project folders

Project description

๐Ÿ“Œ Updated README.md for ml_project_setup

# ๐Ÿš€ ml_project_setup  
A simple Python package to **automate the creation of structured Machine Learning projects** with a single command.  

## ๐Ÿ“– Overview  
Setting up a clean and organized ML project can be time-consuming. **`ml_project_setup`** makes it effortless by generating the **entire project structure**, including essential files and dependencies.  

---

## ๐Ÿ“‚ Project Structure Created  
When you run `mlsetup my_project`, the following structure is created:  

my_project/ โ”‚โ”€โ”€ source/ โ”‚ โ”œโ”€โ”€ components/ โ”‚ โ”œโ”€โ”€ constants/ โ”‚ โ”œโ”€โ”€ entity/ โ”‚ โ”œโ”€โ”€ pipeline/ โ”‚ โ”œโ”€โ”€ utility/ โ”‚ โ”œโ”€โ”€ exception/ โ”‚ โ”œโ”€โ”€ logger/ โ”‚โ”€โ”€ data/ # Placeholder for datasets โ”‚โ”€โ”€ models/ # Stores trained models โ”‚โ”€โ”€ notebooks/ # Jupyter notebooks for experiments โ”‚โ”€โ”€ .gitignore # Ignores unnecessary files โ”‚โ”€โ”€ config.yaml # Configuration settings โ”‚โ”€โ”€ Dockerfile # For containerization โ”‚โ”€โ”€ main.py # Entry point script โ”‚โ”€โ”€ README.md # Project documentation โ”‚โ”€โ”€ requirements.txt # Dependencies โ”‚โ”€โ”€ setup.py # Package setup โ”‚โ”€โ”€ setup_env.bat # Windows environment setup โ”‚โ”€โ”€ setup_env.sh # Linux/macOS environment setup


---

## ๐Ÿ›  Installation  
Install the package using **pip**:  
```sh
pip install ml_project_setup

๐Ÿš€ Usage

To create a new Machine Learning project, run:

mlsetup my_project

This will generate a structured ML project named my_project in the current directory.

โž• Select ML Framework During Setup

You'll be prompted to choose an ML framework, and the package will automatically install it:

๐Ÿš€ Welcome to ML Project Setup! ๐Ÿš€
Enter your project name: my_ml_project

Select ML Framework:
[1] scikit-learn (default)
[2] PyTorch
[3] TensorFlow
Enter your choice (1/2/3): 2
๐Ÿ“ฆ Installing PyTorch... This may take a while.
โœ… PyTorch installed successfully!
โœ… Project 'my_ml_project' created with PyTorch framework!

๐Ÿ“ฆ Dependencies

This package installs dependencies automatically, depending on the framework you select:

Framework Installed Packages
scikit-learn (default) scikit-learn
PyTorch torch, torchvision, torchaudio
TensorFlow tensorflow

If needed, you can manually install dependencies:

pip install -r requirements.txt

๐Ÿ“ License

This project is licensed under the MIT License. See the LICENSE file for details.


๐Ÿ‘ค Author

Developed by Amogh Pathak
๐Ÿ“ง Contact: amogh9792@gmail.com


โœจ Contribute & Improve

Have suggestions or feature requests? Feel free to open an issue or contribute on GitHub!

๐Ÿ”— PyPI: https://pypi.org/project/ml-project-setup/


---

### **๐Ÿ”น Whatโ€™s Updated?**
โœ… **Includes automatic framework installation (scikit-learn, PyTorch, TensorFlow)**  
โœ… **Shows example CLI prompt when running `mlsetup`**  
โœ… **Lists dependencies based on the selected framework**  

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

ml_project_setup-0.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

ml_project_setup-0.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ml_project_setup-0.4.tar.gz.

File metadata

  • Download URL: ml_project_setup-0.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for ml_project_setup-0.4.tar.gz
Algorithm Hash digest
SHA256 7e580db1247f7f7a95d65cf3ef7b1f619243e22bc8bcc23bc0635c75b6020bba
MD5 14a590ba722e1ecfa37aec2e8b496403
BLAKE2b-256 24c275ad704ee7712d3b262e55e6ac5fb0ea85966d4584efd013d0e0f15c45dc

See more details on using hashes here.

File details

Details for the file ml_project_setup-0.4-py3-none-any.whl.

File metadata

  • Download URL: ml_project_setup-0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for ml_project_setup-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9a0895c1b6748b6a3bc40035d5d59906a1bf1590a2f9d10860a09ddce72de99c
MD5 6e80df066d684cc72c72fbbcbb4b42ce
BLAKE2b-256 1f277ae6a026450c3ab30cd50b3023748fd045c843f108626e35d255673c2bea

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