Skip to main content

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


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)

Uploaded Source

Built Distribution

subsql-0.0.1-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

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