Skip to main content

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)

Source distribution for pginit 0.6
File Size Uploaded
pginit-0.6.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pginit 0.6
File Interpreter ABI Platform
pginit-0.6-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page