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

Uploaded Source

Built Distribution

sqlbag-0.1.1579049654-py2.py3-none-any.whl (14.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sqlbag-0.1.1579049654.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for sqlbag-0.1.1579049654.tar.gz
Algorithm Hash digest
SHA256 bf1aba13a062b0ef61d37ab6f4aa8808bc4bd830e0c14178238ac8185d298f42
MD5 47ea72fd8d1b0b6244bb86cb5c5c08a6
BLAKE2b-256 002a39299296352f561cfa20ccd579cfafaf9bdb3df0626959a57c2c2b7042d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqlbag-0.1.1579049654-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for sqlbag-0.1.1579049654-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4beaffcd9335cb2f71c2f82a0e783da888f1a54c932b6e59d54f300cb062bc39
MD5 708009644eb14d38537fdf7f4ad630f2
BLAKE2b-256 ecadac257da1c9c63c0a2bb44c77b5fe7a146eea7b1c2be2b251cb0c2c1f8e0c

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