Skip to main content

dbwarden-seeds

Python PyPI CI

Seed data management for dbwarden.

Backs the dbwarden seed command group. Without this plugin those commands tell you to install it; with it installed they work unchanged.

Hooks

Hook Command
seed_create dbwarden seed create: scaffold a versioned SQL or Python seed
seed_apply dbwarden seed apply: apply pending file and code seeds, tracked by checksum
seed_list dbwarden seed list: show seed status, with --prune for orphaned records
seed_rollback dbwarden seed rollback: roll back seed tracking records
seed_export dbwarden seed export: render code seeds to replayable ROC__*.sql files

seed_apply also runs after dbwarden migrate --apply-seeds, and covers both file seeds (seeds/V0001__*.sql) and code seeds (Seed subclasses discovered from your models).

Code seeds must declare a permanent version such as __seed_version__ = "C0001". Never change or reuse a released code-seed version; add a new class with the next version instead.

Installation

dbwarden plugin add dbwarden-seeds

Trust tier

This is an official dbwarden plugin. Its distribution name is classified before any of its code is imported, and dbwarden plugin add verifies the PyPI Trusted-Publishing attestation (PEP 740) against dbwarden-org/dbwarden-seeds before installing. It loads automatically once installed, with no dbwarden plugin trust step.

Development

uv venv && uv pip install -e . -e ../dbwarden pytest
pytest -q

The tests/test_conformance.py suite runs dbwarden's shared conformance harness (dbwarden.plugin_conformance): entry point resolution, no import-time side effects, hook signatures, public-API-only imports, and idempotent setup().

License

MIT

Release files for dbwarden-seeds 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbwarden-seeds 0.1.2
File Size Uploaded
dbwarden_seeds-0.1.2.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dbwarden-seeds 0.1.2
File Interpreter ABI Platform
dbwarden_seeds-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.6 kB

Release files / dbwarden_seeds-0.1.2.tar.gz

Download URL dbwarden_seeds-0.1.2.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b93ac6ac958c4ae67678b1da194dfc0bb08184883dcc9749b947d8aec0d9d773
BLAKE2b-256 checksum
How to use checksums
108bb7de4da7531232b95466a3bb73185201fa2f39924a61e280f80b6a205570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release files / dbwarden_seeds-0.1.2-py3-none-any.whl

Download URL dbwarden_seeds-0.1.2-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2ad99590bbc9351016c81716fcd2f9ff8e0f78c485aabf5b2177263d107c31f
BLAKE2b-256 checksum
How to use checksums
7f2553d7c1ef41b43fbd2e9b57622892371195fc5d9a4ff2fdc5f2962add6d22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page