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 details)

Uploaded Source

Built Distribution

dbs-0.1.5-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file dbs-0.1.5.tar.gz.

File metadata

  • Download URL: dbs-0.1.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for dbs-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ea3797ceb067795df750c66912c3645ec85c9d6a381ecc5454fa4f6d8cea613b
MD5 9cd8a4c95a8d356f02d7b3c1fabb5b30
BLAKE2b-256 a2eaa2f5dec375e0b84ff566df01898758ff72e0385f0bdd2dbd179ed2bf8dbb

See more details on using hashes here.

File details

Details for the file dbs-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: dbs-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for dbs-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 09441dd4496bddd36f51f537546f1a187c9c18c8f665ffdf89db5e81ccb76f8f
MD5 1f4e4bba1c7c3720e16e3052b9a1a226
BLAKE2b-256 d728a41bd8e8354f6e7db3d4789fb34fde8d25e527e341cae9002e62f1cac438

See more details on using hashes here.

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