Skip to content

SQLAlchemy mixins for use with Postgres.

License

Notifications You must be signed in to change notification settings

cjw296/mortar_mixins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis_ Coveralls_

mortar_mixins

SQLAlchemy mixins for use with Postgres 9.2+.

Install from PyPI with pip.

Development

Get a clone of the git repo and then do the following:

virtualenv .
bin/pip install -e .[build,test]

sudo -u postgres psql -d postgres -c "create user testuser with password 'testpassword';"
sudo -u postgres createdb -O testuser testdb
sudo -u postgres psql -d testdb -c "CREATE EXTENSION btree_gist;"

export DB_URL=postgres://testuser:testpassword@localhost:5432/testdb
bin/nosetests --with-cov --cov=mortar_mixins

Releasing

To make a release, just update the version in setup.py, tag it and push to https://github.com/Mortar/mortar_mixins and Travis CI should take care of the rest.

About

SQLAlchemy mixins for use with Postgres.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%