Skip to content

Commit 4d48eb6

Browse files
lukischclaude
andcommitted
Initial release v2.0.0 - SQLite Viewer Pro
Lightweight, zero-dependency SQLite database browser built with Python/Tkinter. Features: table browser, schema view, SQL editor, full-text search, CSV export. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 parents  commit 4d48eb6

8 files changed

Lines changed: 989 additions & 0 deletions

File tree

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
__pycache__/
2+
*.pyc
3+
*.pyo
4+
*.egg-info/
5+
dist/
6+
build/
7+
*.spec
8+
*.exe
9+
.env
10+
.venv/
11+
venv/
12+
releases/
13+
*.db
14+
*.sqlite
15+
*.sqlite3
16+
.DS_Store
17+
Thumbs.db
18+
desktop.ini

AUFGABEN_SQLiteViewer.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
AUFGABEN - SQLiteViewer
2+
=======================
3+
Status: ALLE ERLEDIGT - RELEASED
4+
Stand: 13.02.2026
5+
6+
ERLEDIGTE FEATURES (v2.0.0):
7+
[x] 1. SQL-Editor mit Syntax-Highlighting
8+
[x] 2. CSV/Excel Export
9+
[x] 3. Volltext-Suche
10+
[x] 4. Schema-Ansicht
11+
12+
Release: v2.0.0 auf GitHub veroeffentlicht.

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Changelog
2+
3+
## [2.0.0] - 2026-02-01
4+
5+
### Added
6+
- SQL Editor with syntax highlighting and query execution
7+
- Schema view with CREATE TABLE inspection
8+
- Full-text search across all columns
9+
- CSV export functionality
10+
- Column sorting (click headers)
11+
- Keyboard shortcuts (Ctrl+O, Ctrl+F, Ctrl+E, F5, F9)
12+
- Dark theme for code editors
13+
- Table info display (row count, indexes, foreign keys)
14+
15+
### Changed
16+
- Complete rewrite from basic viewer to full-featured browser
17+
- Upgraded UI with notebook tabs (Data, Schema, SQL)
18+
- Improved identifier escaping for safe SQL operations
19+
20+
## [1.0.0] - 2024-12-01
21+
22+
### Added
23+
- Initial release
24+
- Basic table browser with Treeview
25+
- Database open dialog
26+
- Row limit control
27+
- Refresh functionality

Feature_Analyse_SQLiteViewer.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Feature-Analyse: SQLiteViewer (Mini SQL Viewer)
2+
3+
## Kurzbeschreibung
4+
Ein schlanker SQLite-Datenbank-Viewer mit Tkinter-GUI. Ermöglicht das schnelle Öffnen, Durchsuchen und Anzeigen von SQLite-Datenbanken ohne SQL-Kenntnisse.
5+
6+
---
7+
8+
## ✨ Highlights
9+
10+
| Feature | Beschreibung |
11+
|---------|-------------|
12+
| **Tabellen-Browser** | Automatische Auflistung aller Tabellen |
13+
| **Daten-Grid** | Treeview-Anzeige mit Scrollbars |
14+
| **Limit-Kontrolle** | Einstellbare Zeilenanzahl (Default: 1000) |
15+
| **Refresh** | Schnelles Neuladen der Ansicht |
16+
| **Tastenkürzel** | Ctrl+O öffnen, Ctrl+Q beenden |
17+
| **Kompiliert** | EXE verfügbar |
18+
19+
---
20+
21+
## 📊 Feature-Vergleich
22+
23+
| Feature | SQLiteViewer | DB Browser | DBeaver | SQLiteStudio |
24+
|---------|:------------:|:----------:|:-------:|:------------:|
25+
| Schnellstart || ⚠️ || ⚠️ |
26+
| SQL-Abfragen |||||
27+
| Tabellen anzeigen |||||
28+
| Daten editieren |||||
29+
| Portable || ⚠️ |||
30+
| Ressourcenarm || ⚠️ || ⚠️ |
31+
32+
---
33+
34+
## 🎯 Bewertung
35+
36+
### Aktueller Stand: **Production Ready (80%)**
37+
38+
**Gesamtbewertung: 7/10** - Einfach und schnell
39+
40+
---
41+
42+
## 🚀 Empfohlene Erweiterungen
43+
44+
1. **SQL-Editor** - Eigene Abfragen ausführen
45+
2. **Export** - CSV/Excel Export
46+
3. **Suche** - Volltextsuche in Tabellen
47+
4. **Schema-Ansicht** - Tabellenstruktur anzeigen
48+
49+
---
50+
51+
## 💻 Technische Details
52+
53+
```
54+
Framework: Tkinter + ttk
55+
Datenbank: sqlite3
56+
Dateigröße: 239 Zeilen Python
57+
```
58+
59+
---
60+
*Analyse erstellt: 02.01.2026*

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 lukisch
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# SQLite Viewer Pro
2+
3+
A lightweight, fast SQLite database browser built with Python and Tkinter. Open, browse, search and query any SQLite database without SQL knowledge.
4+
5+
![Python](https://img.shields.io/badge/Python-3.10+-blue)
6+
![License](https://img.shields.io/badge/License-MIT-green)
7+
![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey)
8+
9+
## Features
10+
11+
- **Table Browser** - Automatically lists all tables with sortable data grid
12+
- **Schema View** - Inspect CREATE TABLE statements with syntax highlighting
13+
- **SQL Editor** - Execute custom queries with syntax highlighting and result view
14+
- **Full-Text Search** - Search across all columns in real-time
15+
- **CSV Export** - Export any table or query result to CSV
16+
- **Sorting** - Click column headers to sort ascending/descending
17+
- **Keyboard Shortcuts** - Ctrl+O (open), Ctrl+F (search), Ctrl+E (export), F5 (refresh), F9 (execute SQL)
18+
19+
## Screenshots
20+
21+
### Data Browser
22+
Open any `.db`, `.sqlite`, or `.sqlite3` file and browse tables instantly.
23+
24+
### Schema View
25+
View table definitions with syntax-highlighted CREATE TABLE statements.
26+
27+
### SQL Editor
28+
Write and execute SQL queries with real-time syntax highlighting.
29+
30+
## Installation
31+
32+
### Requirements
33+
34+
- Python 3.10 or higher
35+
- Tkinter (included with most Python installations)
36+
37+
No additional dependencies required - uses only Python standard library.
38+
39+
### Run from Source
40+
41+
```bash
42+
git clone https://github.com/lukisch/SQLiteViewer.git
43+
cd SQLiteViewer
44+
python SQLiteViewer.py
45+
```
46+
47+
### Windows
48+
49+
Double-click `START.bat` or run:
50+
51+
```cmd
52+
python SQLiteViewer.py
53+
```
54+
55+
## Usage
56+
57+
1. **Open a database**: `File > Open Database` or `Ctrl+O`
58+
2. **Browse tables**: Select a table from the dropdown
59+
3. **Search**: Type in the search field to filter rows
60+
4. **View schema**: Switch to the Schema tab
61+
5. **Run SQL**: Switch to the SQL Editor tab, write a query, press `F9`
62+
6. **Export**: `File > Export as CSV` or `Ctrl+E`
63+
64+
## Keyboard Shortcuts
65+
66+
| Shortcut | Action |
67+
|----------|--------|
68+
| `Ctrl+O` | Open database |
69+
| `Ctrl+Q` | Quit |
70+
| `Ctrl+E` | Export CSV |
71+
| `Ctrl+F` | Focus search |
72+
| `Ctrl+A` | Select all rows |
73+
| `F5` | Refresh table |
74+
| `F9` | Execute SQL query |
75+
76+
## Comparison
77+
78+
| Feature | SQLite Viewer Pro | DB Browser | DBeaver |
79+
|---------|:-----------------:|:----------:|:-------:|
80+
| Instant startup | Yes | Slow | Slow |
81+
| SQL queries | Yes | Yes | Yes |
82+
| Browse tables | Yes | Yes | Yes |
83+
| Schema view | Yes | Yes | Yes |
84+
| CSV export | Yes | Yes | Yes |
85+
| Full-text search | Yes | Limited | Yes |
86+
| Portable | Yes | Partial | No |
87+
| Lightweight | Yes | No | No |
88+
| No install needed | Yes | No | No |
89+
90+
## Technical Details
91+
92+
- **Framework**: Tkinter + ttk
93+
- **Database**: sqlite3 (stdlib)
94+
- **Dependencies**: None (pure Python stdlib)
95+
- **Single file**: ~750 lines of Python
96+
97+
## License
98+
99+
[MIT](LICENSE)

0 commit comments

Comments
 (0)