Keva
Keva is a simple Key-Value database. Learn more about it here : https://keva.pancakedev.repl.co
This package is a ptyhon client to make interacting with the database even simpler than it already is
Usage
This package is a wrapper for using the Keva API, so you basically have all the endpoints in functions.
import keva
keva.db_key = "ddPpkgsPsnSd5xF6" # Enter your Keva database key here
keva.set("name", "gugu256") # Sets a new key-value pair in your database
keva.set("age", 29) # The type is automatically detected, so no need to specify it
name = keva.get("name") # Gets a certain key in your Keva database and returns its value
print(name)
keys = keva.get_keys() # Fetches all the keys of your Keva database and returns them in a list
print(keys)
database = keva.get_entire() # Returns your entire Keva database as a dictionary
print(database)
keva.delete("age") # Deletes a key out of your Keva database
keva.reset() # Resets your entire Keva database to zero (or in other terms, just {} )
And that's it!
Now you understand why I call it a beginner-friendly database ;)
Metadata
Release files for Keva 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Keva-0.1.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Keva-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / Keva-0.1.tar.gz
| Download URL | Keva-0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c86632da85d8ad3a06cc6ca7b35d52fcaaa39ebba6826ab8e0091f82ac374d6
|
|
BLAKE2b-256 checksum How to use checksums |
3dd23ceb6ea825d899a6f44511b948677a45e1cdbbcc26ddd07916c145ba7db7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / Keva-0.1-py3-none-any.whl
| Download URL | Keva-0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
638f621dc24928b0c3fba5c60687c708bc7eeedf2efd64ad9aa1b975ec337fb2
|
|
BLAKE2b-256 checksum How to use checksums |
33cce2aeb2f253849daba380b19ab6d4e80a8b289e3faf9e58f8522eccadea65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|