Skip to main content

dbcurses

This application has been realized mainly inspired by sqlcrush (https://github.com/coffeeandscripts/sqlcrush). The reason why I decided to create my own version of the application is the need to comfortably display the data in the MySQL database (in a SSH connection) without manually performing SELECTs, and I wasn't able to do so with sqlcrush (the project no longer seems to be maintained). Another reason is that there is no need to install postgresql.

However, this project has far less functionality than sqlcrush for the time being and is only used to display data in the database. Actually, only MySQL is supported.

screen

Install

To install this application you can proceed with

pip3 install dbcurses

or clone this repo and install manually.

Documentation

The following are the commands for moving through the application:

  • SPACEBAR open the menu with the list of all the tables in the database
  • j/k or ARROW_DOWN/ARROW_UP to scroll through tables and rows
  • h/l or ARROW_LEFT/ARROW_RIGHT to laterally scroll columns
  • +/- to increase/decrease the size of a single column
  • ESC to quit the space menu
  • q to quit the application

Requirements

For Ubuntu server be sure unixodbc-dev is installed. If not:

sudo apt-get install unixodbc-dev

Future work

The following features will be added later:

  • Performing database queries
  • Search by column to filter results with shortcuts

Metadata

Release files for dbcurses 0.0.1

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

Source distribution (sdist)

Source distribution for dbcurses 0.0.1
File Size Uploaded Provenance Actions
dbcurses-0.0.1.tar.gz 5.1 kB Without provenance Details for dbcurses-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 24.0 kB

Release files / dbcurses-0.0.1.tar.gz

Download URL dbcurses-0.0.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d4ea27832acfddf762891073c3a4ee732b55ad69ffd2ba93253d6cb1707770d8
BLAKE2b-256 checksum
How to use checksums
fb99c89485af0bbd24c55a8a8271ba6fb1430f096e07aaef6deea088584c6265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / dbcurses-0.0.1-py3-none-any.whl

Download URL dbcurses-0.0.1-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d491ab6deed314377ec6a78ef55296da31afc596aa77ed4277db384b6ddb0183
BLAKE2b-256 checksum
How to use checksums
e0d59ce7c7f33febba1b25b68035e9d9ccee803ea38b4653227bce4bb8f388a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Security for dbcurses 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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