Templated Abstract Polymorphic Database - A flexible object model library
Project description
daylily-tapdb
daylily-tapdb is the shared persistence layer used by Bloom, Atlas, Dewey, and Ursa.
It provides:
- a template-driven polymorphic object model
- TapDB-managed database/bootstrap workflows
- lineage and audit primitives
- Meridian EUID-backed public identifiers
- a Typer-based operational CLI
- an optional FastAPI admin UI package
Repository Role
Use this repo when you need to:
- bootstrap or reset a TapDB-backed environment
- work with core template and instance models
- embed or run the TapDB admin UI
- validate namespace config, schema, data seeding, or Aurora support
Primary Python package: daylily_tapdb
Main CLI Surface
Entry command: tapdb
Primary groups:
tapdb bootstrap: one-command local or Aurora bootstraptapdb ui: admin UI start, stop, status, logs, mkcerttapdb config: namespace config initialization and migration helperstapdb db: database, schema, data, and config validation commandstapdb pg: local PostgreSQL service commandstapdb user: TapDB admin/auth user managementtapdb cognito: Cognito/daycog integration helperstapdb aurora: Aurora cluster management when installed with.[aurora]
Data Model
The core operational tables are:
generic_templategeneric_instancegeneric_instance_lineageaudit_logoutbox_event
TapDB uses uid for internal joins and EUIDs for public-facing identity.
tenant_id is the logical isolation key on templates, instances, lineage, audit, and outbox rows.
Installation
Default install:
pip install daylily-tapdb
Common dev install:
python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e ".[admin,dev,cli]"
Optional convenience wrapper:
source tapdb_activate.sh
Quick Start
Initialize a strict namespace and bootstrap a local stack:
export TAPDB_CLIENT_ID=tapdb
export TAPDB_DATABASE_NAME=tapdb
export TAPDB_ENV=dev
tapdb config init --client-id "$TAPDB_CLIENT_ID" --database-name "$TAPDB_DATABASE_NAME" --env dev --db-port dev=5533 --ui-port dev=8911
tapdb bootstrap local
Admin UI
The admin UI is optional and ships with the admin extra.
Key modes:
- native TapDB auth
- shared host-app auth
- auth-disabled local development
See the embedding guide for the current supported patterns.
Timezone Policy
- persisted timestamps are UTC
- user display timezone preference lives in TapDB-backed
system_userpreferences - canonical preference key:
display_timezone
Current Docs
Historical execution plans and breaking-change notes remain in docs/ for background only.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file daylily_tapdb-0.1.38.tar.gz.
File metadata
- Download URL: daylily_tapdb-0.1.38.tar.gz
- Upload date:
- Size: 238.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c194278ca64846d492d4b796bef6bbd4835fc4933faea0d99fa8eee74d0e17bb
|
|
| MD5 |
6f6377d85d17ba133460689d5d765129
|
|
| BLAKE2b-256 |
b451855dd927203307c97ad9318bf1cb7f5d7f5515b7d41e12100ebf31c362f5
|
File details
Details for the file daylily_tapdb-0.1.38-py3-none-any.whl.
File metadata
- Download URL: daylily_tapdb-0.1.38-py3-none-any.whl
- Upload date:
- Size: 184.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b83614b604f59fbb67605c924859f867721a172d9cba084ce078daa56482a997
|
|
| MD5 |
f9e73c44c7cbcce7adb31c424f73aa55
|
|
| BLAKE2b-256 |
182ef056c00307d0bb4cd754cfa0228df0b320072650e5a634c5d102c4856237
|