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

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.1469279493
File Size Uploaded
sqlbag-0.1.1469279493.tar.gz 9.4 kB Details

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / sqlbag-0.1.1469279493.tar.gz

Download URL sqlbag-0.1.1469279493.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a5d5b4e927d9d3e98200b779eb453c2aa617c2f0eb7eecdb65b395b8e4680714
BLAKE2b-256 checksum
How to use checksums
d17a9853a71c9eab799df93a50a1b0a4475ba03cdf951751f5b868c3c491e416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sqlbag-0.1.1469279493-py2.py3-none-any.whl
Size 13.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
14ccf40bffcc2521a375b2d2f574efbc9f7762cae75fcf63e408555c488968e0
BLAKE2b-256 checksum
How to use checksums
4d562d46961118b7dd415ecaea0abafd377bbc5c3e9caffc130e005f9f210684
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