Skip to main content

No project description provided

Project description

image

DBS

Getting started

Installation:

pip install dbs

Run with:

python3 -m dbs.query

Using

Execute one query:

python3 -m dbs.query 'sqlite://:inmemory:' 'sqls/select.sql'

Pipe commands together:

export DB_HOST='sqlite://:inmemory:'
python3 -m dbs.query $DB_HOST 'sqls/create.sql'
python3 -m dbs.query $DB_HOST 'sqls/select_table_1.sql' | python3 -m dbs.query $DB_HOST 'sqls/select_table_2.sql'

How to contribute

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

dbs-0.1.5.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

dbs-0.1.5-py3-none-any.whl (3.4 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