All Projects → coleifer → Sqlite Web

coleifer / Sqlite Web

Licence: mit
Web-based SQLite database browser written in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sqlite Web

Goqu
SQL builder and query library for golang
Stars: ✭ 984 (-15.83%)
Mutual labels:  database, sqlite
Fluent Sqlite Driver
Fluent driver for SQLite
Stars: ✭ 51 (-95.64%)
Mutual labels:  database, sqlite
Android Debug Database
A library for debugging android databases and shared preferences - Make Debugging Great Again
Stars: ✭ 7,946 (+579.73%)
Mutual labels:  database, sqlite
Android dbinspector
Android library for viewing and sharing in app databases.
Stars: ✭ 881 (-24.64%)
Mutual labels:  database, sqlite
Nodbi
Document DBI connector for R
Stars: ✭ 56 (-95.21%)
Mutual labels:  database, sqlite
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-97.43%)
Mutual labels:  database, sqlite
Rqlite
The lightweight, distributed relational database built on SQLite
Stars: ✭ 9,147 (+682.46%)
Mutual labels:  database, sqlite
Bookshelf
A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js
Stars: ✭ 6,252 (+434.82%)
Mutual labels:  database, sqlite
East
node.js database migration tool
Stars: ✭ 53 (-95.47%)
Mutual labels:  database, sqlite
Dbbench
🏋️ dbbench is a simple database benchmarking tool which supports several databases and own scripts
Stars: ✭ 52 (-95.55%)
Mutual labels:  database, sqlite
Vulpy
Vulnerable Python Application To Learn Secure Development
Stars: ✭ 25 (-97.86%)
Mutual labels:  sqlite, flask
Dbmigrations
A library for the creation, management, and installation of schema updates for relational databases.
Stars: ✭ 67 (-94.27%)
Mutual labels:  database, sqlite
Pecee Pixie
Lightweight, easy-to-use querybuilder for PHP inspired by Laravel Eloquent - but with less overhead.
Stars: ✭ 19 (-98.37%)
Mutual labels:  database, sqlite
Cancer Donation Portal Python Flask App
Flask App for Cancer Donation Portal using basic Python, SQLite3, HTML, CSS and Javascript
Stars: ✭ 32 (-97.26%)
Mutual labels:  sqlite, flask
Chronophore
Desktop app for tracking student sign-ins in a tutoring center.
Stars: ✭ 6 (-99.49%)
Mutual labels:  database, sqlite
Perfect Sqlite
A stand-alone Swift wrapper around the SQLite 3 client library.
Stars: ✭ 42 (-96.41%)
Mutual labels:  database, sqlite
Nano Sql
Universal database layer for the client, server & mobile devices. It's like Lego for databases.
Stars: ✭ 717 (-38.67%)
Mutual labels:  database, sqlite
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 7,712 (+559.71%)
Mutual labels:  database, sqlite
Hunt Entity
An object-relational mapping (ORM) framework for D language (Similar to JPA / Doctrine), support PostgreSQL and MySQL.
Stars: ✭ 51 (-95.64%)
Mutual labels:  database, sqlite
Sql.js
A javascript library to run SQLite on the web.
Stars: ✭ 9,594 (+720.7%)
Mutual labels:  database, sqlite

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

Project dependencies:

Installation

$ pip install sqlite-web

Usage

$ sqlite_web /path/to/database.db

Features

  • 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:

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.

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

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:

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:

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.
  • -P, --password: prompt for password to access sqlite-web. Alternatively, the password can be stored in the "SQLITE_WEB_PASSWORD" environment variable, in which case the application will not prompt for a password, but will use the value from the environment.
  • -r, --read-only: open database in read-only mode.
  • -u, --url-prefix: URL prefix for application, e.g. "/sqlite-web".
  • -c, --cert and -k, --key - specify SSL cert and private key.
  • -a, --ad-hoc - run using an ad-hoc SSL context.

Using docker

A Dockerfile is provided with sqlite-web. To use:


$ cd docker/  # Change dirs to the dir containing Dockerfile
$ docker build -t coleifer/sqlite-web .
$ docker run -it --rm \
    -p 8080:8080 \
    -v /path/to/your-data:/data \
    -e SQLITE_DATABASE=db_filename.db \
    coleifer/sqlite-web
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].