Skip to main content

A web-based SQLite browser and query tool

Project description

SQLite Web Viewer

A lightweight web UI to browse and edit SQLite databases in a directory.

Install

  • From PyPI (recommended):
pip install sqlitewebviewer
  • From source (this repo):
pip install .

Run

Run the server in the directory that contains your SQLite files (it scans the current working directory recursively):

sqlitewebviewer

Then open http://localhost:8080.

Options

You can change host/port and enable debug via flags or environment variables:

sqlitewebviewer --host 127.0.0.1 --port 8081 --debug

Or using env vars:

HOST=127.0.0.1 PORT=8081 DEBUG=1 sqlitewebviewer
  • If port 8080 is in use, either choose another port (e.g. --port 0 for an ephemeral port or --port 8081) or free it:
lsof -i :8080
kill <PID>

Features

  • Auto-detects SQLite files (.db, .sqlite, .sqlite3) in the working directory and subfolders
  • Browse tables, inline edit cells, insert/delete rows, export CSV
  • SQL query editor with results table

Publish to PyPI (maintainers)

  1. Build distributions:
python -m pip install --upgrade build twine
python -m build
  1. Upload:
python -m twine upload dist/*

Ensure version in setup.py is incremented before releasing.

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

sqlitewebviewer-1.0.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlitewebviewer-1.0.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlitewebviewer-1.0.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for sqlitewebviewer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6ea4f1a701d53af0765f0b958a294e8a71c371b272e6cc5ffb32e87859bed4b2
MD5 89b9ad8315237a0a83773234f2876b8f
BLAKE2b-256 4c621f227750fb9443372c25e77de52a3e9281d1876707e3f1a19553352d8c78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlitewebviewer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bee8e603ea150bdd96a0132612e4b4a20d60624a3f24de7582bbeb492ac54db9
MD5 cba323ed6fc2ad2eacaac3f2b645830c
BLAKE2b-256 6fe502d22c322b82425e643c10db05c21ec2e69d558d1bd06e0a06c856cf348d

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