Skip to main content

No project description provided

Project description

Dingdb, a thingdb like storage & retrieval Python API

Simple implementation of Thingdb, called Dingdb (German for 'thing') Currently expects a sqlite3 database.

Inspired by:


git clone
cd dingdb/
pip3 install ./
python3 dingdb/migrations/ -up -db ./data.db


from dingdb import dingdb
from uuid import uuid4 # See help

# Connect and insert data
tdb = dingdb(database='./data.db')
# Put things
tdb.putDing(1, 'person', 'person', data=[{'key':'name', 'value': 'Sam'}, {'key':'age', 'value':30}])
# Get a thing
person = tdb.getDing(1) 
person.age = 31

# Get things by type

# More..

# Use a uuid for ids:
tdb.putDing(str(uuid4()), 'person', 'person', data=[{'key':'name', 'value': 'Sam'}, {'key':'age', 'value':30}])

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dingdb, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size dingdb-0.0.2.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View
Filename, size dingdb-0.0.2-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page