{ "info": { "author": "Ali Ghahraei", "author_email": "aligf94@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# tinydb-dict\nSimple dict-like class for TinyDB\n\n## Usage\n```python\nfrom tinydb import TinyDB\nfrom tinydb.storages import MemoryStorage\nfrom tinydb_dict import TinyDBDict\n\n# Pass any TinyDB argument to TinyDBDict\ndb_dict = TinyDBDict('db.json')\ndb_dict = TinyDBDict(storage=MemoryStorage)\n\n# Then use it as a dictionary\ndb_dict['key'] = 1\ndb_dict['key'] # 1\ndb_dict['key'] = 2\ndb_dict['key'] # 2\ndb_dict['unknown_key'] # KeyError: 'unknown_key'\n\n# You can also pass a TinyDB instance\ndb = TinyDB('db.json')\ndb_dict = TinyDBDict(tinydb=db)\n```\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/AliGhahraei/tinydb-dict", "keywords": "tinydb", "license": "MIT", "maintainer": "Ali Ghahraei", "maintainer_email": "aligf94@gmail.com", "name": "tinydb-dict", "package_url": "https://pypi.org/project/tinydb-dict/", "platform": "", "project_url": "https://pypi.org/project/tinydb-dict/", "project_urls": { "Homepage": "https://github.com/AliGhahraei/tinydb-dict", "Repository": "https://github.com/AliGhahraei/tinydb-dict" }, "release_url": "https://pypi.org/project/tinydb-dict/0.1.2/", "requires_dist": [ "tinydb (>=3.13,<4.0)" ], "requires_python": ">=3.7,<4.0", "summary": "Simple dict-like class for TinyDB", "version": "0.1.2" }, "last_serial": 5632135, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "61c0fa73d7d5ffe0a11d3deff5275090", "sha256": "b6f3f94153ab959f07e775af6dcb7de7d72ba9dc83e2dd97b5ac2353037ce0ca" }, "downloads": -1, "filename": "tinydb_dict-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "61c0fa73d7d5ffe0a11d3deff5275090", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 1907, "upload_time": "2019-07-21T20:51:48", "url": "https://files.pythonhosted.org/packages/24/d5/02457e117a50a72eca2a51f9aa42f425b284c5c93ad1add0021440ce39d0/tinydb_dict-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ebdd6b749dc4762363f8b3c597d1501c", "sha256": "e20a5c38182b58655e70a6ec0cbb36b4b3344b846c30b6897e09b648c7171795" }, "downloads": -1, "filename": "tinydb-dict-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ebdd6b749dc4762363f8b3c597d1501c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 1869, "upload_time": "2019-07-21T20:51:46", "url": "https://files.pythonhosted.org/packages/61/97/76d1da632488bf039b396e12e3f6fcfc5c10a02b082d881e6fa055169754/tinydb-dict-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6971541e1bfaaaf8996909539a1fbe5d", "sha256": "04383b94ab7d133e511ae60cbf9972168e1ab19d0bc0bcf038c5944da8a81dd8" }, "downloads": -1, "filename": "tinydb_dict-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6971541e1bfaaaf8996909539a1fbe5d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 2140, "upload_time": "2019-08-05T01:39:02", "url": "https://files.pythonhosted.org/packages/86/76/bfa6bc12e30ad5a3da9b036ce9a3b0b8c27a3d44f23edb2a8fd9f6eb5d93/tinydb_dict-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59a7c23b7596c72f7d8144a674a7f890", "sha256": "209caab60d76de297caea7895d83fe453611914c004505150642077acfa10770" }, "downloads": -1, "filename": "tinydb-dict-0.1.2.tar.gz", "has_sig": false, "md5_digest": "59a7c23b7596c72f7d8144a674a7f890", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 2020, "upload_time": "2019-08-05T01:39:01", "url": "https://files.pythonhosted.org/packages/c6/5c/2e055332daffe8f506826f33e4bdb54fce44c144e63b78776c31a4cdf9bb/tinydb-dict-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6971541e1bfaaaf8996909539a1fbe5d", "sha256": "04383b94ab7d133e511ae60cbf9972168e1ab19d0bc0bcf038c5944da8a81dd8" }, "downloads": -1, "filename": "tinydb_dict-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6971541e1bfaaaf8996909539a1fbe5d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 2140, "upload_time": "2019-08-05T01:39:02", "url": "https://files.pythonhosted.org/packages/86/76/bfa6bc12e30ad5a3da9b036ce9a3b0b8c27a3d44f23edb2a8fd9f6eb5d93/tinydb_dict-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59a7c23b7596c72f7d8144a674a7f890", "sha256": "209caab60d76de297caea7895d83fe453611914c004505150642077acfa10770" }, "downloads": -1, "filename": "tinydb-dict-0.1.2.tar.gz", "has_sig": false, "md5_digest": "59a7c23b7596c72f7d8144a674a7f890", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 2020, "upload_time": "2019-08-05T01:39:01", "url": "https://files.pythonhosted.org/packages/c6/5c/2e055332daffe8f506826f33e4bdb54fce44c144e63b78776c31a4cdf9bb/tinydb-dict-0.1.2.tar.gz" } ] }