Skip to main content

An extremely fast template and stack manager for Python projects.

Project description

⚡ Volt

Volt is an extremely fast, modern template and stack manager for Python projects. Built for speed and simplicity, it automates the boilerplate so you can focus on building.

🚀 Features

  • Blazing Fast: Powered by uv for instant dependency resolution and environment setup.
  • Modular Stacks: Full support for FastAPI with production-grade defaults.
  • Interactive Scaffolding: Generate CRUD, models, and schemas in seconds.
  • Docker Integration: Automated Dockerfile and docker-compose.yaml generation.
  • Feature Adders: Easily add Auth, Databases (PostgreSQL, MySQL, MongoDB), or Redis to existing projects.
  • Production Ready: Structured, type-checked, and linted codebases out of the box.

📦 Installation

Volt requires Python 3.13+. We recommend installing it with uv:

# Install via uv (Recommended)
uv tool install volt-cli

# Or via pip
pip install volt-cli

🛠 Usage

1. Create a New Project

Generate a high-performance FastAPI application:

volt fastapi create my-app

2. Start Services

Volt manages your local development environment using Docker:

# Start DB, Redis, and App services
volt up

# Or in detached mode
volt up -d

3. Scaffold Resources

Generate full CRUD boilerplate (Model, Schema, Router, CRUD) for a resource:

volt generate crud User

4. Add Features

Enhance your project as it grows:

volt add db    # Add Database support (Postgres/MySQL/Mongo)
volt add auth  # Add JWT Authentication

5. Database Migrations

Volt wraps Alembic for seamless migration management:

volt db revision -m "add user table"
volt db upgrade head

6. Build for Production

Create container images for specific platforms:

volt build --platform linux/amd64

🏗 Supported Stacks

  • FastAPI:
    • DB Controllers: SQLAlchemy with async support.
    • Validation: Pydantic v2.
    • Migrations: Alembic.
    • Containerization: Optimized multi-stage Docker builds.

🤝 Contributing

  1. Clone the repository.
  2. Install dependencies: uv sync
  3. Run tests: pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

volt_cli-0.1.2.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

volt_cli-0.1.2-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

Details for the file volt_cli-0.1.2.tar.gz.

File metadata

  • Download URL: volt_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for volt_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f81f19f1a1a46660dc21f30d5b31ada6e3109f7b9ac2fce9b786e38974793d66
MD5 2e146ac0ebab2981f6fd6d7f9bd76bf3
BLAKE2b-256 030c65f46898ed21627a5c119df15b8e74c63250d0e754d2c43742eb0aedad37

See more details on using hashes here.

File details

Details for the file volt_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: volt_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 66.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for volt_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6c182206d805d9f78e4dd56bb4b71de4682e4bc836115b8a5fac2069056de2f
MD5 f9366e412f697e862337f66f77a5a6cd
BLAKE2b-256 08647747a456ebf5fe3dfa2e9bd8b3e288c00b19f9e7681e7d2ca1714c72dbc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page