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.1.tar.gz (9.9 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.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyliteadmin-1.0.1.tar.gz
  • Upload date:
  • Size: 9.9 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.1.tar.gz
Algorithm Hash digest
SHA256 c264929651207d5564f964faf4323051f03b6b9c6513936885730035501a9817
MD5 872acbe777c041457cd0af74585f4752
BLAKE2b-256 4b519e3b5f475d84cebcd3b4fe14bd9a7e114949e7bab39c743d39448818e076

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyliteadmin-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0601499c054eb890c6b4b1a52ecb44d4fd8f6ebe18a0fb12ca6487a80eae9135
MD5 2082cf3eba64a0cbc21c939fc510d893
BLAKE2b-256 0004e6e3b9e4cd2734aac9caf61ebfa471a7daec68cc98f4c3eee04b0a391c7b

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