This command-line tool reads django settings, then connects to configured postgresql server as superuser, and tries to create the database and user with password, according to the django settings.
Installation
pip install pginit
Usage
You can either set DJANGO_SETTINGS_MODULE environment variable, or specify settings module path in the first command-line argument.
pginit path.to.settings
Metadata
Release files for pginit 0.6
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 |
|---|---|---|---|---|
| pginit-0.6.tar.gz | 2.9 kB | Without provenance | Details for pginit-0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pginit-0.6-py3-none-any.whl | Python 3 | none | any | Details for pginit-0.6-py3-none-any.whl |
Total release size: 6.2 kB
Release files / pginit-0.6.tar.gz
| Download URL | pginit-0.6.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
060b3194d9c830818c28b36c744c3c1da7a93d1b967c011b52c2e822e2fd45da
|
|
BLAKE2b-256 checksum How to use checksums |
453d7069ea79737849799b83bda2b0f0cedc6b00fbe67cf23e7c5cc59fb2a25a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / pginit-0.6-py3-none-any.whl
| Download URL | pginit-0.6-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b41c207e0ce80757711aaf7ace61dd38980c25a59821c1760dbfca1ad286b37
|
|
BLAKE2b-256 checksum How to use checksums |
a0300a30b19f1c2700ddd8b8c6eba12161a723c1d66dff5a352a638534bc1a43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for pginit 0.6
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.