Interactive TUI database seeder
Project description
Copia
Seed your database without the hassle.
Most frameworks either ship a seeder with questionable decisions, or don't ship one at all. Copia is a TUI-based database seeder with its own declarative language — you describe what data you want, column by column, and Copia generates and inserts it.
id: uuid()
username: username()
email: email(safe=True)
role: enum('admin', 'editor', 'viewer')
created_at: past_date()
Features
- Simple language — if you know what a function call looks like, you know the Copia DSL
- Realistic data — built on Faker, 25+ generators out of the box
- Relational-aware —
ref('table.column')samples from existing rows, so foreign keys just work - Interactive TUI — write, preview, and insert without leaving your terminal
- Extensible — add your own generators with a single function
Installation
pip install copia
Requires Python 3.13+. MySQL and MariaDB are supported.
Quickstart
copia init # generate a config template
copia # launch the TUI
Documentation
→ the official copia documentation is available here
License
MIT
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 copia_seed-0.1.1.tar.gz.
File metadata
- Download URL: copia_seed-0.1.1.tar.gz
- Upload date:
- Size: 136.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28d5f03c5c3d1ac7a2c7706e6b4174ff664928ce938eb25ac7a77dfaf0d3cb9e
|
|
| MD5 |
688c72ad8ce05b3be15cb39362587ed0
|
|
| BLAKE2b-256 |
43fdb318a1094f0cc1824417dfd2305a1fb64a5eee96f4247f1b5a716d1b661c
|
Provenance
The following attestation bundles were made for copia_seed-0.1.1.tar.gz:
Publisher:
release.yml on gitmobkab/copia
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
copia_seed-0.1.1.tar.gz -
Subject digest:
28d5f03c5c3d1ac7a2c7706e6b4174ff664928ce938eb25ac7a77dfaf0d3cb9e - Sigstore transparency entry: 1341755977
- Sigstore integration time:
-
Permalink:
gitmobkab/copia@d82c0f4c12d9bd3f7d46ad3f042eefce1caf2424 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/gitmobkab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d82c0f4c12d9bd3f7d46ad3f042eefce1caf2424 -
Trigger Event:
push
-
Statement type:
File details
Details for the file copia_seed-0.1.1-py3-none-any.whl.
File metadata
- Download URL: copia_seed-0.1.1-py3-none-any.whl
- Upload date:
- Size: 39.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88608531e0a12d95d07e8d84867d69240dda1d804eee02f0c0735f248e9ed79c
|
|
| MD5 |
4977f36d335cdd3d00c2b77bd5e4cd41
|
|
| BLAKE2b-256 |
aece9f0976a8a740264d5a13268d15c379cf7629e279c100ed4e8aa589455a2b
|
Provenance
The following attestation bundles were made for copia_seed-0.1.1-py3-none-any.whl:
Publisher:
release.yml on gitmobkab/copia
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
copia_seed-0.1.1-py3-none-any.whl -
Subject digest:
88608531e0a12d95d07e8d84867d69240dda1d804eee02f0c0735f248e9ed79c - Sigstore transparency entry: 1341755991
- Sigstore integration time:
-
Permalink:
gitmobkab/copia@d82c0f4c12d9bd3f7d46ad3f042eefce1caf2424 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/gitmobkab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d82c0f4c12d9bd3f7d46ad3f042eefce1caf2424 -
Trigger Event:
push
-
Statement type: