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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for sqlbag-0.1.1617247075-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecdef26d661f8640711030ac6ee618deb92b91f9f0fc2efbf8a3b133af13092d |
|
MD5 | 7f5aa140b408f6397b872a3a84c184ad |
|
BLAKE2b-256 | 27c81d4bd038d4b34f3810fd8ab70a48cc6f3d2373666f2797f0298a97b088c9 |