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
subsql-0.0.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
subsql-0.0.1-py3-none-any.whl
(8.2 kB
view hashes)