Skip to main content

![](http://media.charlesleifer.com/blog/photos/sqlite-web.png)

sqlite-web is a web-based SQLite database browser written in Python.

Project dependencies:

### Installation

`sh $ pip install sqlite-web `

### Usage

`sh $ sqlite_web /path/to/database.db `

### Features

![](http://media.charlesleifer.com/blog/photos/p1420930919.43.gif)

  • Works with your existing SQLite databases, or can be used to create new databases.

  • Add or drop: * Tables * Columns (yes, you can drop and rename columns!) * Indexes

  • Export data as JSON or CSV.

  • Import JSON or CSV files.

  • Browse table data.

### Screenshots

The index page shows some basic information about the database, including the number of tables and indexes, as well as its size on disk:

![](http://media.charlesleifer.com/blog/photos/s1415479324.32.png)

The structure tab displays information about the structure of the table, including columns, indexes, and foreign keys (if any exist). From this page you can also create, rename or drop columns and indexes.

![](http://media.charlesleifer.com/blog/photos/s1415479418.23.png)

The content tab displays all the table data. Links in the table header can be used to sort the data:

![](http://media.charlesleifer.com/blog/photos/s1415479502.61.png)

The query tab allows you to execute arbitrary SQL queries on a table. The query results are displayed in a table and can be exported to either JSON or CSV:

![](http://media.charlesleifer.com/blog/photos/s1415487149.3.png)

The import tab supports importing CSV and JSON files into a table. There is an option to automatically create columns for any unrecognized keys in the import file:

![](http://media.charlesleifer.com/blog/photos/s1415479625.44.png)

### Command-line options

The syntax for invoking sqlite-web is:

$ sqlite_web [options] /path/to/database-file.db

The following options are available:

  • -p, --port: default is 8080

  • -H, --host: default is 127.0.0.1

  • -d, --debug: default is false

  • -x, --no-browser: do not open a web-browser when sqlite-web starts.

Release files for sqlite-web 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlite-web 0.1.7
File Size Uploaded
sqlite-web-0.1.7.tar.gz 357.3 kB Details

Release files / sqlite-web-0.1.7.tar.gz

Download URL sqlite-web-0.1.7.tar.gz
Size 357.3 kB
Tags Source
SHA-256 checksum
How to use checksums
45c402d9e32916912564b7a603191bea060d1a806d3a23564496047fcbe68625
BLAKE2b-256 checksum
How to use checksums
cd8505a90b915d9c5fc06e3f6604b9f458906c61458ee13bc9ab330957d9f8ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.8

1 release file

This release

0.1.7 This release

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page