Skip to main content

dbcl - Database Command Line

Build Status Maintainability

An engine-agnostic database command line interface.

Installation

Use pip to install the dbcl tool:

pip install dbcl

Also install the necessary packages for your database, for example: cx_Oracle, pg8000 or PyMySQL.

Database connection

Database connections are specified using SQLAlchemy database URLs. The database URL can be given as an argument to the dbcl command:

dbcl sqlite:///database.db

If the URL isn't given as an argument, a prompt will ask for the URL to use for the connection:

$ dbcl
Connect to [sqlite:///database.db]:

If the DATABASE_URL environmental variable is set, that value will be the default for the database prompt:

$ export DATABASE_URL=sqlite:///database.db
$ dbcl
Connect to [sqlite:///database.db]:

Example of a connection to a PostgreSQL database using wht pg8000 package:

dbcl postgresql+pg8000://username:password@127.0.0.1:5432/dbname

Metadata

Release files for dbcl 0.1.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbcl 0.1.27
File Size Uploaded Provenance Actions
dbcl-0.1.27.tar.gz 4.1 kB Without provenance Details for dbcl-0.1.27.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbcl 0.1.27
File Interpreter ABI Platform Actions
dbcl-0.1.27-py3-none-any.whl Python 3 none any Details for dbcl-0.1.27-py3-none-any.whl

Total release size: 8.3 kB

Release files / dbcl-0.1.27.tar.gz

Download URL dbcl-0.1.27.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f3ba1f2552f9c0ecdcc891c7717bc9ef45339f5f40d0af0c6f873ee9a7f81b7
BLAKE2b-256 checksum
How to use checksums
d552d1bb6976ffddf41527ca5f89615dd6dc08da64449a80bda71f6b607e2fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure

Release files / dbcl-0.1.27-py3-none-any.whl

Download URL dbcl-0.1.27-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff3c561d6675eed4520164ac727f50ef4cc2ecaf3b198c2f6943663bc4eb9425
BLAKE2b-256 checksum
How to use checksums
ea4f7e1e248bd1f38b18bf3782dcaba359038a23bbc4bc4473b98859cedd1758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1033-azure

Security for dbcl 0.1.27

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page