Skip to main content

Key-Value database library, small and easy to use.

Project description

LiliDB

Lili ("Small" in Toki Pona), uses JSON to storage key-value databases.
Fail-safe and Thread-Safe key-value database.

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.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file LiliDB-1.0.0.tar.gz.

File metadata

  • Download URL: LiliDB-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for LiliDB-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a1d5aebcd1d96726957972775b8b82edbeb57d5b99a1f2086a9b74fffb627c83
MD5 0e9d57d2fad1a96d0b6ef79d4b252317
BLAKE2b-256 de520eb3157f217be17b7b7c2b9a6aecc4c7a9e7e1c19f3f12f7d4a207e8625b

See more details on using hashes here.

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