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

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.1579049654
File Size Uploaded
sqlbag-0.1.1579049654.tar.gz 11.5 kB Details

Built distribution (wheel)

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

Total release size: 26.2 kB

Release files / sqlbag-0.1.1579049654.tar.gz

Download URL sqlbag-0.1.1579049654.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bf1aba13a062b0ef61d37ab6f4aa8808bc4bd830e0c14178238ac8185d298f42
BLAKE2b-256 checksum
How to use checksums
002a39299296352f561cfa20ccd579cfafaf9bdb3df0626959a57c2c2b7042d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

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

Download URL sqlbag-0.1.1579049654-py2.py3-none-any.whl
Size 14.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4beaffcd9335cb2f71c2f82a0e783da888f1a54c932b6e59d54f300cb062bc39
BLAKE2b-256 checksum
How to use checksums
ecadac257da1c9c63c0a2bb44c77b5fe7a146eea7b1c2be2b251cb0c2c1f8e0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
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