Skip to content
This repository has been archived by the owner on Feb 17, 2018. It is now read-only.
/ cuisine-postgresql Public archive

This project is no longer being maintained!

License

Notifications You must be signed in to change notification settings

muhuk/cuisine-postgresql

Repository files navigation

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')

About

This project is no longer being maintained!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages