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
$ python setup.py install
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.3.tar.gz
(20.1 kB
view details)
Built Distribution
File details
Details for the file oh-my-pickledb-0.2.3.tar.gz
.
File metadata
- Download URL: oh-my-pickledb-0.2.3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5432cdea13dde33f2fd2a7564e6c956c7b0fcea6ce3edcd68d46ed51b851ab4c |
|
MD5 | d8d13cf6f519d18a484f538380c19d24 |
|
BLAKE2b-256 | 0c24df113d93f58d5084950b6dfa9caf1a82cd5cb3a77931802a0e12f4a11950 |
File details
Details for the file oh_my_pickledb-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: oh_my_pickledb-0.2.3-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c60fd29886caabcf23a7dad65485f17fdbcc54f6d760754ebb97ef2dc96cb17 |
|
MD5 | c5340c5cebf508bb13bceb1736154d5b |
|
BLAKE2b-256 | 38c2bf768a28c28ea83d4963c2eda76bb882fbf828665b3b8963660cf8a5facd |