Skip to main content

A package to make seeds for some relational databases

Project description

Seeder for Mysql

gh-action-pip-audit

Load database then make seeds for it

Usage

db = Database(host="localhost", user="root", password="", database="seed")
# Make seed without deleting the existence data
db.makeSeed(rows_num=100000)
# Delete data, then make seeds
db.clearAndMakeSeed(rows_num=100000)

TODO

  • Load relationship
  • Add test
  • Add argparser

Test

python -m pytest

Packing

https://packaging.python.org/en/latest/tutorials/packaging-projects/

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

database_seeder-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

database_seeder-0.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file database_seeder-0.0.1.tar.gz.

File metadata

  • Download URL: database_seeder-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for database_seeder-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4cdd4e924a726905d9cef8f86ecec5e14a891b087aa548543721f430810aeab4
MD5 6b5ce26a92bd50ecbb7b47de579dd49a
BLAKE2b-256 5aaa8d1030eb9b7c45fe9a65fabdb72620d1175ad4f4b56c258ec3a5a3275a58

See more details on using hashes here.

File details

Details for the file database_seeder-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for database_seeder-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d83147b654bacf2d7afd62e75f822c3796c9d6ff90d8d3414a0482ce3b67b4
MD5 a3fbd285c871070f03fd310a603e9481
BLAKE2b-256 e17136000538582f1378981d4e401d7255896028905c95aabd7e113601c0ee4c

See more details on using hashes here.

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