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.1469279493.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

sqlbag-0.1.1469279493-py2.py3-none-any.whl (13.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for sqlbag-0.1.1469279493.tar.gz
Algorithm Hash digest
SHA256 a5d5b4e927d9d3e98200b779eb453c2aa617c2f0eb7eecdb65b395b8e4680714
MD5 cf9d866f86fa62ca58c0c29ce72d2fba
BLAKE2b-256 d17a9853a71c9eab799df93a50a1b0a4475ba03cdf951751f5b868c3c491e416

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlbag-0.1.1469279493-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 14ccf40bffcc2521a375b2d2f574efbc9f7762cae75fcf63e408555c488968e0
MD5 246f1b5bb50c08d22d24a15dc0df36b0
BLAKE2b-256 4d562d46961118b7dd415ecaea0abafd377bbc5c3e9caffc130e005f9f210684

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