Skip to main content

A TUI for viewing and 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-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyliteadmin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2daba6ff885291e5c69d26ecef8d936357238e82a1d96f71319c9200d32136ac
MD5 9d52fe3f783f34466ee0297705dad3ea
BLAKE2b-256 bcb9e240bf66b3fa523ebe67494fe089b689b493a07afc3ce1178c6476d0097f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyliteadmin-0.1.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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51dd78a1eb750d5e120be431a1767975a38ada185240047045ba2d04e6c04668
MD5 2a2ca5ecc21fb33f5eb160b0d49c4b25
BLAKE2b-256 98571353efebb985f6bff0cb7d0e60e3def3762454b790fdc1b208c85abd26d5

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