{ "info": { "author": "Derek Yu", "author_email": "derek-nis@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Text Processing :: General" ], "description": "## About\nThis python3 module aims to add additional functionality to the already amazing\nTablePrint (github.com/nirum/tableprint).\n\nWhile TablePrint is functionally excellent at printing out text to\nthe console in a beautiful manner, I have found that it lacks some dynamicism.\nWhen printing to a console that is constantly different sizes for example,\nwrapping the text around produces basically illegible tables.\n\nThis module aims to improve the situation where the user is doing data heavy\nstring representation, using data processing packages such as Pandas (which,\nthis module only supports, and also, _thank you_ to nirum for adding in Pandas\nDataFrame support). Based on the size of the console, and some priorities to\neach column given by the user, we will squish columns as needed until it fits\nnicely within the given constraints. When the console width changes, the\nprogram will need to be reloaded, but will adjust to fit the new screen.\n\n## Installation\nYou'll have to clone directly from github into your source repo for now.\nLooking into improving this!\n\n## Usage\n```py\nfrom dynamictableprint import DynamicTablePrint\nimport pandas as pd\n\nd = {\n 'names': [\n \"Albert Einstein\",\n \"Issac Newton\",\n \"Stephen Hawkings\"\n ],\n 'places': [\n \"Ulm, Germany\",\n \"Wolsthorpe Manor, United Kingdom\",\n \"Oxford, United Kingdom\"\n ],\n 'Foods': [\n \"Spaghetti\",\n \"Pasta\",\n \"Noodles\"\n ]\n}\ndata_frame = pd.DataFrame(data=d)\n\ndtp = DynamicTablePrint(data_frame, angel_column='Foods', squish_column='places')\ndtp.banner('Things!')\ndtp.\ndtp.write_to_screen()\n```\n\nThe `squish_column` represents the column that you would like to be squished\nfirst. Typically the 'squish factor' is 20% at most, but will dynamically vary\ndepending on how the other columns are. The `angel_column` is the column that\nyou would prefer to be modified last, that is, having the highest priority on\nbeing the same.\n\n## Dependencies\n`python3.6`, an possibly other versions `>3.0`\n`tableprint`\n`pandas`\n\n## License\n`MIT`\n\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/DerekYu177/dynamictableprint", "keywords": "table print display dynamic", "license": "", "maintainer": "", "maintainer_email": "", "name": "dynamictableprint", "package_url": "https://pypi.org/project/dynamictableprint/", "platform": "", "project_url": "https://pypi.org/project/dynamictableprint/", "project_urls": { "Bug Reports": "https://github.com/DerekYu177/dynamictableprint/issues", "Homepage": "https://github.com/DerekYu177/dynamictableprint", "Source": "https://github.com/DerekYu177/dynamictableprint/" }, "release_url": "https://pypi.org/project/dynamictableprint/1.0.3/", "requires_dist": [ "tableprint", "pandas; extra == 'dev'", "unittest; extra == 'test'", "pytest; extra == 'test'" ], "requires_python": "", "summary": "Wrapper around TablePrint to adjust columns to the window size", "version": "1.0.3" }, "last_serial": 4041940, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "649080f5c170488b3efb573a7e3b9b4b", "sha256": "4b49279ebe552b36da7fdce2d9c60f9810e86343fe761f2a489212f6ead64b37" }, "downloads": -1, "filename": "dynamictableprint-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "649080f5c170488b3efb573a7e3b9b4b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2490, "upload_time": "2018-06-28T14:50:48", "url": "https://files.pythonhosted.org/packages/b2/8e/2933ebb90ecaae0c68bcc43bc6c94248c7a90ab9ce1e61642063597200f0/dynamictableprint-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5f9e9a90cbce0673044d14a30b5f2d7", "sha256": "c502d3e02cad62d59b82c5ec1982bc551b71dbf5fb16b1c2bec2ce797c46ea0e" }, "downloads": -1, "filename": "dynamictableprint-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e5f9e9a90cbce0673044d14a30b5f2d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5076, "upload_time": "2018-06-28T14:50:49", "url": "https://files.pythonhosted.org/packages/28/e1/6b9bda03ebf00b91203d14461244e9e7c0e4c2c408a7121e75c8ea4fc75d/dynamictableprint-0.0.1.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ee2e1a4790e58a2861c9e42836111235", "sha256": "a5c6b151e2f3d86054ffbfed73df48f8d0e09b30063cba75524dbcc5a0b22c71" }, "downloads": -1, "filename": "dynamictableprint-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ee2e1a4790e58a2861c9e42836111235", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6632, "upload_time": "2018-06-28T16:30:53", "url": "https://files.pythonhosted.org/packages/7f/d6/6eb968092a95d97bb6c2f56c408964498c930aec5789dff05630972e69e0/dynamictableprint-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4e1aabef4ba6c75ccfd6439e83a50fb", "sha256": "2c79b11fcf7871c72a93975d8cbe17a788bc36ea1612318477398e80defb2ee0" }, "downloads": -1, "filename": "dynamictableprint-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b4e1aabef4ba6c75ccfd6439e83a50fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8234, "upload_time": "2018-06-28T16:30:54", "url": "https://files.pythonhosted.org/packages/ff/3d/f994c100aedbe3b7545f2838a624f8ffcf0527befe6ef1b527a4d8704077/dynamictableprint-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "c3d466c4105dd8476971f94c1153768d", "sha256": "922db06e8a972e1e46cabf969e87f8283aace23936e935e299838cd259b73349" }, "downloads": -1, "filename": "dynamictableprint-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c3d466c4105dd8476971f94c1153768d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6781, "upload_time": "2018-07-02T23:53:45", "url": "https://files.pythonhosted.org/packages/04/09/199e2c31a84203d96035527c75dc264eee1a898de811f95abf3e14322209/dynamictableprint-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c43ab5ed045cec853412c9e6e751177f", "sha256": "9d925c4618cb5643441199354f888cf6d901d4ee90b220884204df8f32b0d602" }, "downloads": -1, "filename": "dynamictableprint-1.0.2.tar.gz", "has_sig": false, "md5_digest": "c43ab5ed045cec853412c9e6e751177f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8786, "upload_time": "2018-07-02T23:53:46", "url": "https://files.pythonhosted.org/packages/a0/30/11db55cc6fe3512712c1760a50392c04bdab522b58162c52a56555863c68/dynamictableprint-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "159606dd49e9484b660f50e63a6917ab", "sha256": "96855b3b9c00470c3796602d95d677c565e50a3833b2e8ec529cf595229656fc" }, "downloads": -1, "filename": "dynamictableprint-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "159606dd49e9484b660f50e63a6917ab", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6798, "upload_time": "2018-07-09T00:47:35", "url": "https://files.pythonhosted.org/packages/00/58/4fdb80875e617c5245927da275172eec53c163b0f9fe2688fc3dd526dad8/dynamictableprint-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be1e257efd488fc192a497d0f0a6f314", "sha256": "1c5882e9ba7e85d9adec9e83f33d3faea9c1482eee8c8c0959b660338813f9e1" }, "downloads": -1, "filename": "dynamictableprint-1.0.3.tar.gz", "has_sig": false, "md5_digest": "be1e257efd488fc192a497d0f0a6f314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8813, "upload_time": "2018-07-09T00:47:36", "url": "https://files.pythonhosted.org/packages/3b/79/a0c564d7957a56b720a6115ce3fba59d997c16112bebd9657106372b0a38/dynamictableprint-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "159606dd49e9484b660f50e63a6917ab", "sha256": "96855b3b9c00470c3796602d95d677c565e50a3833b2e8ec529cf595229656fc" }, "downloads": -1, "filename": "dynamictableprint-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "159606dd49e9484b660f50e63a6917ab", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6798, "upload_time": "2018-07-09T00:47:35", "url": "https://files.pythonhosted.org/packages/00/58/4fdb80875e617c5245927da275172eec53c163b0f9fe2688fc3dd526dad8/dynamictableprint-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be1e257efd488fc192a497d0f0a6f314", "sha256": "1c5882e9ba7e85d9adec9e83f33d3faea9c1482eee8c8c0959b660338813f9e1" }, "downloads": -1, "filename": "dynamictableprint-1.0.3.tar.gz", "has_sig": false, "md5_digest": "be1e257efd488fc192a497d0f0a6f314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8813, "upload_time": "2018-07-09T00:47:36", "url": "https://files.pythonhosted.org/packages/3b/79/a0c564d7957a56b720a6115ce3fba59d997c16112bebd9657106372b0a38/dynamictableprint-1.0.3.tar.gz" } ] }