Brupy¶
create-next-app, for Python. One command, a short interactive wizard, and
you have a running project — no hand-written boilerplate. Pick a richer
template and the same wizard wires up a real database, migrations, and a
background worker too.
uvx brupy
? What is your project named? my-api
? Which framework? FastAPI
? Which template? REST API
? Database? PostgreSQL
? ORM? SQLModel
? Add Alembic migrations? Yes
? Background worker? Taskiq
? Message broker? RabbitMQ
? Add Redis (caching)? No
Using uv to manage dependencies.
? Add a Dockerfile? No
? Initialize a git repository? Yes
? Install dependencies with uv now? Yes
Options: database=postgres, orm=sqlmodel, migrations=True, worker=taskiq, broker=rabbitmq, redis=False
Creating my-api/ from fastapi/rest-api...
✔ ...
Success! Created my-api at ./my-api
Next steps:
cd my-api
uv run alembic revision --autogenerate -m "describe your change"
uv run alembic upgrade head
uv run fastapi dev src/my_api/main.py
uv run taskiq worker my_api.worker:broker --app-dir src # separate process
uv run taskiq scheduler my_api.scheduler:scheduler --app-dir src # separate process
Then open http://127.0.0.1:8000
Why Brupy¶
Strike it and it throws a spark — that's the whole idea: one command,
and a real project catches. Every new FastAPI or Flask project starts
with the same repetitive setup —
pyproject.toml, a src/ layout, a first endpoint, a test, a .gitignore,
a README nobody gets around to writing — and, past the toy stage, the same
recurring decisions: which database, which ORM, whether to bother with
migrations yet, whether background work needs a queue. Brupy answers the
short list of decisions that actually matter and generates a project that's
already wired for them, instead of a blank slate you have to wire yourself.
- Zero to running in under a minute. No install, no config file — run
uvx brupyand you have a project you canuv runimmediately. - Real head-start choices, not just a skeleton. The
rest-apitemplate offers a database (SQLite/PostgreSQL), an ORM, Alembic migrations, a background worker (Taskiq/Celery), and Redis — pick what you need, skip what you don't. - Fully scriptable. Every interactive prompt has a matching flag, so
brupy newworks identically in CI with zero prompts. - Two frameworks today, more later. FastAPI and Flask ship with matching template shapes — same options, same conventions, same generated layout philosophy — so switching between them isn't a relearn.
- Agent-ready by default. Every generated project ships an
AGENTS.mdplus a.agents/skills/catalog scoped to exactly the stack it generated — see Agent Skills.
Where to go next¶
-
Getting Started Install Brupy and generate your first project, interactively or non-interactively.
-
CLI Reference Every command, flag, and exit code.
-
Templates What
hello-world,rest-api, andfull-stackactually generate, for each framework. -
Agent Skills How
.agents/skills/is selected and what's in it.
Install¶
uv tool install brupy # persistent `brupy` on PATH
# or run it ephemerally, no install:
uvx brupy
Brupy is a CLI, not a library: installing it puts a brupy command on
your PATH. The PyPI distribution and the command share the same
name, so uvx brupy works with no --from needed.