Loading repository data…
Loading repository data…
ChAbdulWahhab / repository
Projex — the fastest way to bootstrap Python projects. Generate complete, production-ready templates for any framework in seconds — from FastAPI to Django, with Docker, CI/CD, and testing already wired in.
A powerful CLI tool to generate production-ready Python project boilerplates instantly. Skip the boring setup and jump straight into coding!
Modern, fast API framework with automatic documentation
Features:
Perfect for: RESTful APIs, WebSocket apps, high-performance services
projex create my-api --template fastapi
Batteries-included web framework for perfectionists
Features:
Perfect for: Web applications, admin dashboards, CMS platforms
projex create my-site --template django
Lightweight and flexible web framework
Features:
Perfect for: Simple APIs, prototypes, custom architectures
projex create my-app --template flask
Micro web framework - simple and fast
Features:
Perfect for: Small APIs, microservices, learning projects
projex create my-service --template bottle
Flexible, scalable web framework
Features:
Perfect for: Large applications, complex routing, enterprise apps
projex create my-app --template pyramid
Async web framework and networking library
Features:
Perfect for: Real-time apps, WebSocket servers, long-polling services
projex create my-realtime --template tornado
Fast async framework built on uvloop
Features:
Perfect for: High-performance APIs, async services, real-time apps
projex create my-fast-api --template sanic
Minimalist Python web framework
Features:
Perfect for: Embedded applications, traditional web apps, simple services
projex create my-server --template cherrypy
All templates include:
pip install projex
git clone https://github.com/ChAbdulWahhab/projex.git
cd projex
pip install -e .
projex create
The CLI will guide you through:
# Simple FastAPI project
projex create my-api --template fastapi
# Complete production-ready setup
projex create my-api \
--template fastapi \
--db postgresql \
--auth jwt \
--style full \
--license mit
# Django with MongoDB
projex create my-site \
--template django \
--db mongodb \
--author "Your Name"
# Minimal Flask app
projex create my-app \
--template flask \
--style minimal \
--no-git
projex create [PROJECT_NAME] [OPTIONS]
Options:
-t, --template TEXT Framework template
[fastapi|django|flask|bottle|pyramid|tornado|sanic|cherrypy]
-p, --path PATH Directory path (default: current directory)
-a, --author TEXT Author name
-d, --description TEXT Project description
--db TEXT Database type
[postgresql|mysql|mongodb|sqlite|redis]
--style TEXT Template style
[minimal|standard|full]
--auth TEXT Authentication method
[jwt|oauth2|apikey|basic]
--license TEXT License type
[mit|apache|gpl|bsd|unlicense]
--gitignore TEXT Gitignore templates (comma-separated)
Example: python,venv,pycharm,vscode
--no-git Skip git initialization
--no-venv Skip virtual environment creation
--help Show help message
projex list
# Output shows all 8 frameworks with descriptions
Add components to your existing project:
# Simple model
projex add model User --fields name:str,email:str,age:int
# Complex model with multiple field types
projex add model Product --fields name:str,price:float,stock:int,is_active:bool,created_at:datetime
# Supported field types:
# str, int, float, bool, date, datetime, list, dict
# CRUD endpoints
projex add endpoint users --crud
# Generates: GET, POST, PUT, DELETE endpoints
# Synchronous service
projex add service payment
# Asynchronous service
projex add service email --async
# CORS middleware
projex add middleware cors
# Authentication middleware
projex add middleware auth
Note: All projex add commands automatically detect your framework and generate appropriate code!
projex create my-api --template fastapi --auth jwt
Includes:
projex create my-api --template fastapi --auth oauth2
Includes:
projex create my-api --template fastapi --auth apikey
Includes:
projex create my-api --template flask --auth basic
Includes:
projex create my-api --template fastapi --db postgresql
Includes:
projex create my-api --template django --db mysql
Includes:
projex create my-api --template fastapi --db mongodb
Includes:
projex create my-api --template flask --db sqlite
Includes:
projex create my-api --template fastapi --db redis
Includes:
projex create my-api --template fastapi --style minimal
Includes:
projex create my-api --template fastapi --style standard
# or
projex create my-api --template fastapi
Includes:
projex create my-api --template fastapi --style full
Includes:
Generate CI/CD configurations:
cd my-project
projex add cicd --provider github
Generates: .github/workflows/ci.yml
Includes:
projex add cicd --provider gitlab
Generates: .gitlab-ci.yml
Includes:
projex add cicd --provider circle
Generates: .circleci/config.yml
Includes:
Manage multiple environments:
cd my-project
# Create environment files
projex env add development
projex env add staging
projex env add production
projex env add test
# List all environments
projex