Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Cuisine methods for PosgreSQL

Project description

Important

This project is no longer being maintained!

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.

Files for cuisine-postgresql, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size cuisine-postgresql-0.2.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page