Skip to content

CSNW/cuisine-postgresql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

cuisine-style PostgreSQL management commands.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%