Skip to content

demeoni/Python-Project-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Project Creator

A modern, dark-themed GUI tool that creates Python project boilerplate structures with one click. It automatically sets up your project with a Flask-based dashboard, virtual environment, and essential files.

Python Version Flask Platform

Features

  • 🌙 Dark-themed GUI interface
  • 🚀 One-click project setup
  • 🐍 Python 3 installation helper
  • 📁 Standard project structure
  • 🌐 Flask-based dark-themed dashboard
  • 🔧 Automatic virtual environment setup
  • 🔗 GitHub integration
  • 🖥️ Cross-platform support

Installation

  1. Clone this repository
  2. Run the GUI:
    python app.py

Usage

  1. Launch the application

    python app.py
  2. Select your platform (Windows or Linux/macOS)

  3. Setup Python (if needed)

    • Click "Setup Python 3 and dependencies"
    • Run the generated setup script
  4. Create a new project

    • Enter your project name
    • Choose a location (or use default)
    • Click "Create Project"
  5. Start developing

    • Navigate to your project directory
    • Activate the virtual environment
    • Run your Flask app

Project Structure

The tool creates the following structure:

YourProjectName/
├── .trash/                  # Trash directory
├── static/
│   ├── css/
│   │   └── style.css       # Dark-themed CSS
│   └── js/
│       └── main.js         # JavaScript with GitHub button
├── templates/
│   └── index.html          # Dark-themed dashboard
├── venv/                   # Virtual environment (auto-created)
├── .gitignore             # Git ignore file
├── app.py                 # Flask application
└── requirements.txt       # Python dependencies

Features in Detail

  • Ready for GitHub integration
  • .gitignore file included

Python Setup Assistant

  • Detects if Python 3 is installed
  • Creates platform-specific setup scripts
  • Guides you through the installation process

Project Creation

  • Creates a complete project structure
  • Sets up a virtual environment automatically
  • Installs Flask and required dependencies
  • Creates a dark-themed web dashboard

GitHub Integration

  • Direct link to create new GitHub repositories
  • Pre-configured .gitignore file

Requirements

  • Python 3.x
  • tkinter (usually included with Python)
  • Internet connection (for GitHub integration)

Contributing

Feel free to fork this project and submit pull requests with improvements!

License

MIT License - feel free to use this tool for any purpose.

Troubleshooting

Common Issues

  1. Python not found

    • Use the "Setup Python 3 and dependencies" button
    • Run the generated setup script
    • Restart the application
  2. tkinter not installed

    • Linux: sudo apt-get install python3-tk
    • macOS: brew install python-tk
    • Windows: Reinstall Python with tkinter option
  3. Permission errors

    • Run the application with appropriate permissions
    • Choose a location where you have write access

Support

If you encounter any issues or have suggestions, please create an issue in the repository.

About

Python Project Boilterplate Creator for macos and windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published