-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKG-INFO
More file actions
111 lines (85 loc) · 4.01 KB
/
PKG-INFO
File metadata and controls
111 lines (85 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Metadata-Version: 2.4
Name: sqliteviewer
Version: 0.1.0
Summary: PyQt6-based SQLite viewer for Ubuntu
Author-email: SQLite Viewer Team <dev@example.com>
License: MIT License
Copyright (c) 2024 SQLite Viewer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Project-URL: Homepage, https://example.com/sqliteviewer
Project-URL: Repository, https://example.com/sqliteviewer/repo
Keywords: sqlite,viewer,pyqt6,ubuntu
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Environment :: X11 Applications :: Qt
Classifier: Topic :: Database
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE_ja
Requires-Dist: PyQt6>=6.6
Provides-Extra: dev
Requires-Dist: pytest>=7.4; extra == "dev"
Requires-Dist: pytest-qt>=4.2; extra == "dev"
Requires-Dist: python-dotenv>=1.0; extra == "dev"
Requires-Dist: build>=1.0.3; extra == "dev"
Dynamic: license-file
# SQLite Viewer for Ubuntu
⚠️ This repository is an experimental project using AI tools such as Codex.
It is shared for educational purposes only. Please note that it is provided *as is*, without warranty or official support.
A lightweight PyQt6 desktop SQLite database viewer targeting Ubuntu desktops. The app lets you inspect tables, run ad-hoc queries, and export results—packaged for distribution via Python wheels or Debian packages.
## Features
- Browse tables and view row data with pagination
- Run custom SQL queries with syntax highlighting and CSV export
- Display table schema metadata
- Persistent recent files list for quick access
- Debian package builder for Ubuntu (Python-dependent bundle)
## Prerequisites
This application requires the following system libraries to be installed on Ubuntu:
```bash
sudo apt-get update
sudo apt-get install -y libxcb-cursor0 libxkbcommon-x11-0 libxcb-icccm4 libxcb-keysyms1 libxcb-xkb1
```
## Getting Started
```bash
# create & activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate
# install in editable mode with dev extras
pip install --upgrade pip
pip install -e ".[dev]"
```
Keep the extras in quotes (the `".[dev]"` part) so shells like `zsh` don't treat it as a glob pattern.
If you prefer `uv`, install it beforehand (for example `pip install uv`) and then run `uv pip install -e ".[dev]"` inside the virtual environment.
Launch the viewer:
```bash
sqliteviewer /path/to/database.sqlite
```
## Running Tests
```bash
pytest
```
## Packaging
- Build wheel + sdist: `python -m build`
- Build Debian package: `./scripts/build_deb.sh`
- Generated packages are placed in `dist/`
## Continuous Integration
GitHub Actions workflow (`.github/workflows/ci.yml`) validates formatting, runs tests, and ensures packaging succeeds on Ubuntu.
## License
Released under the MIT License. See [LICENSE](LICENSE).