Cuisine methods for PosgreSQL
Project description
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')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cuisine-postgresql-0.2.1.tar.gz.
File metadata
- Download URL: cuisine-postgresql-0.2.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1f1ed08205d9432a959cab6936d7b9b12128b254e4d390b0cc99c494b178072
|
|
| MD5 |
d8b40268606fe8b09ec977ea4c7743fb
|
|
| BLAKE2b-256 |
7f72237bc059e990202636719dc83f87cf1f42bb6f6bad1fe6a2f26cb84f8a35
|