A Simple , Lightweight , Efficient JSON based database for Python.
Project description
seJsonDB
A Simple, Lightweight, Efficient JSON based database for Python.
Installation
To install seJsonDB, use pip:
pip install seJsonDB
Features
- Lightweight JSON based database.
- Supports CRUD commands.
- No Database drivers required.
- Unique ID assigned for each JSON document added.
- Strict about Schema of data added.
>> from seJsonDB import JsonDB
>> db = JsonDB("test.json")
>> db.add_many([{"key": "jsondb", "name":"jsondb","type":"DB"},{"key": "jsondb3","name":"pysondb3","type":"DB"}])
({}, {0: {'Exception': 'Id `jsondb` already in DB', 'data': {'key': 'jsondb', 'name': 'jsondb', 'type': 'DB'}}, 1: {'Exception': 'Id `jsondb3` already in DB', 'data': {'key': 'jsondb3', 'name': 'pysondb3', 'type': 'DB'}}})
>> db.get_all()
{'jsondb': {'key': 'jsondb', 'name': 'jsondb', 'type': 'DB'}, 'jsondb3': {'key': 'jsondb3', 'name': 'pysondb3', 'type': 'DB'}}
- See its simple....
Quick walk through of all the methods
Coming Soon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sejsondb-2025.1.0rc2.tar.gz
(13.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sejsondb-2025.1.0rc2.tar.gz.
File metadata
- Download URL: sejsondb-2025.1.0rc2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26f1175e6adb34154b74ed3833c9e133d398a82861279912df795c1e61227955
|
|
| MD5 |
992dcd437b89c501b59daaab3e4cb169
|
|
| BLAKE2b-256 |
4330c19af7b381cd9e6d7a58c5b679780c5f0205932bd9630c5ff2001a2ca654
|
File details
Details for the file sejsondb-2025.1.0rc2-py3-none-any.whl.
File metadata
- Download URL: sejsondb-2025.1.0rc2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
079ed3cae77ced7e151aea6357f26858fc56c43b49448453f17b2c3596dcae4a
|
|
| MD5 |
51971c50614f9fe34effcfb1ade0d5ed
|
|
| BLAKE2b-256 |
f7df8ae970401ce40448579c3cd5af41ddb54940502fa80530d97f5ddec7e35f
|