Skip to main content

SQLAlchemy mixins for use with Postgres.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mortar_mixins-2.3.1-py2.py3-none-any.whl (7.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jan 24, 2018
mortar_mixins-2.3.1.tar.gz (14.0 kB) Copy SHA256 hash SHA256 Source None Jan 24, 2018

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page