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

Uploaded Source

File details

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

File metadata

  • Download URL: LiliDB-1.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for LiliDB-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f843f5621ccc2b866a59cbbff52d16e39a6e7b1afa3eda64fc70379ade6537e6
MD5 e4dd36f9fe4a676928429bb6ec5991ae
BLAKE2b-256 7b0c2359cd38d217c12668840f0a0a8a89c749ef4af2edf27b1dcc9af983583c

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