Skip to main content

SQLAlchemy mixins for use with Postgres.

Project description

CircleCI

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
pytest --cov

Releasing

To make a release, just update the version in setup.py and push to https://github.com/Mortar/mortar_mixins and Carthorse 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.

Source Distribution

mortar_mixins-3.0.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

mortar_mixins-3.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file mortar_mixins-3.0.0.tar.gz.

File metadata

  • Download URL: mortar_mixins-3.0.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for mortar_mixins-3.0.0.tar.gz
Algorithm Hash digest
SHA256 1e710ca00d75b7373ff506d5a74ddf1e8fb96e7ce236a42fb54a172fbcd7dd55
MD5 cec12e80b47587e405b10aa917efc027
BLAKE2b-256 1d3fe5e373e75385d1888af0d16e13f70d33efd2674d2738f2df2b4f2c3e0b05

See more details on using hashes here.

File details

Details for the file mortar_mixins-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mortar_mixins-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc02c86fc9d9f0dc478d1fa51b6174b488ff831a3db33f503bea06765940fa79
MD5 097bb0d223da2acf6351f02906537177
BLAKE2b-256 8204b504897cafc939717adc4519bd82f7f48041ca06ff2f1b2ad9f49d4aad82

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page