A key-value store database written from the ground-up with speed in mind.
Project description
PYKVSDB
A key-value store database written from the ground-up with speed in mind.
Installation
PYKVSDB can be installed via pip:
pip install pykvsdb
Syntax
Setting Values
You can store a key-value pair in PYKVSDB with the set function:
pykvsdb.set("language", "python")
Getting Values
To retrieve a value, use the get function:
pykvsdb.get("language")
Saving to the file system
If you would like to be able to access your data later you will need to save it to the file system with save:
pykvsdb.save("test.db")
Loading a saved database
If you need to access a database saved to the file system again, you need to load it with load:
pykvsdb.load("test.db")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pykvsdb-0.1.1.tar.gz.
File metadata
- Download URL: pykvsdb-0.1.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.9.14 Linux/5.4.0-1090-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06800db19e358932ba2df1b8d51035c78c491f0df1a44b12762bdc3d3ae915ad
|
|
| MD5 |
12ec8e59dc3c601b462d3e3a33a4ccd0
|
|
| BLAKE2b-256 |
64d536c4a9379fcb6a45fb2049685a3ea6c01434f18e511a8a12a144ff9557b4
|
File details
Details for the file pykvsdb-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pykvsdb-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.9.14 Linux/5.4.0-1090-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2df0a696abf2bcf462aea5e27942c300f9f39dad2e3d3db3068ed033a2d786a0
|
|
| MD5 |
0c19a033cfde47774d21c12da999db1b
|
|
| BLAKE2b-256 |
43a96915eb520fe40155f2d06ee8826eb6b3a0061c79eb7300c2460371e297f5
|