Skip to main content

various snippets of SQL-related boilerplate

Project description

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]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlbag-0.1.1617247075.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

sqlbag-0.1.1617247075-py2.py3-none-any.whl (15.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sqlbag-0.1.1617247075.tar.gz.

File metadata

  • Download URL: sqlbag-0.1.1617247075.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for sqlbag-0.1.1617247075.tar.gz
Algorithm Hash digest
SHA256 b9d7862c3b2030356d796ca872907962fd54704066978d7ae89383f5123366ed
MD5 0c77f63d5bd097e24e68e9348b686048
BLAKE2b-256 076f46171ef9ef6d177b94dff96e6403c7fb7466de5c9ee767b0218a21945fdb

See more details on using hashes here.

File details

Details for the file sqlbag-0.1.1617247075-py2.py3-none-any.whl.

File metadata

  • Download URL: sqlbag-0.1.1617247075-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for sqlbag-0.1.1617247075-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ecdef26d661f8640711030ac6ee618deb92b91f9f0fc2efbf8a3b133af13092d
MD5 7f5aa140b408f6397b872a3a84c184ad
BLAKE2b-256 27c81d4bd038d4b34f3810fd8ab70a48cc6f3d2373666f2797f0298a97b088c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page