Installation¶
Requires Python 3.12+.
uv add derp-py
pip install derp-py
Verify:
$ derp version
derp version 0.1.0
Initialize a project¶
$ derp init
Created derp.toml
This creates a derp.toml with defaults. Set your database URL:
export DATABASE_URL=postgresql://user:pass@localhost:5432/mydb
Then define your schema, generate a migration, and apply it:
$ derp generate --name initial
$ derp migrate
See Quickstart for a full walkthrough, or Config for all configuration options.
What’s included¶
Derp installs with all modules — use only what you need by configuring the relevant sections in derp.toml:
Module |
What it does |
Config section |
|---|---|---|
ORM |
Typed PostgreSQL query builder, migrations |
|
Auth |
Email/password, magic links, OAuth, JWTs, orgs |
|
KV |
Valkey cache, stampede protection, idempotency |
|
Storage |
S3-compatible file uploads/downloads |
|
Payments |
Stripe: checkout, webhooks, Connect |
|
Queue |
Celery or Vercel task queues, schedules |
|
CLI |
|
reads |
Unconfigured modules are simply not initialized — no extra dependencies needed.