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 hashes)