Skip to main content

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.1487823788

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.1487823788
File Size Uploaded
sqlbag-0.1.1487823788.tar.gz 9.5 kB Details

Built distribution (wheel)

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

Total release size: 23.3 kB

Release files / sqlbag-0.1.1487823788.tar.gz

Download URL sqlbag-0.1.1487823788.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6cca8d56cdd7eabb19dfdccb9937c311345bb3e433728c1511e990dd207ebe5e
BLAKE2b-256 checksum
How to use checksums
4288d565bc031ba8bbfc602e082b694fbf1c7648ca75cd66b7e06c1607fdbc66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sqlbag-0.1.1487823788-py2.py3-none-any.whl
Size 13.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
16c607da97ebacbca5640b7d0ed36dedbd82bccf9cb0d9c4cee34db08bf7abdc
BLAKE2b-256 checksum
How to use checksums
93d7e07fcdcd70ccfaaccb576bad5a815cb9eac1cce7d8a50e5c21081f92b189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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