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

Usage

python pyliteadmin.py /path/to/database.db

Using the included database:

python pyliteadmin.py ./chinook.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

Apache License 2.0

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.0.18.tar.gz (12.6 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.0.18-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyliteadmin-0.0.18.tar.gz
Algorithm Hash digest
SHA256 89312d8a1ae93709b48868d31bcfb9bd8ae7ea4387d79643fe86ac958b034215
MD5 56b7013166670a4f2a7f2243b25cd99e
BLAKE2b-256 47feb4babf88fa24f0500d2ec60b8831a98724f470d9ba3869e975aca96460d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyliteadmin-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7c0cf01ce85d99b6f79ffc9a7e203cb52b2b4aca8af9658a682dbbf8e02264
MD5 39a9a6d925783a0c6555ae369af0f058
BLAKE2b-256 9d6347948d1f2ef346343a11ddd924b6ce23a87a902e5017c352b9d626056c0b

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