Giter Site home page Giter Site logo

elcapor / sqlite-db-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from technofile/sqlite-db-viewer

0.0 0.0 0.0 1.47 MB

A flask extension to manage sqlite databases through browser. For folks who hate terminal by folks who love terminal!

Python 44.65% CSS 0.26% HTML 55.09%

sqlite-db-viewer's Introduction

sqlite-db-viewer

For folks who hate terminal by folks who love terminal!

sqlite-db-viewer is a web-based SQLite database manager that provides an interactive and a nice interface to manage your SQLite databases.

Project dependencies

  • Python3
  • Flask
  • peewee

Features

  • Works only with existing database(empty/non-empty) file.
  • Add or discard
    • Tables
    • Columns
    • Indexes
  • Import/Export data as JSON
  • Most importantly, a nice interface to know your database!

Proof you ask!

  • Index. The place where it all starts. The index page shows some basic information about the database, including the number of tables and indexes, as well as its size on disk with the storage location.

  • Table Structure. This page discplayes the table along with all the other options available such as adding and dropping a column as well as importing the data.

  • Table content. This feature allows you to see the content of the table.

  • Query. You can also execute SQL queries on the go!!

Building

This project is backed by pipenv which is the recommended package management tool by python.org.

To install pipenv:

pip install pipenv

Let's build the project now:

# clone and navigate the repo
git clone https://github.com/nitinprakash96/sqlite-db-viewer.git
cd sqlite-db-viewer

# activate virtualenv and install dependencies
pipenv shell
pipenv install

# Run the project
python views.py path/to/sqlite/your/database/file

Options

There are several command line options(flags) available as of now.

  • --port : default is 5000
  • --host : default is 127.0.0.1
  • --debug : default is False

sqlite-db-viewer's People

Contributors

nitinprakash96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.