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

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.1533877735
File Size Uploaded
sqlbag-0.1.1533877735.tar.gz 10.8 kB Details

Built distribution (wheel)

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

Total release size: 24.7 kB

Release files / sqlbag-0.1.1533877735.tar.gz

Download URL sqlbag-0.1.1533877735.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
02175060fe0c36f8375d1aaa81b1fc4e6f37019c822838e37b433c73d68a773c
BLAKE2b-256 checksum
How to use checksums
16292f1ed48be1f311260676ef1bd61617daec5f7117101e0624f7f47271e966
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.1533877735-py2.py3-none-any.whl

Download URL sqlbag-0.1.1533877735-py2.py3-none-any.whl
Size 13.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fcd2e233fd736830e933914daaa6660930d99f016585c27cebf6c8452f512237
BLAKE2b-256 checksum
How to use checksums
7c9b836ca1f9011e0c44ed24ad57c57846117393bf78fc24429bbc9c8636e331
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