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

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.1530756414
File Size Uploaded
sqlbag-0.1.1530756414.tar.gz 10.8 kB Details

Built distribution (wheel)

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

Total release size: 24.7 kB

Release files / sqlbag-0.1.1530756414.tar.gz

Download URL sqlbag-0.1.1530756414.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6a8481a8e39643525b59d6a2f18d6fff81e9d76fcde7472acc5308938ef851ee
BLAKE2b-256 checksum
How to use checksums
993171b6a9bf5c5a8e4fb25b20aabba0a2384d19b70499e8c12f0b54af1b12e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sqlbag-0.1.1530756414-py2.py3-none-any.whl
Size 13.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d6ae5e9eca0af302d93f622c34dc792e7e9562a3d51fad95da83fce51707a7ef
BLAKE2b-256 checksum
How to use checksums
bee58fb636b241dee76734918deb55ea6d82c1bb548e082051438f57e128bad3
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