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

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.1481109923
File Size Uploaded
sqlbag-0.1.1481109923.tar.gz 9.5 kB Details

Built distribution (wheel)

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

Total release size: 23.1 kB

Release files / sqlbag-0.1.1481109923.tar.gz

Download URL sqlbag-0.1.1481109923.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c01c9f29adbaa07f440c69e4c6063794c887d85954b3d65303efbbe8e06f8f92
BLAKE2b-256 checksum
How to use checksums
ec04ca5c5a148bec0ce17edd3a93015b8c09c77b2ecfeb7434f791397c930623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sqlbag-0.1.1481109923-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6574fe99a6c3333f605eaf656f5ef055e9935183ac52f8eabf89bdfc098015c7
BLAKE2b-256 checksum
How to use checksums
be0e8af0e0f23fd556bc45c6df3bbe01fc08f62dfbab4faceb1f5770142c07f6
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