{ "info": { "author": "Christopher Brown", "author_email": "io@henrian.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Text Processing :: General" ], "description": "viz\n===\n\nData visualization in the terminal.\n\nInstall\n-------\n\n**From PyPI:**\n\n::\n\n easy_install viz\n\n**From source:**\n\n::\n\n git clone https://github.com/chbrown/viz.git\n cd viz\n python setup.py install\n\nThe CLI entry point is ``viz``, which should be installed on your\n``PATH``.\n\nCommands\n--------\n\n``viz hist``\n~~~~~~~~~~~~\n\nRead floats from ``stdin`` and plot as a single line histogram.\n\n**Example**: ping google every 100ms (0.1s) and plot the first 50\nresponse times you get back:\n\n::\n\n ping -i 0.1 google.com | head -50 | sed -n 's/.*time=\\(.*\\) ms/\\1/p' | viz hist\n\nExample result (which should fit your terminal width automatically):\n\n::\n\n 26.1390000[\u2581 \u2581\u2581 \u2581\u2581\u2582\u2582 \u2589 \u2582\u2582 \u2583 \u2582\u2581\u2582 \u2581 \u2581\u2581 \u2581 \u2581 ]39.5580000\n\n``viz total``\n~~~~~~~~~~~~~\n\nRead floats from ``stdin`` and sum them. No graphics, but useful because\n``awk '{sum+=$1}END{print sum}`` is too long.\n\n**Example**: count the bytes used by the current directory and its\nchildren.\n\n::\n\n find . -ls | tr -s ' ' | cut -d ' ' -f 7 | viz total\n\nExample result:\n\n::\n\n 8519086.0\n\nCompare to du:\n\n::\n\n echo $[$(du -sk . | cut -f 1) * 1024]\n > 8531968\n\n``viz points``\n~~~~~~~~~~~~~~\n\nRead floats from ``stdin``, plot on a single line from left to right\nwith as much granularity as the terminal will allow. Otherwise, bin\nincrementally and plot the arithmetic mean of each bin.\n\n**Example**: ping some really awful website every 100ms, plot the first\n100 successful responses (takes about 10s).\n\n::\n\n ping -i 0.1 godaddy.com | head -100 | sed -n 's/.*time=\\(.*\\) ms/\\1/p' | viz points\n\nExample result:\n\n::\n\n [+156.298000]\n \u2583\u2583 \u2581\u2583 \u2581 \u2581\u2581 \u2581 \u2581 \u2581\u2581\u2581\u2582 \u2583\u2582 \u2589\u2582 \u2581 \u2581\u2581 \u2581\u2582\u2581 \u2581 \u2581 \u2581 \u2581\n [+70.593000]\n\nThe top line is the maximum, the bottom is the minimum. The other values\nare scaled linearly between those extremes.\n\nDependencies:\n-------------\n\n- ``numpy``\n\nRelated projects (mostly graphical visualizations for Python)\n-------------------------------------------------------------\n\n- `Matplotlib `__: feels\n archaic to the touch. The pyplot fans have never run ``import this``,\n the interface is unguessable and murkily documented.\n- `Bokeh `__: haven't used yet\n- `Vispy `__: haven't used yet\n\nLicense\n-------\n\nCopyright (c) 2013 Christopher Brown. `MIT\nLicensed `__.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chbrown/viz", "keywords": "console terminal data visualization plot histogram", "license": "Copyright (c) 2013 Christopher Brown\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "viz", "package_url": "https://pypi.org/project/viz/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/viz/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/chbrown/viz" }, "release_url": "https://pypi.org/project/viz/0.0.5/", "requires_dist": null, "requires_python": null, "summary": "Data visualization in the terminal", "version": "0.0.5" }, "last_serial": 973292, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "b9e6dc8dfd7ef5df500f8f6d40148d74", "sha256": "e0f7eb09ae03feb728a50a9797052f80f0887488b266973b3c1930e0c8d40181" }, "downloads": -1, "filename": "viz-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b9e6dc8dfd7ef5df500f8f6d40148d74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4596, "upload_time": "2013-11-14T02:47:58", "url": "https://files.pythonhosted.org/packages/63/a2/93f6383dc86f7ab07e4d3defb06fced5ff00afd8cf0038707e19c345e71a/viz-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "bb24f1a6e82017cb1e29842fded6798d", "sha256": "55855a45c63d34aec5c5d3a010c2cb0df21bf315d86a41a9d6d5287e3d581bed" }, "downloads": -1, "filename": "viz-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bb24f1a6e82017cb1e29842fded6798d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5501, "upload_time": "2013-12-07T03:12:19", "url": "https://files.pythonhosted.org/packages/db/19/65e7a4709f4e8c554c87bcbb542de79301e20fb2824df159cfb2138d3fdc/viz-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "74b1efeac3882f591af485a840a313e5", "sha256": "a320217d03aa0f9c09da707c6351b9a6e7e9df1e880b1fcd572643122522400e" }, "downloads": -1, "filename": "viz-0.0.4.tar.gz", "has_sig": false, "md5_digest": "74b1efeac3882f591af485a840a313e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6764, "upload_time": "2014-01-18T13:40:18", "url": "https://files.pythonhosted.org/packages/a6/1c/797e35e7da3b5e281e0df352985eefde1a60c95b469b75a28a05a3442125/viz-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "962322eb715dab11f3492ce2abb792c9", "sha256": "fc47a0678f49336772271695c8a057edb6d75c63eb400bc5603d12091d95762d" }, "downloads": -1, "filename": "viz-0.0.5.tar.gz", "has_sig": false, "md5_digest": "962322eb715dab11f3492ce2abb792c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7291, "upload_time": "2014-01-18T13:51:58", "url": "https://files.pythonhosted.org/packages/78/10/cf785aca299d0e62dbd5a00d6b9cb1e88b44838bd8ce036cb60fb9e826fa/viz-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "962322eb715dab11f3492ce2abb792c9", "sha256": "fc47a0678f49336772271695c8a057edb6d75c63eb400bc5603d12091d95762d" }, "downloads": -1, "filename": "viz-0.0.5.tar.gz", "has_sig": false, "md5_digest": "962322eb715dab11f3492ce2abb792c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7291, "upload_time": "2014-01-18T13:51:58", "url": "https://files.pythonhosted.org/packages/78/10/cf785aca299d0e62dbd5a00d6b9cb1e88b44838bd8ce036cb60fb9e826fa/viz-0.0.5.tar.gz" } ] }