hbk init --stripe — built-in Stripe payments, plans & webhooks
Auth, database, migrations, Docker, tests, and payments — wired up and production-ready out of the box. Pair it with an AI coding assistant and ship in minutes: faster, cheaper, and more reliable than asking it to build the same stack from scratch.
Everything you need to go from zero to production β no corners cut.
FastAPI, SQLAlchemy 2.0, Pydantic v2, and Alembic migrations — pre-wired and ready to deploy.
Rate limiting, JWT auth, secure secret generation, and non-root Docker containers.
Optional uv support for lightning-fast dependency management and virtualenvs.
Service-Repository pattern for maintainable, testable, and scalable code from day one.
Integrated pytest setup with a single hbk test command. No excuses.
Ready-to-deploy docker-compose setup with healthchecks and non-root security.
Built-in Agent Skills for GitHub Copilot and VS Code agent mode β your AI understands your project.
Opt-in payment stack: checkout sessions, signed webhooks, and plans, subscriptions & payments tables wired into your DB.
A CLI that drives as good as it looks. Scaffold, migrate, seed, and test β all from the terminal.
Four steps. That's all it takes to get a fully scaffolded, production-ready FastAPI project.
Grab it from PyPI β it's lightweight and has zero heavy dependencies.
Scaffold a complete FastAPI project with database, auth, Docker, and tests. Add --stripe to bundle a full payments stack.
Don't write boilerplate β generate models, schemas, services, and routes in one command.
Fire up the dev server with hot-reloading and you're live.
Every command at your fingertips. All accessible via hbk or hatchback.
| Command | Description |
|---|---|
hbk init <name> --stripe |
Initialize a new project with full scaffolding (add --stripe for payments) |
hbk run |
Start dev server with hot-reload |
hbk make <resource> |
Scaffold a new resource (model, schema, service, routeβ¦) |
hbk remove <resource> |
Remove a resource and clean up all imports |
hbk migrate create -m "msg" |
Create a new Alembic migration |
hbk migrate apply |
Apply pending database migrations |
hbk migrate downgrade |
Rollback the last migration (-r -2 for multiple steps) |
hbk seed |
Seed database with initial data (tenant + admin) |
hbk inspect --url <db_url> |
Inspect existing DB and generate models & scaffolds |
hbk upgrade |
Sync latest agent skills and infra files |
hbk test |
Run the test suite |
A clean, layered architecture that keeps your code modular and testable.
Everything you need β source code, docs, and ways to support the project.
Source code, issues, and contributions
βInstall the latest version from PyPI
βFull README with guides and examples
βSupport the project and fuel development
βApache 2.0 β open and permissive
βReport bugs or request new features
βLearn how to contribute to Hatchback
βSecurity policy and reporting
β