Piccolo · a fast async ORM for Python
4 months ago
Meet Piccolo: a modern, async ORM for Python. Most Python ORMs give you a way to query your database and stop there. Piccolo goes further. One command scaffolds a whole web app, with a REST API and a polished admin panel over your data. Batteries included, the way Django does it, but async and fully typed.
Ask about this presentation
Chapters
Show transcriptHide transcript
Meet Piccolo: a modern, async ORM for Python. Most Python ORMs give you a way to query your database and stop there. Piccolo goes further. One command scaffolds a whole web app, with a REST API and a polished admin panel over your data. Batteries included, the way Django does it, but async and fully typed.
So what is Piccolo? A fast query builder and ORM for Python. It's fully type annotated, so you get real autocomplete and your editor catches mistakes before you run anything. It's async first, and works synchronously when you want. And it's batteries included: migrations, a user model with authentication, Django style apps, and the admin. MIT, and open source.
The query syntax reads like Python. Select a column, filter it with a where clause, and await the result. Or work with objects: build a row, then save it. Same tables, two styles. You can even try queries in an interactive playground before you write any project code.
Here's the batteries included part. Install Piccolo with all its extras, then run piccolo asgi new. It asks which routing framework, pick FastAPI, and which server, pick uvicorn. In one step it scaffolds a complete web app: an example Task table, a REST API over it, and, in the command's own words, an admin, already mounted at slash admin.
Two commands wire up the database. piccolo migrations new home, with dash dash auto, inspects your tables and writes the migration for you. piccolo migrations forwards all applies it, creating your Task table plus the tables the admin needs. Automatic migrations, nothing written by hand. Then piccolo user create adds an admin login for the panel.
Now run it. python main dot py starts the server. Open localhost, slash admin, and there it is: a polished web admin over your data. Filtering, CSV export, dark mode, bulk actions, media, even multi factor authentication, all for free. The docs call it the crown jewel of the Piccolo ecosystem.
That's the whole arc. From pip install to a running REST API and an admin over your data, in a handful of commands, with migrations, authentication, and your choice of web framework, all included. Fully typed, async, and MIT licensed. Start here: piccolo orm dot readthedocs dot io.
Up next
2:03cargo-nextest · a next-generation test runner for Rust
@github
4 months ago
1:35mq · jq, but for Markdown
@github
4 months ago
1:24Mimesis · realistic, locale-aware fake data in one line
@github
4 months ago
1:38pikepdf · open, edit and repair PDFs in Python, losslessly
@github
4 months ago
1:22tfswitch · the right Terraform version, automatically
@github
4 months ago
1:21PyPDFForm · fill a PDF form in Python in a few lines
@github
4 months ago
1:35MCP-UI - interactive apps for MCP tools
@github
4 months ago
1:39workmux - parallel coding agents in isolated worktrees
@github
4 months ago
1:33Pumpkin - start a Rust Minecraft server
@github
4 months ago
1:39Bifrost - your first reliable AI gateway
@github
4 months ago
1:39Honcho - memory that reasons across sessions
@github
4 months ago
1:56agentgateway · one governed proxy for your agent traffic
@github
4 months ago






