Skip to main content

sqlbag: various sql boilerplate

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]

Metadata

Release files for sqlbag 0.1.1617247075

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlbag 0.1.1617247075
File Size Uploaded
sqlbag-0.1.1617247075.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlbag 0.1.1617247075
File Interpreter ABI Platform
sqlbag-0.1.1617247075-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 26.6 kB

Release files / sqlbag-0.1.1617247075.tar.gz

Download URL sqlbag-0.1.1617247075.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b9d7862c3b2030356d796ca872907962fd54704066978d7ae89383f5123366ed
BLAKE2b-256 checksum
How to use checksums
076f46171ef9ef6d177b94dff96e6403c7fb7466de5c9ee767b0218a21945fdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / sqlbag-0.1.1617247075-py2.py3-none-any.whl

Download URL sqlbag-0.1.1617247075-py2.py3-none-any.whl
Size 15.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ecdef26d661f8640711030ac6ee618deb92b91f9f0fc2efbf8a3b133af13092d
BLAKE2b-256 checksum
How to use checksums
27c81d4bd038d4b34f3810fd8ab70a48cc6f3d2373666f2797f0298a97b088c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page