🚀 Interactive Python Project Scaffolding Tool
An easy-to-use CLI tool that helps you create well-structured Python projects with modern development tools pre-configured. No more starting from scratch or copying project templates!
- Interactive Setup - Guided project creation with sensible defaults
- Multiple Project Types - Support for basic Python projects and web frameworks (FastAPI)
- Smart Dependency Management - Interactive selection of libraries with automatic installation via uv
- Modern Tools - Pre-configured with ruff for lightning-fast linting and formatting, and pyright for robust type checking
- Cross-Platform - Works on macOS, Linux, and Windows with native binaries
- Zero Configuration - Everything works out of the box, no complex setup required
brew install Pradyothsp/pyinit/pyinit
pip install pyinit-cli
Simply run:
pyinit
The tool will guide you through:
- Basic Information - Your name, email, and project details
- Project Configuration - Project name, type (basic, web), and description
- Framework Selection - For web projects, choose FastAPI (more coming soon)
- Dependency Selection - Pick libraries to install automatically
- Development Environment - Automated setup with formatting and linting
Here's what you get with a basic project:
my-awesome-project/
├── .gitignore # Comprehensive Python .gitignore
├── .python-version # Python version specification
├── pyproject.toml # Modern Python project configuration
├── README.md # Project documentation
├── my_awesome_project/ # Main package directory
│ ├── __init__.py
│ └── main.py # Entry point with "Hello, World!"
└── scripts/ # Development scripts
├── __init__.py
├── fmt.py # Code formatting (ruff)
└── fmt_check.py # Linting and type checking
After project creation, you can use these commands for development:
# Check version information
pyinit --version
# Format code and fix issues
uv run fmt
# Check code quality (linting + type checking)
uv run fmt-check
- 🪟 Windows Support - Now available for Windows users
- 📋 Interactive Dependencies - Choose FastAPI libraries during project creation
- 🔍 Version Information - Use
--version
or-v
to see detailed build info - 🚀 Enhanced FastAPI - Automatic dependency installation with
uv
- Python 3.9+
- Platforms: macOS, Linux, and Windows
Interested in contributing? Check out our Developer Guide for setup instructions and development workflows.
MIT License - see LICENSE for details.
Made with ❤️ for Python developers who value clean project structure and modern tooling.