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.1533877735.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

sqlbag-0.1.1533877735-py2.py3-none-any.whl (13.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sqlbag-0.1.1533877735.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sqlbag-0.1.1533877735.tar.gz
Algorithm Hash digest
SHA256 02175060fe0c36f8375d1aaa81b1fc4e6f37019c822838e37b433c73d68a773c
MD5 64e78b06da300a13748e175443f9c89b
BLAKE2b-256 16292f1ed48be1f311260676ef1bd61617daec5f7117101e0624f7f47271e966

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqlbag-0.1.1533877735-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for sqlbag-0.1.1533877735-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcd2e233fd736830e933914daaa6660930d99f016585c27cebf6c8452f512237
MD5 2ebb86414d7e9febda1702f634f31b2d
BLAKE2b-256 7c9b836ca1f9011e0c44ed24ad57c57846117393bf78fc24429bbc9c8636e331

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