用Python編寫基于Web的SQLite數據庫瀏覽器:sqlite-browser
sqlite-browser是一個用Python編寫基于Web的SQLite數據庫瀏覽器。
項目依賴
- flask
- peewee </ul>
- 可用于您現有的SQLite數據庫,或者可以用來創建新的數據庫
- Add or drop:
- Tables
- Columns (yes, you can drop and rename columns!)
- Indexes
- 導出數據成JSON或CSV.
- 導入JSON 或CSV 文件.
- 瀏覽表中的數據。
安裝:
$ pip install sqlite-browser flask peewee
使用:
$ sqlite_browser /path/to/database.db
特性:
截屏
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: