django-lightning-seed
⚡️A blazing-fast Django management command for seeding data
Installation
pip install django-lightning-seed
Then add it to your INSTALLED_APPS:
INSTALLED_APPS = [
...
"django_lightning_seed",
]
Usage
python manage.py lightning_seed
Options
| Option | Description | Default | Example |
|---|---|---|---|
--model |
Specify the model as app_label.ModelName. |
--model tests.TestUser |
|
--count |
Number of records to insert. | 100,000 | --count 50000 |
Supported Field Types
| Category | Field Types |
|---|---|
| Numeric | IntegerField, BigIntegerField, FloatField, DecimalField |
| String | CharField, TextField, SlugField, EmailField, URLField, UUIDField |
| Date / Time | DateField, DateTimeField, TimeField |
| Boolean | BooleanField |
| JSON | JSONField |
| Relationship | ForeignKey |
License
Metadata
Release files for django-lightning-seed 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_lightning_seed-1.0.0.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_lightning_seed-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.0 kB
Release files / django_lightning_seed-1.0.0.tar.gz
| Download URL | django_lightning_seed-1.0.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
024595719d61f78226ed8bbd0ae8ab36d30e9ba5751a634b98455e20bdbfd05f
|
|
BLAKE2b-256 checksum How to use checksums |
0fe558941d75ae5630d3f92880a76667857e9e260043e9def8adfb5c7772f2e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.0
|
Release files / django_lightning_seed-1.0.0-py3-none-any.whl
| Download URL | django_lightning_seed-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62238d64d5c161bf27b08abad78db8885ec8290640c01b5382dc09d84d704465
|
|
BLAKE2b-256 checksum How to use checksums |
56e5e7eea505ce0ced3cecc5f3eec387d397093855f44b88058523577d152390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.0
|