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.1510721564.tar.gz
(10.7 kB
view details)
Built Distribution
File details
Details for the file sqlbag-0.1.1510721564.tar.gz
.
File metadata
- Download URL: sqlbag-0.1.1510721564.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ccb5d48f510a9e789332fca549472f6bef5637f491ef3449bfe74338948d129 |
|
MD5 | 353a1b09046cc9c0a2360d3459293443 |
|
BLAKE2b-256 | d4208668a25569d41727f8f0e418321e0d069a5ac52c9353d71d0a1a9fa0da4d |
File details
Details for the file sqlbag-0.1.1510721564-py2.py3-none-any.whl
.
File metadata
- Download URL: sqlbag-0.1.1510721564-py2.py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c7e960adc342e0de3cd054dfbd600bbcaca5c09e72387d69c656339b3db599 |
|
MD5 | b6613504ccf06b7a725d02ef8b6279a9 |
|
BLAKE2b-256 | b0b8e8178f7598b51e2ccc5f6c9621aa6a9a182752c5ef2e2f5a553b69003510 |