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

Uploaded Source

Built Distribution

sqlbag-0.1.1481109923-py2.py3-none-any.whl (13.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for sqlbag-0.1.1481109923.tar.gz
Algorithm Hash digest
SHA256 c01c9f29adbaa07f440c69e4c6063794c887d85954b3d65303efbbe8e06f8f92
MD5 0c020f83718238c9615a7f014da8c906
BLAKE2b-256 ec04ca5c5a148bec0ce17edd3a93015b8c09c77b2ecfeb7434f791397c930623

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlbag-0.1.1481109923-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6574fe99a6c3333f605eaf656f5ef055e9935183ac52f8eabf89bdfc098015c7
MD5 f7ab25f5f5c479da3310200a16ac2688
BLAKE2b-256 be0e8af0e0f23fd556bc45c6df3bbe01fc08f62dfbab4faceb1f5770142c07f6

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