cuisine-postgresql provides cuisine-style PostgreSQL management commands.
Installation
pip install cuisine-postgresql
Usage
from cuisine_postgresql import (postgresql_role_ensure,
postgresql_database_ensure)
@task
def configure_database():
postgresql_role_ensure('user', 'pass', createdb=True)
postgresql_database_ensure('database',
owner='user',
template='template0',
encoding='UTF8')
Release files for cuisine-postgresql 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cuisine-postgresql-0.2.1.tar.gz | 4.2 kB | Details |
Release files / cuisine-postgresql-0.2.1.tar.gz
| Download URL | cuisine-postgresql-0.2.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1f1ed08205d9432a959cab6936d7b9b12128b254e4d390b0cc99c494b178072
|
|
BLAKE2b-256 checksum How to use checksums |
7f72237bc059e990202636719dc83f87cf1f42bb6f6bad1fe6a2f26cb84f8a35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |