Skip to main content

A TUI for CRUDing sqlite databases.

Project description

PyLiteAdmin

PyLiteAdmin is a simple command-line tool for browsing and editing SQLite databases, written in Python. It provides a user interface for viewing tables, searching for data, and performing basic CRUD (Create, Read, Update, Delete) operations. All inside of the terminal thanks to the Textual framework.


Features

  • Use a TUI (Terminal User Interface) to view your sqlite database
  • Search Columns
  • Delete Rows
  • Add Rows
  • Edit Cell values
  • Executable as "pyliteadmin /path/to/database.db"
  • Add "paging" to ensure large databases are loaded and viewed efficiently

Installation

Install via PyPi

pip install pyliteadmin

Usage

pyliteadmin /path/to/database.db

This will start the PyLiteAdmin interface, which consists of three main components:

  • Table Selector: allows you to select a table from the database.
  • Table Viewer: displays the contents of the selected table.
  • Table Search: allows you to search for data within the selected table.

PyLiteAdmin v0.3 You may need to expand your terminal window to make all of the elements fit

Use the Table Selector on the top left side of the terminal window to select which table you would like to view.

Use the "Search Column" widget on the bottom left side of the terminal window to search for a specific search term on the selected column. Returns a new table view with all matching/similar rows.


Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


License

MIT 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

pyliteadmin-1.0.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

pyliteadmin-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file pyliteadmin-1.0.0.tar.gz.

File metadata

  • Download URL: pyliteadmin-1.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pyliteadmin-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8ff973456927a1d9ac749d0648bb919385c3375b4e7750f877c53ce19f4b1bbe
MD5 68bbe2827d611e6ee545971202bc6208
BLAKE2b-256 6ac869a85528dba89e6a0d349d0da5443d551364e3ad66d6df96eb576fcbaa84

See more details on using hashes here.

File details

Details for the file pyliteadmin-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyliteadmin-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pyliteadmin-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2537f8646bad8738cb65ba65b3b68cf2f744035333df5e9035282bc290eb2bde
MD5 b78ee03a72b3ceae751b032a6a791f28
BLAKE2b-256 5f96ad6febd089838bba1201a6b0151df35c5d60619e759c1c710625743c4c46

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