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

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

Built distribution (wheel)

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

Total release size: 24.6 kB

Release files / sqlbag-0.1.1541129705.tar.gz

Download URL sqlbag-0.1.1541129705.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c7f04895671f19b2b527e4e69c158ff14961a1cd5bb60984b11fa3b6ef85b59d
BLAKE2b-256 checksum
How to use checksums
9f99d51848bb639b159dbf335d117912cdac7298205cee6b3e872a0cfc857665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

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

Download URL sqlbag-0.1.1541129705-py2.py3-none-any.whl
Size 13.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f807cb4e3063bef7386119fa6a60e85cd97c2af03ca44249a2ecd7475961cd63
BLAKE2b-256 checksum
How to use checksums
f9ac5eb9dee2ab847ce5015f1d95f1b86d71001b17fd05aa03f85d92dd5d4b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0
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