pablo
a mediocre fixture generator for django
Installation
pip install django-pablo
Setup
- Add
pabloinsettings.pyof your django project
INSTALLED_APPS = (
'django_prometheus',
'rest_framework',
'django.contrib.contenttypes',
'django.contrib.auth',
'pablo'
)
- just run
python manage.py pablo app_name.ModelName --limit 1 -v 1
Usage
usage: manage.py pablo [-h] [-l LIMIT] [-e EXCLUDE] [--debug] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color]
[--force-color]
[app_label[.ModelName] ...]
Generate (sometimes)meaningful fixtures for your django project
positional arguments:
app_label[.ModelName]
Restricts fixture to the specified app_label or app_label.ModelName
optional arguments:
-h, --help show this help message and exit
-l LIMIT, --limit LIMIT
Limit number of fixtures generated for a model
-e EXCLUDE, --exclude EXCLUDE
An app_label or app_label.ModelName to exclude (use multiple --exclude to exclude multiple apps/models)
--debug Enable verbosity with --debug flag
--version show program's version number and exit
-v {0,1,2,3}, --verbosity {0,1,2,3}
Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
Sample
Metadata
Release files for django-pablo 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-pablo-0.2.tar.gz | 4.1 kB | Without provenance | Details for django-pablo-0.2.tar.gz |
Release files / django-pablo-0.2.tar.gz
| Download URL | django-pablo-0.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe505e0499a7f5f07a0a265190acb93f999f06333525fe120a7ab142cb2c9416
|
|
BLAKE2b-256 checksum How to use checksums |
9ff6f15c26225d5bef79fb3c172ae51fa691b31ef51cab3241dbb26c4719da69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.5
|
Security for django-pablo 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.