Skip to main content

A modern, secure, aesthetic and your ultimate DBMS client. Implemented as a CLI (Command-Line Interface) tool and written 100% in Python

Project description

EXPERIMENTAL RELEASE

PY DBMS — A Modern, Secure, All-in-One DBMS CLI Client

PY DBMS is a lightweight, secure, and modern command-line database client built using Python. It provides a clean user experience, readable output formatting, and convenient helper commands while connecting to MySQL.

This tool is designed for developers who prefer the terminal but want a more enhanced experience than the default MySQL CLI.

Features Visual & UI

Rich-based terminal interface for clean, formatted output

Typewriter-style text rendering

ASCII banner and structured dashboard

Tabular display for query results

Password masking during login

Functional

Multi-line SQL query support

Built-in meta commands (.help, .tables, .schema, .version, etc.)

Execution time for SELECT queries

Graceful error handling (no session crashes)

Security

Secure password input using masked characters

Localhost defaults for safe development usage

Installation

Prerequisites

Python (3.10 or newer recommended)

A running MySQL Server

Install using pip:

pip install py-dbms-cli

All required dependencies are installed automatically.

Usage

  1. Start the CLI pydbms

  2. Enter MySQL login credentials

You will be prompted for:

Host

Username

Password (masked using *)

  1. Begin querying

Enter SQL commands as you normally would. The client supports multi-line queries and executes them once terminated with a ;.

Query Support

Standard SQL queries

Multi-line input

Separate behaviors for SELECT vs UPDATE/INSERT

MySQL-style syntax

Meta Commands

The tool includes additional helper commands:

Command Description .help Show all helper commands .databases List all databases .tables List tables in the current database .schema

Show CREATE TABLE definition .clear Clear the screen .version Show build/version info .exit Exit the CLI

Roadmap

Future planned features include:

User profile support with encrypted JSON storage

Support for additional database engines (Oracle, MongoDB, etc.)

Consistent UI formatting across engines

Exportable session history

Customizable UI themes

Author

Anish Sethi B.Tech Computer Science & Engineering Delhi Technological University (Class of 2029)

License

This project is licensed under the BSD 3-Clause License.

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

py_dbms_cli-2.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

py_dbms_cli-2.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

py_dbms_cli-2.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file py_dbms_cli-2.1.0.tar.gz.

File metadata

  • Download URL: py_dbms_cli-2.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for py_dbms_cli-2.1.0.tar.gz
Algorithm Hash digest
SHA256 5d3ddeb6b2ff36ef9b8edc12aab7098f09619af31d53ed7e7de16e2fb19173c0
MD5 961dd3e98f995879d2e9bb02e90fb0c6
BLAKE2b-256 ad544ae456687f3a4c149cd5c48904d3ebdaf996d996321656c3de2fe372eb89

See more details on using hashes here.

File details

Details for the file py_dbms_cli-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: py_dbms_cli-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for py_dbms_cli-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eef40c7f274cdee243d8add2b6a2f5449449cca4cd7d190ccf6c38a784036ac8
MD5 b05ce022294f099fdad2bf6586f48469
BLAKE2b-256 fc680d388c0edb1a532522b034092c0fb46188ab1b8c1b6985d94196c3ea9579

See more details on using hashes here.

File details

Details for the file py_dbms_cli-2.1-py3-none-any.whl.

File metadata

  • Download URL: py_dbms_cli-2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for py_dbms_cli-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e310c795111bd746535d7f333af27009b3eeba18580ad059ba3a594c1728417
MD5 7bfdbd71121f3c45e991c97a1da54ee7
BLAKE2b-256 a787775e2fa321f6edf6efe705ac27dd7eeb527cece4c4ee8347aaea3f16eaec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page