Skip to main content

A lightweight and simple database using dill.

Project description


gherkindb
--------

gherkindb is lightweight, fast, and simple database based on pickledb

```````````````

::

import gherkindb

db = gherkindb.load('test1.db', True)

db.set('key', 'value')

# Outputs: value
print(db.get('key'))

# Added serialization functionality
def my_func():
print("Much better!")

db.sset('func', my_func)

# Outputs: Much better!
db.sget('func')()

# Also :

# Outputs: Much better!
reborn = db.sget('func')

reborn()


And Easy to Install
```````````````````

::

$ pip3 install gherkindb


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 gherkindb, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size gherkindb-0.1.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

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