GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • dbwarden-org
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles

This view

  • Original page
  • New address

GeezerVison is showing github.com — DBWarden

README.md

DBWarden

DBWarden

Your models are the source code. SQL is the output.

Python PyPI License Documentation Codecov


DBWarden is a declarative schema compiler for SQLAlchemy. You declare the schema you want in your SQLAlchemy models, and DBWarden compiles everything else: migration SQL, rollbacks, snapshots, and safety checks. There are no migration scripts to write or maintain. Your models are the contract.

This organization is the home of the DBWarden project and its official plugins.


Quickstart

# install DBWarden
uv add dbwarden

# create a configuration
echo "
from dbwarden import DbwardenDatabase

class Primary(DbwardenDatabase):
    database_name = 'primary'
    database_type = 'postgresql'
    database_url_sync = 'postgresql://user:pass@localhost:5432/myapp'
    default = True
" > dbwarden.py

# generate your first migration
dbwarden make-migrations "create initial tables"

# apply it
dbwarden migrate

Official Plugins

Plugin Description
dbwarden-seeds Seed data management
dbwarden-fastapi FastAPI sessions, lifespan, and health routes
dbwarden-sandbox Safe declaration parsing without code execution
dbwarden-pgsql-rbac PostgreSQL roles, grants, and row-level security
dbwarden-pgsql-extensions PostgreSQL extension management
dbwarden-pgsql-types PostgreSQL custom types and sequences
dbwarden-redis Redis-backed distributed migration locking
dbwarden-ch-rbac ClickHouse access control

Browse community plugins on PyPI


Creating Plugins

Use the dbwarden-plugin-template to scaffold a new plugin: click Use this template, run one command, and you have a working, tested, publishable plugin with the standard layout.

Full plugin development guide: docs.dbwarden.org/plugins


Documentation

Full documentation with guides, cookbook, and API reference:
docs.dbwarden.org


Contributing

We welcome contributions to the core tool and to plugins.
Start with the core contribution guide or jump into any plugin’s issue tracker.


License

DBWarden and all official plugins are released under the MIT License.

Pinned Loading

  1. dbwarden dbwarden Public

    DBWarden is a database migration system for Python/SQLAlchemy projects

    Python 15 1

  2. dbwarden-plugin-template dbwarden-plugin-template Public template

    Template for building DBWarden plugins: project scaffolding, conformance suite, GitHub Actions CI, and PyPI publishing out of the box

    Python

  3. dbwarden-harness dbwarden-harness Public

    Standalone black-box validation harness for DBWarden releases, database backends, plugins, migrations, and schema convergence

    Python 1

  4. wlite wlite Public

    CLI and language bindings (C++, Rust, Python, Go, Zig) for libwlite. SQLite schema and migration toolkit.

    Makefile

  5. dbwarden-fastapi dbwarden-fastapi Public

    DBWarden plugin for FastAPI: session dependencies, health endpoints, migration routes, and lifespan management

    Python

  6. libwlite libwlite Public

    A small C library for SQLite schema management, migrations, and queries. Core runtime for wlite.

    C

Repositories

Loading
Type
Language
Sort
Showing 10 of 15 repositories
  • dbwarden Public

    DBWarden is a database migration system for Python/SQLAlchemy projects

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/dbwarden's past year of commit activity
    Python 15 MIT 1 0 0 Updated Oct 15, 2026
  • dbwarden-harness Public

    Standalone black-box validation harness for DBWarden releases, database backends, plugins, migrations, and schema convergence

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/dbwarden-harness's past year of commit activity
    Python 1 0 0 0 Updated Oct 10, 2026
  • dbwarden-seeds Public

    DBWarden plugin for seed data management: apply, rollback, and export seed data across environments

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/dbwarden-seeds's past year of commit activity
    Python 0 MIT 0 0 0 Updated Oct 10, 2026
  • dbwarden-plugin-template Public template

    Template for building DBWarden plugins: project scaffolding, conformance suite, GitHub Actions CI, and PyPI publishing out of the box

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/dbwarden-plugin-template's past year of commit activity
    Python 0 MIT 0 0 0 Updated Oct 10, 2026
  • web Public

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/web's past year of commit activity
    JavaScript 0 0 0 0 Updated Oct 10, 2026
  • .github Public

    DBWarden organization profile, community health files, and shared GitHub workflows

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/.github's past year of commit activity
    0 0 0 0 Updated Oct 10, 2026
  • dbwarden-fastapi Public

    DBWarden plugin for FastAPI: session dependencies, health endpoints, migration routes, and lifespan management

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/dbwarden-fastapi's past year of commit activity
    Python 0 MIT 0 0 0 Updated Oct 10, 2026
  • wlite Public

    CLI and language bindings (C++, Rust, Python, Go, Zig) for libwlite. SQLite schema and migration toolkit.

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/wlite's past year of commit activity
    Makefile 0 MIT 0 0 0 Updated Sep 5, 2026
  • libwlite Public

    A small C library for SQLite schema management, migrations, and queries. Core runtime for wlite.

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/libwlite's past year of commit activity
    C 0 MIT 0 0 0 Updated Sep 5, 2026
  • dbwarden-redis Public

    Redis-backed distributed migration locking for DBWarden

    Uh oh!

    There was an error while loading. Please reload this page.

    dbwarden-org/dbwarden-redis's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 1, 2026
View all repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Uh oh!

There was an error while loading. Please reload this page.

Most used topics

Loading…

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.