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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gherkindb-0.1.2.tar.gz
(3.1 kB
view details)
File details
Details for the file gherkindb-0.1.2.tar.gz.
File metadata
- Download URL: gherkindb-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aad68fa4e39ee2855aa332dcc89af0de359a3f862bc6514baeffd692777cfbe
|
|
| MD5 |
fe643675a8c9596c5d4a21f73bfa4fa7
|
|
| BLAKE2b-256 |
9e0b1398a21d91c775dd581650727a9b099e352c0911eafaf5d05f3d32fa7d2c
|