{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n[![](https://img.shields.io/pypi/pyversions/kv-cache.svg?longCache=True)](https://pypi.org/project/kv-cache/)\n\n#### Installation\n```bash\n$ [sudo] pip install kv-cache\n```\n\n#### How it works\n```\n$KV_CACHE/\n```\n\n`$XDG_CACHE_HOME/kv-value/` by default\n\n#### Functions\nfunction|`__doc__`\n-|-\n`kv_cache.exists(key)` |return True if key exists, else False\n`kv_cache.get(key)` |get cache value\n`kv_cache.rm(key)` |remove cache key\n`kv_cache.update(key, string)` |update cache value\n\n#### Examples\n```python\n>>> import kv_cache\n>>> kv_cache.update(\"key\",'value')\n>>> kv_cache.get(\"key\")\n'value'\n>>> kv_cache.exists(\"key\")\nTrue\n>>> kv_cache.rm(\"key\")\n>>> kv_cache.clear() # clear all keys\n```\n\n

\n python-readme-generator\n

", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andrewp-as-is/kv-cache.py", "keywords": "key value cache", "license": "", "maintainer": "", "maintainer_email": "", "name": "kv-cache", "package_url": "https://pypi.org/project/kv-cache/", "platform": "", "project_url": "https://pypi.org/project/kv-cache/", "project_urls": { "Homepage": "https://github.com/andrewp-as-is/kv-cache.py" }, "release_url": "https://pypi.org/project/kv-cache/2019.9.25/", "requires_dist": null, "requires_python": "", "summary": "key value cache", "version": "2019.9.25" }, "last_serial": 5889178, "releases": { "2019.9.25": [ { "comment_text": "", "digests": { "md5": "0f1b716e28ea7dac1badf68c1cc40bbc", "sha256": "630916d6b5465821ac547c725a56e97d2f5387d188285f321313bc98c23d716d" }, "downloads": -1, "filename": "kv-cache-2019.9.25.tar.gz", "has_sig": false, "md5_digest": "0f1b716e28ea7dac1badf68c1cc40bbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1620, "upload_time": "2019-09-26T08:06:53", "url": "https://files.pythonhosted.org/packages/ce/73/30c1bd64e7208416d0cddaaa8fc55e507a976c13cf92d789661cc2c91e83/kv-cache-2019.9.25.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0f1b716e28ea7dac1badf68c1cc40bbc", "sha256": "630916d6b5465821ac547c725a56e97d2f5387d188285f321313bc98c23d716d" }, "downloads": -1, "filename": "kv-cache-2019.9.25.tar.gz", "has_sig": false, "md5_digest": "0f1b716e28ea7dac1badf68c1cc40bbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1620, "upload_time": "2019-09-26T08:06:53", "url": "https://files.pythonhosted.org/packages/ce/73/30c1bd64e7208416d0cddaaa8fc55e507a976c13cf92d789661cc2c91e83/kv-cache-2019.9.25.tar.gz" } ] }