Skip to main content

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

cuisine-postgresql-0.2.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file cuisine-postgresql-0.2.1.tar.gz.

File metadata

File hashes

Hashes for cuisine-postgresql-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b1f1ed08205d9432a959cab6936d7b9b12128b254e4d390b0cc99c494b178072
MD5 d8b40268606fe8b09ec977ea4c7743fb
BLAKE2b-256 7f72237bc059e990202636719dc83f87cf1f42bb6f6bad1fe6a2f26cb84f8a35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page