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

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.1481109818
File Size Uploaded
sqlbag-0.1.1481109818.tar.gz 9.4 kB Details

Built distribution (wheel)

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

Total release size: 23.0 kB

Release files / sqlbag-0.1.1481109818.tar.gz

Download URL sqlbag-0.1.1481109818.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dd0cad69f41a7c49618395ecdb7adbbba04c9b258c690f8c2989b701fe487f64
BLAKE2b-256 checksum
How to use checksums
547b4092efbae57d5191c085da5a6ee23e09cf32ffc13122ea2e7a124d5bd42d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sqlbag-0.1.1481109818-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0f98257242f35fbc31bfcaa75be9abef63178ceb311201d292176c15c6d69a05
BLAKE2b-256 checksum
How to use checksums
0617ebbb5d635e627fc3ca7b9c61200ae2de6caaf58d4d2eb5fe5f1489b580ed
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