Skip to main content

A python client for the Keva Database

Project description

Keva

Downloads

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 ;)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Keva-0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

Keva-0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file Keva-0.1.tar.gz.

File metadata

  • Download URL: Keva-0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for Keva-0.1.tar.gz
Algorithm Hash digest
SHA256 4c86632da85d8ad3a06cc6ca7b35d52fcaaa39ebba6826ab8e0091f82ac374d6
MD5 245468b3a1612f4e167f31b5360362cb
BLAKE2b-256 3dd23ceb6ea825d899a6f44511b948677a45e1cdbbcc26ddd07916c145ba7db7

See more details on using hashes here.

File details

Details for the file Keva-0.1-py3-none-any.whl.

File metadata

  • Download URL: Keva-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for Keva-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 638f621dc24928b0c3fba5c60687c708bc7eeedf2efd64ad9aa1b975ec337fb2
MD5 211a5ee824be180a0da99c138ca07eb5
BLAKE2b-256 33cce2aeb2f253849daba380b19ab6d4e80a8b289e3faf9e58f8522eccadea65

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page