Skip to content

djrobstep/sqlbag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlbag: various sql boilerplate

This is just a collection of handy code for doing database things.

What is in the box

Connections, flask setup, SQLAlchemy ORM helpers, temporary database setup and teardown (handy for integration tests).

Installation

Simply install with pip:

$ pip install sqlbag

If you want you can install the database drivers you need at the same time, by specifying one of the optional bundles.

If you're using postgres, this installs sqlbag and psycopg2:

$ pip install sqlbag[pg]

If you're installing MySQL/MariaDB then this installs pymysql as well:

$ pip install sqlbag[maria]

About

Handy python code for doing database things.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published