Skip to main content

Interactive TUI database seeder

Reason this release was yanked:

bad version semantic

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.0.post1.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.0.post1.dev0-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file copia_seed-0.1.0.post1.dev0.tar.gz.

File metadata

  • Download URL: copia_seed-0.1.0.post1.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.0.post1.dev0.tar.gz
Algorithm Hash digest
SHA256 4d9097104b63384229fcdae0879a24e4751d3ff23270513654135220ca88a3a5
MD5 385794ef084fdaa1aba3aecba9d71060
BLAKE2b-256 600416e174ba5e569cc1fdd46259cad96a09a558cef773f545dc77f9dc16295a

See more details on using hashes here.

Provenance

The following attestation bundles were made for copia_seed-0.1.0.post1.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.0.post1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for copia_seed-0.1.0.post1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed375ceaad26f67e3bf6a69a67e0e68ffbd2363430adb8bd19cd6d32fa5b46b
MD5 348fb78088016f34c7be99419a833394
BLAKE2b-256 e7c5b8df0beac6f0ab5184b5f93069c8121bc010d471e4afee80ebbb5acf75d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for copia_seed-0.1.0.post1.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