Skip to main content

Interactive TUI database seeder

Reason this release was yanked:

configuration problems with hatcling

Project description

Copia logo

Copia

CI PyPI Python License Docs Ruff


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-awareref('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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

copia_seed-0.1.1.dev0.tar.gz (136.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

copia_seed-0.1.1.dev0-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file copia_seed-0.1.1.dev0.tar.gz.

File metadata

  • Download URL: copia_seed-0.1.1.dev0.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

Hashes for copia_seed-0.1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 e642b92513373c0e2b3739e2fc588ee93210ce3a1b077d890b5042e0c6395a66
MD5 4a1bc66e326b076b703e2f19837bea3c
BLAKE2b-256 f27ef1aafba65d8ab2d5d63d4068b6ba9aa4cba22ec598696e0dcce026d46c7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for copia_seed-0.1.1.dev0.tar.gz:

Publisher: release.yml on gitmobkab/copia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file copia_seed-0.1.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: copia_seed-0.1.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for copia_seed-0.1.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cbaa85f4f2a9a68aac16213182c97cd2586304b111ee21b58eef417c2f94792
MD5 1b65885531f92a12e515c8e500fd6263
BLAKE2b-256 bc778f3124c947c79c954eb8373d2c94cfcfd77c4f6e89f97b0d712843c21ec1

See more details on using hashes here.

Provenance

The following attestation bundles were made for copia_seed-0.1.1.dev0-py3-none-any.whl:

Publisher: release.yml on gitmobkab/copia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page