Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page