Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


AutoPyCraft 🛠️

Automate Python Project Initialization & Structuring

License
Python


📌 Overview

PyCraft is a CLI tool that automates the setup of Python projects by creating structured directories, initializing virtual environments, and installing necessary dependencies.

Project Structure


autopycraft/
├── setup_scripts/
│   ├── __init__.py       # Initializes Flask app
│   ├── routes.py         # Contains API routes
│   ├── models.py         # Database models (if using SQLAlchemy)
│   ├── templates/        # HTML templates (Jinja2)
│   ├── static/           # CSS, JS, images
├── test/                 # test class
├── venv/                 # Virtual environment
├── config.py             # Configuration settings
├── requirements.txt      # Dependencies (flask, etc.)
├── app.py                # Entry point
├── .gitignore
├── README.md


Features:
Framework-specific setups (Flask, FastAPI, Django, Pygame)
Automatic directory & virtual environment creation
Dependency installation
Open-source & customizable


🚀 Installation

pip install autopycraft

OR install from source:

git clone https://github.com/N-Thander/PyCraft.git
cd PyCraft
pip install -e .

📌 Usage

After installation, use PyCraft from the command line:

🎯 Creating a Flask Project

pycraft setup-flask my_flask_app

⚡ Creating a FastAPI Project

pycraft setup-fastapi my_fastapi_app

🎮 Creating a Pygame Project

pycraft setup-pygame my_game

🛠️ Creating a Django Project

pycraft setup-django my_django_app

Each command will:
✅ Create the project directory
✅ Initialize a virtual environment
✅ Install necessary dependencies
✅ Generate a structured project skeleton

---🚀 Automate Python Project Setup with PyCraft! 🚀

Let me know if you need any modifications! 🔥 pycraft/templates/


---

## **📌 Contributing**  

Contributions are welcome! 🚀 To contribute:  

1. **Fork** this repository.  
2. Clone your fork:  
   ```sh
   git clone https://github.com/your-username/PyCraft.git
  1. Create a new branch:
    git checkout -b feature-name
  2. Make your changes & commit:
    git commit -m "Added a new feature"
  3. Push your branch & create a Pull Request! 🎉

📜 License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
See the full license here.


📬 Contact

💡 Have questions or suggestions? Reach out!
🔗 GitHub Issues


Note

This project is still underdevelopment and no PyPI package has been released yet.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages