Skip to main content

Interactive TUI database seeder

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.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-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

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

Hashes for copia_seed-0.1.1.tar.gz
Algorithm Hash digest
SHA256 28d5f03c5c3d1ac7a2c7706e6b4174ff664928ce938eb25ac7a77dfaf0d3cb9e
MD5 688c72ad8ce05b3be15cb39362587ed0
BLAKE2b-256 43fdb318a1094f0cc1824417dfd2305a1fb64a5eee96f4247f1b5a716d1b661c

See more details on using hashes here.

Provenance

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

Hashes for copia_seed-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88608531e0a12d95d07e8d84867d69240dda1d804eee02f0c0735f248e9ed79c
MD5 4977f36d335cdd3d00c2b77bd5e4cd41
BLAKE2b-256 aece9f0976a8a740264d5a13268d15c379cf7629e279c100ed4e8aa589455a2b

See more details on using hashes here.

Provenance

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