Store SQL queries in files
Project description
SubSQL
About
SubSQL allows you to manage your SQL queries in text files. It is inspired by and fairly similar to PugSQL and HugSQL. The main difference from PugSQL is that where PugSQL uses SQLAlchemy to interface with databases, SubSQL uses the native database drivers (e.g. psycopg2 for PostgreSQL), which provides more flexibility at the expense of having to write connectors for each individual driver.
This is alfa-quality software and the interface is likely to change.
Usage
See the tests folder for examples.
Drivers
SubSQL comes bundled with a SQLite driver. A PostgreSQL driver is also available as subsql-pg.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file subsql-0.0.1.tar.gz.
File metadata
- Download URL: subsql-0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f715e04cc720bf0c5592bac459cc8e8832d6990a74bfa674969cea6599d4a16
|
|
| MD5 |
5cad4a2468d7f03eb0e9b8eb1d7dbed3
|
|
| BLAKE2b-256 |
66ae04d0a48a2f719eaa22dd78e360e94c3b8db7f41dd2fbdcd3cf62d1b2ba76
|
File details
Details for the file subsql-0.0.1-py3-none-any.whl.
File metadata
- Download URL: subsql-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcc65fae018fd9ab178bb8a0c6ddb112b9cc010cbdd53e10f40931ab4c8e9ece
|
|
| MD5 |
5599420dc6fbf956cc1b365f12170b24
|
|
| BLAKE2b-256 |
38143935b75d246d5c04db54998e3cbe2a7e32fc45761bd36867eeb42238c7ff
|