# Keva
[![Downloads](https://static.pepy.tech/badge/keva)](https://pepy.tech/project/keva)
Keva is a simple Key-Value database. Learn more about it here : [https://keva.pancakedev.repl.co](https://keva.pancakedev.repl.co)<br>
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.
```python
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 ;)
Raw data
{
"_id": null,
"home_page": "https://github.com/gugu256/gugu256",
"name": "Keva",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "database key value key-value KV",
"author": "gugu256",
"author_email": "gugu256@mail.com",
"download_url": "https://files.pythonhosted.org/packages/3d/d2/3ceb6ea825d899a6f44511b948677a45e1cdbbcc26ddd07916c145ba7db7/Keva-0.1.tar.gz",
"platform": null,
"description": "# Keva\r\n\r\n[![Downloads](https://static.pepy.tech/badge/keva)](https://pepy.tech/project/keva)\r\n\r\nKeva is a simple Key-Value database. Learn more about it here : [https://keva.pancakedev.repl.co](https://keva.pancakedev.repl.co)<br>\r\nThis package is a ptyhon client to make interacting with the database even simpler than it already is\r\n\r\n## Usage\r\n\r\nThis package is a wrapper for using the Keva API, so you basically have all the endpoints in functions.\r\n\r\n```python\r\nimport keva\r\n\r\nkeva.db_key = \"ddPpkgsPsnSd5xF6\" # Enter your Keva database key here\r\n\r\nkeva.set(\"name\", \"gugu256\") # Sets a new key-value pair in your database\r\nkeva.set(\"age\", 29) # The type is automatically detected, so no need to specify it\r\n\r\nname = keva.get(\"name\") # Gets a certain key in your Keva database and returns its value\r\nprint(name)\r\n\r\nkeys = keva.get_keys() # Fetches all the keys of your Keva database and returns them in a list\r\nprint(keys)\r\n\r\ndatabase = keva.get_entire() # Returns your entire Keva database as a dictionary\r\nprint(database)\r\n\r\nkeva.delete(\"age\") # Deletes a key out of your Keva database\r\n\r\nkeva.reset() # Resets your entire Keva database to zero (or in other terms, just {} )\r\n\r\n```\r\n\r\nAnd that's it!\r\n\r\nNow you understand why I call it a beginner-friendly database ;)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python client for the Keva Database",
"version": "0.1",
"project_urls": {
"Homepage": "https://keva.pancakedev.repl.co"
},
"split_keywords": [
"database",
"key",
"value",
"key-value",
"kv"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "33cce2aeb2f253849daba380b19ab6d4e80a8b289e3faf9e58f8522eccadea65",
"md5": "211a5ee824be180a0da99c138ca07eb5",
"sha256": "638f621dc24928b0c3fba5c60687c708bc7eeedf2efd64ad9aa1b975ec337fb2"
},
"downloads": -1,
"filename": "Keva-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "211a5ee824be180a0da99c138ca07eb5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3537,
"upload_time": "2023-08-25T19:27:22",
"upload_time_iso_8601": "2023-08-25T19:27:22.529932Z",
"url": "https://files.pythonhosted.org/packages/33/cc/e2aeb2f253849daba380b19ab6d4e80a8b289e3faf9e58f8522eccadea65/Keva-0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3dd23ceb6ea825d899a6f44511b948677a45e1cdbbcc26ddd07916c145ba7db7",
"md5": "245468b3a1612f4e167f31b5360362cb",
"sha256": "4c86632da85d8ad3a06cc6ca7b35d52fcaaa39ebba6826ab8e0091f82ac374d6"
},
"downloads": -1,
"filename": "Keva-0.1.tar.gz",
"has_sig": false,
"md5_digest": "245468b3a1612f4e167f31b5360362cb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3370,
"upload_time": "2023-08-25T19:27:24",
"upload_time_iso_8601": "2023-08-25T19:27:24.072807Z",
"url": "https://files.pythonhosted.org/packages/3d/d2/3ceb6ea825d899a6f44511b948677a45e1cdbbcc26ddd07916c145ba7db7/Keva-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-25 19:27:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gugu256",
"github_project": "gugu256",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "keva"
}