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.
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff973456927a1d9ac749d0648bb919385c3375b4e7750f877c53ce19f4b1bbe
|
|
| MD5 |
68bbe2827d611e6ee545971202bc6208
|
|
| BLAKE2b-256 |
6ac869a85528dba89e6a0d349d0da5443d551364e3ad66d6df96eb576fcbaa84
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2537f8646bad8738cb65ba65b3b68cf2f744035333df5e9035282bc290eb2bde
|
|
| MD5 |
b78ee03a72b3ceae751b032a6a791f28
|
|
| BLAKE2b-256 |
5f96ad6febd089838bba1201a6b0151df35c5d60619e759c1c710625743c4c46
|