Oh-My-PickleDB is an open source key-value store using Python's json module
Project description
What is PickleDB
PickleDB is a lightweight, fast, and simple database based on json module. It's BSD licensed!
Oh-My-PickleDB
Oh-My-PickleDB is an improved version of PickleDB with more database concepts than original one. Most important concepts are:
- Cryptography module - Encrypt/Decrypt database content using FERNET encoding
- Code improvements - More readable documentation, improved code, etc...
- Database Conversions - Works with bytes, json or str databases
- More flexibility - Save/load database as bytes, json or str, you decide!
- Statistics Tools - HopperDB works as a data analyzer
- Frameworks - Pre-defined databases like UsersDB, ProductsDB, etc...
Oh-My-PickleDB is fun and easy to use
from my_pickledb import PickleDB
database = PickleDB("test.db", load=True, auto_dump=True) # PickleDB object
db.set('key', 'value') # Creates new key and value
db.get('key') # Must return 'value'
db.dump() # Must save database to file on specified path
Easy to Install
# Using python pip
$ pip install oh-my-pickledb
# Using git
$ git clone https://github.com/tory1103/oh-my-pickledb.git
$ cd oh-my-pickledb
$ pip install -r requirements.txt
Contributing
You can propose a feature request opening an issue, or a pull request.
Here is a list of oh-my-pickledb contributors:
Useful Links
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
oh-my-pickledb-0.2.2.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for oh_my_pickledb-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fbec7163c11b131fbf79b0ed47ba7df926fa6d3b2c6a0aef22a7a9bcfc8158c |
|
MD5 | fe17f39e6020e6e55640a9998c17d2a5 |
|
BLAKE2b-256 | 757cb0a7a1d20caf6b55094304353b84f496f05d63dc4e0f5dd45e823d681a23 |