{ "info": { "author": "Red Hat", "author_email": "user-cont-team@redhat.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development", "Topic :: Utilities" ], "description": "# persistentdict\n\nYet another \\[1\\] dictionary backed by Redis DB.\n\nWe use Redis` 'hash' type \\[2\\] and store whole dictionary in one hash.\n\nUsage:\n\n```python\nfrom persistentdict.dict_in_redis import PersistentDict\n\ndb = PersistentDict(hash_name=\"my-persistent-dict\")\n\n# add key to the db with a value\ndb['key'] = value\n\n# show whole dictionary\nprint(db)\n\n# iterate over keys & values in db\nfor key, value in db.items():\n do_something(key)\n\n# do sth with key if it is in db\nif key in db:\n do_something(key)\n\n# delete key from db\ndel db['key']\n```\n\nInstallation:\n\n```shell\npip3 install persistentdict\n```\n\n\n\\[1\\] Alternatives: [persistent-dict](https://github.com/richardARPANET/persistent-dict), [durabledict](https://github.com/disqus/durabledict/)\n\n\\[2\\] https://redis.io/topics/data-types-intro#hashes is basically Python's dict, but values can be strings only, so we use json serialization", "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/user-cont/persistentdict", "keywords": "dict,durable,persistent,redis", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "persistentdict", "package_url": "https://pypi.org/project/persistentdict/", "platform": "", "project_url": "https://pypi.org/project/persistentdict/", "project_urls": { "Homepage": "https://github.com/user-cont/persistentdict" }, "release_url": "https://pypi.org/project/persistentdict/1.0.1/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Yet another dictionary backed by Redis DB", "version": "1.0.1", "yanked": false, "yanked_reason": null }, "last_serial": 7655975, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "840d5f9e69e0f2a80d1dd685e578ca3d", "sha256": "702aa0808aabad1ad2796de9c3ef8555d488da51b6bdc390017e041643a12c1d" }, "downloads": -1, "filename": "persistentdict-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "840d5f9e69e0f2a80d1dd685e578ca3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4756, "upload_time": "2019-09-10T10:25:50", "upload_time_iso_8601": "2019-09-10T10:25:50.884428Z", "url": "https://files.pythonhosted.org/packages/d7/5b/124265e15856aa809c59d2e7bb548236fd2da811b8c31d401a37f55f6288/persistentdict-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "a31f098ea42cb391fb4f4eca2a2428cb", "sha256": "0d7ff914be82b4677751d479dd483398dc532f1063f6467bbed21898e7503c66" }, "downloads": -1, "filename": "persistentdict-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a31f098ea42cb391fb4f4eca2a2428cb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5175, "upload_time": "2019-09-10T10:25:53", "upload_time_iso_8601": "2019-09-10T10:25:53.218787Z", "url": "https://files.pythonhosted.org/packages/88/1b/c875059ce68324cbe56fcd2a6922ff6673396da89712e2614e416f9855ee/persistentdict-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "4c7e5c672f0005997bbc4db7534c01ba", "sha256": "35c71cb98a420df7ea5a516c0536f14b5273cad6436cbbf3f217d7117cdbd855" }, "downloads": -1, "filename": "persistentdict-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4c7e5c672f0005997bbc4db7534c01ba", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6163, "upload_time": "2019-10-23T09:01:19", "upload_time_iso_8601": "2019-10-23T09:01:19.250786Z", "url": "https://files.pythonhosted.org/packages/5e/ea/956467974520a4ecfb6c297d589e983624684cf98dc1e0aac44d1dc528bc/persistentdict-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9bbaa4288a3fdc6a1048d585afa6ec4c", "sha256": "e768ddd195ac9b9fb8fb0b6a3ebca477e13a8168d6a6cb03f5d381bc7a7c681c" }, "downloads": -1, "filename": "persistentdict-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9bbaa4288a3fdc6a1048d585afa6ec4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4949, "upload_time": "2020-07-08T12:21:48", "upload_time_iso_8601": "2020-07-08T12:21:48.768199Z", "url": "https://files.pythonhosted.org/packages/2a/b6/c3c6f9927482652d4896e6fe71499f49458bd75f180d7f6e31db5b6420c8/persistentdict-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "1faffc2c972fb22ec7de082a24a32e1c", "sha256": "4077de2489a28a7757cb8afa32341811bbd7947249ea2cd0b0cf6c0bafc705ed" }, "downloads": -1, "filename": "persistentdict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1faffc2c972fb22ec7de082a24a32e1c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6686, "upload_time": "2020-07-08T12:14:48", "upload_time_iso_8601": "2020-07-08T12:14:48.282857Z", "url": "https://files.pythonhosted.org/packages/4f/19/0a4e80f0c00cb5b83111939daa3b25e4ab7068ecb7f761ec5020b8d0bac9/persistentdict-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9bbaa4288a3fdc6a1048d585afa6ec4c", "sha256": "e768ddd195ac9b9fb8fb0b6a3ebca477e13a8168d6a6cb03f5d381bc7a7c681c" }, "downloads": -1, "filename": "persistentdict-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9bbaa4288a3fdc6a1048d585afa6ec4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4949, "upload_time": "2020-07-08T12:21:48", "upload_time_iso_8601": "2020-07-08T12:21:48.768199Z", "url": "https://files.pythonhosted.org/packages/2a/b6/c3c6f9927482652d4896e6fe71499f49458bd75f180d7f6e31db5b6420c8/persistentdict-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "1faffc2c972fb22ec7de082a24a32e1c", "sha256": "4077de2489a28a7757cb8afa32341811bbd7947249ea2cd0b0cf6c0bafc705ed" }, "downloads": -1, "filename": "persistentdict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1faffc2c972fb22ec7de082a24a32e1c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6686, "upload_time": "2020-07-08T12:14:48", "upload_time_iso_8601": "2020-07-08T12:14:48.282857Z", "url": "https://files.pythonhosted.org/packages/4f/19/0a4e80f0c00cb5b83111939daa3b25e4ab7068ecb7f761ec5020b8d0bac9/persistentdict-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }