https://github.com/null-none/db2json
This client dumps all* the tables in an sqlite database as json.
https://github.com/null-none/db2json
database json sqlite sqlite3
Last synced: 9 months ago
JSON representation
This client dumps all* the tables in an sqlite database as json.
- Host: GitHub
- URL: https://github.com/null-none/db2json
- Owner: null-none
- License: mit
- Created: 2024-01-21T16:57:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T20:48:55.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T09:28:31.596Z (11 months ago)
- Topics: database, json, sqlite, sqlite3
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
db2json
===================
This client dumps all* the tables in an sqlite database as json.
Installation
------------
```bash
pip install db2json
```
Usage
-----
```python
from db2json.client import Db2json
client = Db2json("database.db")
client.sqlite_to_json()
```