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

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.1510721564
File Size Uploaded
sqlbag-0.1.1510721564.tar.gz 10.7 kB Details

Built distribution (wheel)

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

Total release size: 25.8 kB

Release files / sqlbag-0.1.1510721564.tar.gz

Download URL sqlbag-0.1.1510721564.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7ccb5d48f510a9e789332fca549472f6bef5637f491ef3449bfe74338948d129
BLAKE2b-256 checksum
How to use checksums
d4208668a25569d41727f8f0e418321e0d069a5ac52c9353d71d0a1a9fa0da4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sqlbag-0.1.1510721564-py2.py3-none-any.whl
Size 15.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d3c7e960adc342e0de3cd054dfbd600bbcaca5c09e72387d69c656339b3db599
BLAKE2b-256 checksum
How to use checksums
b0b8e8178f7598b51e2ccc5f6c9621aa6a9a182752c5ef2e2f5a553b69003510
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