{ "info": { "author": "Pacharapol Withyasakpunt", "author_email": "patarapolw@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "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": "# tinydb-viewer\n\n[![PyPI version shields.io](https://img.shields.io/pypi/v/tinydb-viewer.svg)](https://pypi.python.org/pypi/tinydb-viewer/)\n[![PyPI license](https://img.shields.io/pypi/l/tinydb-viewer.svg)](https://pypi.python.org/pypi/tinydb-viewer/)\n\nView records generated from [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) and alike (e.g. list of dictionaries.)\n\n## Installation\n\nMethod 1:\n\n```commandline\n$ pip install tinydb-viewer\n```\n\nMethod 2:\n\n- Clone the project from GitHub\n- [Get poetry](https://github.com/sdispater/poetry) and `poetry install tinydb-viewer --path PATH/TO/TINYDB/VIEWER`\n\n## Usage\n\nRun a server initiation script first. This will allow you to edit the data as well.\n\n```python\nfrom tinydb_viewer import TinyDB\nTinyDB('db.json').runserver()\n```\n\nThen, in IPython or in Jupyter Notebook,\n\n```python\n>>> from tinydb_viewer import TinyDB\n>>> tdb = TinyDB('db.json')\n>>> tdb.search(tdb.query['foo'] == 'bar', sort_func=lambda x: x['baz'])\n>>> tdb.view()\n'The first page is shown.'\n>>> tdb.view(-1)\n'The last page is shown.'\n>>> tdb.previous()\n'The previous page (i-1) is shown.'\n>>> tdb.next()\n'The next page (i+1) is shown.'\n```\n\n## Bonus\n\nI extended TinyDB a little. My TinyDB is `'ensure_ascii' = False` by default, so that the file is a little smaller.\n\nAlso, it will use [tinydb-constraint](https://github.com/patarapolw/tinydb-constraint) by default, if it is installed.\n\n## Screenshots\n\n![](/screenshots/jupyter0.png?raw=true)\n\n## Related projects\n\n- [tinydb-constraint](https://github.com/patarapolw/tinydb-constraint) - Apply constraints before inserting and updating TinyDB records.\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/patarapolw/tinydb-viewer", "keywords": "TinyDB,HandsOnTable", "license": "MIT", "maintainer": "Pacharapol Withyasakpunt", "maintainer_email": "patarapolw@gmail.com", "name": "tinydb-viewer", "package_url": "https://pypi.org/project/tinydb-viewer/", "platform": "", "project_url": "https://pypi.org/project/tinydb-viewer/", "project_urls": { "Homepage": "https://github.com/patarapolw/tinydb-viewer" }, "release_url": "https://pypi.org/project/tinydb-viewer/0.2.7/", "requires_dist": [ "pyexcel (>=0.5.9,<0.6.0)", "pyexcel-text (>=0.2.7,<0.3.0)", "tinydb (>=3.11,<4.0)", "python-dateutil (>=2.7,<3.0)", "flask (>=1.0,<2.0)", "requests (>=2.19,<3.0)" ], "requires_python": "", "summary": "View records generated from TinyDB and alike (e.g. list of dictionaries.)", "version": "0.2.7" }, "last_serial": 4363336, "releases": { "0.2.3": [ { "comment_text": "", "digests": { "md5": "112db9ecf6648654a2a729f92cf5ef34", "sha256": "e7027dabb02ce47afd90b7b68d36486ab0da8f511bf00a334b8f3ce46d5d5f43" }, "downloads": -1, "filename": "tinydb_viewer-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "112db9ecf6648654a2a729f92cf5ef34", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16092, "upload_time": "2018-10-01T03:55:08", "url": "https://files.pythonhosted.org/packages/5a/10/a2e07e2cf5f13e8be8f5133fdb34a4e0a5517dadcee8c802243da9ae2e60/tinydb_viewer-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0474c393de9b47205e58c9a7b413e15b", "sha256": "0bfbef0243c5be472fe7e49991ff2cdc4f14da8b7f3f07037efdf97b4faa5313" }, "downloads": -1, "filename": "tinydb-viewer-0.2.3.tar.gz", "has_sig": false, "md5_digest": "0474c393de9b47205e58c9a7b413e15b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7046, "upload_time": "2018-10-01T03:55:06", "url": "https://files.pythonhosted.org/packages/a5/4b/3f2283fd5ec7d9ba3f42cb99e3f4631ea16e7b2e02c4a9d4aba43bac8c85/tinydb-viewer-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "819723c2f8773a06b73b3719dd615982", "sha256": "245cad1e5ac7be6b77931fa755c40c6fd7cb6b39acf17672d1bf3474c7b59396" }, "downloads": -1, "filename": "tinydb_viewer-0.2.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "819723c2f8773a06b73b3719dd615982", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16334, "upload_time": "2018-10-01T11:27:13", "url": "https://files.pythonhosted.org/packages/93/b1/b41f1f1d5c141fb7fe41ff113324dda1559f10b858031c54da8e278739b0/tinydb_viewer-0.2.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "17178975999d3eb2cd768f4597827b1e", "sha256": "feb3bb952bdd407d9fb77c0598946d9dfa40f791edefcc77f6136bd96756f504" }, "downloads": -1, "filename": "tinydb-viewer-0.2.4.tar.gz", "has_sig": false, "md5_digest": "17178975999d3eb2cd768f4597827b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7139, "upload_time": "2018-10-01T11:27:11", "url": "https://files.pythonhosted.org/packages/bb/69/e34fb63730cc5dcde54ed1d76a2a85d50e2a187945a087517d97e70d6e45/tinydb-viewer-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "b9c79e728f22847452a3b15e00e3dbba", "sha256": "15669e2d220c9f740b95c3044b524accb573f76a85335837136d674198d261c7" }, "downloads": -1, "filename": "tinydb_viewer-0.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9c79e728f22847452a3b15e00e3dbba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16710, "upload_time": "2018-10-01T19:19:50", "url": "https://files.pythonhosted.org/packages/4a/5a/bad6c13049cd4c6b3f241ec711c31eb59aa3fef5b02e97e3214532326a1c/tinydb_viewer-0.2.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2748ca8871bc14759287c1d62c93033e", "sha256": "4f833597373a5f6af54c77e39a5fdae8baea46875c3a42b71f474a3c4bb4f290" }, "downloads": -1, "filename": "tinydb-viewer-0.2.5.tar.gz", "has_sig": false, "md5_digest": "2748ca8871bc14759287c1d62c93033e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7258, "upload_time": "2018-10-01T19:19:48", "url": "https://files.pythonhosted.org/packages/3d/87/bfc8778c79bca0e6f6f672d1f366a4365ea3a00b800bd0222b1d4598c752/tinydb-viewer-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "43d5fe505013dc7c9723f9ab32ce3b21", "sha256": "8abc328d76be22e720bbc20e2af90ce3b148e3e5560855822b3eba986416d27b" }, "downloads": -1, "filename": "tinydb_viewer-0.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "43d5fe505013dc7c9723f9ab32ce3b21", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2271747, "upload_time": "2018-10-11T08:10:00", "url": "https://files.pythonhosted.org/packages/11/ff/aa4b0a01711f1af519d35d1e36fa438ccc8b81d8d97a277be4004ef1b2bd/tinydb_viewer-0.2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "352dd5ff248de3aea30558907666dd24", "sha256": "79de3f187c8712435cc827baf80de04c262c000207cb2979dd55f888a849e59a" }, "downloads": -1, "filename": "tinydb-viewer-0.2.6.tar.gz", "has_sig": false, "md5_digest": "352dd5ff248de3aea30558907666dd24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 450665, "upload_time": "2018-10-11T08:09:56", "url": "https://files.pythonhosted.org/packages/ef/15/475fb6ca01dbc37abafd52a053e9763379c056f762479791c79fe8897cc4/tinydb-viewer-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "9d0f8903dbb7d268e277c779d21205e0", "sha256": "2987e8d800f5d21ee69bb70fb98f5a1873371c0be6891232fbbde0310ad375a1" }, "downloads": -1, "filename": "tinydb_viewer-0.2.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9d0f8903dbb7d268e277c779d21205e0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 857806, "upload_time": "2018-10-11T08:32:35", "url": "https://files.pythonhosted.org/packages/9c/34/ee9f46456573a4f777f60da4959265fa22909d4c160c538db650bb8a1644/tinydb_viewer-0.2.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "229f129f8106b59732eed6afd61e851a", "sha256": "e63154d7f32ac41bd5ff259378ce62f0e3de22feedd35844f8bdab8c42793bc1" }, "downloads": -1, "filename": "tinydb-viewer-0.2.7.tar.gz", "has_sig": false, "md5_digest": "229f129f8106b59732eed6afd61e851a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 213515, "upload_time": "2018-10-11T08:32:32", "url": "https://files.pythonhosted.org/packages/56/36/dc0ffd5c9ce2e387a22b20ba4738cd310dd2cb4cc96f9d9bc6b353e1bddb/tinydb-viewer-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9d0f8903dbb7d268e277c779d21205e0", "sha256": "2987e8d800f5d21ee69bb70fb98f5a1873371c0be6891232fbbde0310ad375a1" }, "downloads": -1, "filename": "tinydb_viewer-0.2.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9d0f8903dbb7d268e277c779d21205e0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 857806, "upload_time": "2018-10-11T08:32:35", "url": "https://files.pythonhosted.org/packages/9c/34/ee9f46456573a4f777f60da4959265fa22909d4c160c538db650bb8a1644/tinydb_viewer-0.2.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "229f129f8106b59732eed6afd61e851a", "sha256": "e63154d7f32ac41bd5ff259378ce62f0e3de22feedd35844f8bdab8c42793bc1" }, "downloads": -1, "filename": "tinydb-viewer-0.2.7.tar.gz", "has_sig": false, "md5_digest": "229f129f8106b59732eed6afd61e851a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 213515, "upload_time": "2018-10-11T08:32:32", "url": "https://files.pythonhosted.org/packages/56/36/dc0ffd5c9ce2e387a22b20ba4738cd310dd2cb4cc96f9d9bc6b353e1bddb/tinydb-viewer-0.2.7.tar.gz" } ] }