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

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.1616397193
File Size Uploaded
sqlbag-0.1.1616397193.tar.gz 11.7 kB Details

Built distribution (wheel)

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

Total release size: 26.6 kB

Release files / sqlbag-0.1.1616397193.tar.gz

Download URL sqlbag-0.1.1616397193.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
70990c9078a748c52a0bc57194d6a319997b8f4886bdc6610f93f2cf120d84ed
BLAKE2b-256 checksum
How to use checksums
c752435abdb7a27e977b0617a945bd16c058d369bd0b0893663f5a4872a42457
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

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

Download URL sqlbag-0.1.1616397193-py2.py3-none-any.whl
Size 15.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9c6f5ea3e9b440b4f8d97bf6749e0c35d160503ab322e3133c28362877ae28f8
BLAKE2b-256 checksum
How to use checksums
de48acb41af45904ed05eff8b61e8d4d4c0c4bce5f9b25eb2b5eb32bf639ccd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
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