Welcome to Vyte¶
Professional API project generator for Python. Create production-ready REST APIs in seconds.
What is Vyte?¶
Vyte is a powerful command-line tool that generates professional, production-ready REST API projects for Python. It's like Vite for JavaScript, but for Python APIs.
Key Features¶
โจ Multiple Frameworks
- Flask-Restx
- FastAPI
- Django-Rest (coming soon)
๐๏ธ Multiple ORMs
- SQLAlchemy
- TortoiseORM
- Peewee
- Django ORM (coming soon)
๐พ Database Support
- PostgreSQL
- MySQL
- SQLite
๐ Security First
- JWT authentication out of the box
- Secure password hashing
- CORS configuration
๐ณ DevOps Ready
- Complete Docker setup
- docker-compose configuration
- Production-ready Dockerfile
๐งช Testing Built-in
- Pytest configuration
- Coverage reports
- Example tests included
๐ Auto Documentation
- Swagger/OpenAPI automatic docs
- Interactive API explorer
- Auto-generated from code
โก Modern Stack
- Python 3.11+
- Pydantic v2
- Async support
- Type hints everywhere
๐จ Beautiful CLI
- Rich terminal UI
- Interactive setup wizard
- Clear, helpful messages
Quick Example¶
# Install
pip install vyte
# Create a new API project
vyte create
# Follow the interactive prompts or use flags:
vyte create \
--name my-api \
--framework FastAPI \
--orm SQLAlchemy \
--database PostgreSQL \
--auth \
--docker
Philosophy¶
Vyte follows these principles:
- Convention over Configuration: Sensible defaults that just work
- Best Practices: Generated code follows Python and framework best practices
- Production Ready: Not just prototypes, but deployable applications
- Developer Experience: Beautiful CLI, clear documentation, helpful errors
- Modern Stack: Latest stable versions of frameworks and libraries
Use Cases¶
๐ Rapid Prototyping¶
Quickly spin up a new API to test an idea or build a proof of concept.
๐ข Microservices¶
Generate multiple services with consistent structure and standards.
๐ Learning¶
Perfect for learning modern Python API development with real-world patterns.
๐ฏ Startups¶
Get from zero to deployed faster with production-ready boilerplate.
Next Steps¶
- Quick Start - Get started in 5 minutes
- CLI Commands - Learn all available commands
- Configuration - Customize your projects
- Integration - Connect with your tools
Community¶
- GitHub Issues - Report bugs or request features
- Discussions - Ask questions and share ideas
- Contributing - Help make Vyte better
License¶
Vyte is open source software licensed under the MIT License.