Skip to content

Welcome to Vyte

Vyte Logo

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:

  1. Convention over Configuration: Sensible defaults that just work
  2. Best Practices: Generated code follows Python and framework best practices
  3. Production Ready: Not just prototypes, but deployable applications
  4. Developer Experience: Beautiful CLI, clear documentation, helpful errors
  5. 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

Community

License

Vyte is open source software licensed under the MIT License.