Skip to main content

various snippets of SQL-related boilerplate

Project description

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]

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

sqlbag-0.1.1487823788.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

sqlbag-0.1.1487823788-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sqlbag-0.1.1487823788.tar.gz.

File metadata

File hashes

Hashes for sqlbag-0.1.1487823788.tar.gz
Algorithm Hash digest
SHA256 6cca8d56cdd7eabb19dfdccb9937c311345bb3e433728c1511e990dd207ebe5e
MD5 8007c3c080d031e1553b16719a972f65
BLAKE2b-256 4288d565bc031ba8bbfc602e082b694fbf1c7648ca75cd66b7e06c1607fdbc66

See more details on using hashes here.

File details

Details for the file sqlbag-0.1.1487823788-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sqlbag-0.1.1487823788-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 16c607da97ebacbca5640b7d0ed36dedbd82bccf9cb0d9c4cee34db08bf7abdc
MD5 ae4acdb7a230faa3b4fa5f742920ca1a
BLAKE2b-256 93d7e07fcdcd70ccfaaccb576bad5a815cb9eac1cce7d8a50e5c21081f92b189

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