Key-Value database library, small and easy to use.
Project description
LiliDB
Lili ("Small" in Toki Pona) it's a small Key-Value database library.
No third-party dependencies, pure Python and safe to use!
Install
# GIT+PIP
pip install git+https://github.com/ZSendokame/LiliDB.git
# PIP
pip install LiliDB
How to use
import lilidb
db = lilidb.Database('database.json')
db.set('key', 'value')
db.dump()
with db as db:
db.set('with': 'Open, save and close file.')
# You can use Threads!
# and make errors... If an exception ocurrs, it automatically saves.
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
LiliDB-1.0.3.tar.gz
(3.5 kB
view details)
File details
Details for the file LiliDB-1.0.3.tar.gz
.
File metadata
- Download URL: LiliDB-1.0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 342dbc2b06967fc51d84a6ec22d759a6b591c74748cd2b7fcdb8c67c414084d7 |
|
MD5 | ebae4436dcf367bb4683d7f85c060b17 |
|
BLAKE2b-256 | 70a300ecf3f42653177fb3297bce7cbabb3e066fa4d997f512860dfc35a8a28b |