{ "info": { "author": "Ilya Terentyev", "author_email": "bacondropped@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: Freely Distributable", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Utilities" ], "description": "termdraw - ASCII/Unicode data visualizer\r\n========================================\r\n\r\n`termdraw` is a utility written in Python 3 that draws CSV data of form `x,y`\r\nas text graphs.\r\n\r\nUsage examples\r\n==============\r\n\r\n.. sourcecode:: bash\r\n\r\n $ cat data.csv\r\n 0,41.492605310851346\r\n 1,-61.90512769272529\r\n 2,-5.705460535578624\r\n 3,-45.40738693881286\r\n 4,48.57733683988141\r\n 5,-11.09276051450491\r\n 6,-48.857646527799886\r\n 7,20.02380594874974\r\n 8,3.8265498423428568\r\n 9,-4.993006692763217\r\n 0,17.534954337402368\r\n 1,-12.048399887989433\r\n 2,-67.66449062064824\r\n 3,33.3847844218531\r\n 4,36.73010900554392\r\n 5,62.315666298226745\r\n 6,-59.496317272986865\r\n 7,74.93745996536751\r\n 8,-7.867224323068683\r\n 9,51.88925397139964\r\n $ termdraw data.csv\r\n \u2022\r\n \u2022\r\n \u2022 \u2022\r\n \u2022 \u2022 \u2022\r\n \u2022 \u2022\r\n \u2022\r\n \u2022 \u2022 \u2022 \u2022 \u2022\r\n\r\n \u2022 \u2022\r\n \u2022 \u2022 \u2022\r\n\r\n\r\nAssume data.csv contains a list of (x,y) points, graph those points, print the\r\nresult to stdout.\r\n\r\n.. sourcecode:: bash\r\n\r\n $ termdraw data.csv --width=10 -h 5\r\n \u2022\r\n \u2022 \u2022\u2022 \u2022\r\n \u2022 \u2022\u2022 \u2022\u2022\r\n \u2022\u2022 \u2022 \u2022\u2022\r\n \u2022\u2022\u2022 \u2022\r\n\r\nDraw graphs with dimensions of 10 characters' width and height of 5 lines.\r\n\r\n.. sourcecode:: bash\r\n\r\n $ echo \"1,2 2,3 3,4;4,5\" | termdraw -\r\n \u2022\r\n\r\n\r\n \u2022\r\n\r\n\r\n \u2022\r\n\r\n\r\n \u2022\r\n\r\nRead standard input and graph x,y points. Data received via stdin must have the\r\nfollowing format: `x,y[%Sx,y...]`, where %S is a separator (a single space or\r\nsemicolon).\r\n\r\n.. sourcecode:: bash\r\n\r\n $ echo \"1,2 2,3 3,4 4,5\" | termdraw - -a\r\n o\r\n\r\n\r\n o\r\n\r\n\r\n o\r\n\r\n\r\n o\r\n\r\nOnly use ASCII symbols in output.\r\n\r\n.. sourcecode:: bash\r\n\r\n $ termdraw data.csv -s\r\n\r\n \u2581 \u2588\r\n \u2582 \u2588 \u2588 \u2584\r\n \u2587 \u2583 \u2588 \u2588 \u2588 \u2588\r\n \u2588 \u2588 \u2588 \u2588 \u2588 \u2588\r\n \u2588 \u2588 \u2588 \u2588 \u2588 \u2584 \u2588\r\n \u2588 \u2584 \u2587 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588\r\n \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588\r\n \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2581 \u2588 \u2588 \u2588\r\n \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588\r\n\r\nDraw a solid graph (fills values at or below the points).\r\n\r\n.. sourcecode:: bash\r\n\r\n $ termdraw data.csv -si\r\n\r\n \u2581 \u2588\r\n \u2582\u2584\u2586\u2587\u2588 \u2588\u2584 \u2584\r\n \u2587 \u2583\u2585\u2588\u2588\u2588\u2588\u2588\u2588 \u2583\u2588\u2588 \u2586\u2588\r\n \u2588\u2586 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2586 \u2588\u2588\u2588\u2588 \u2582\u2588\u2588\u2588\r\n \u2588\u2588\u2585 \u2585\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2584\u2588\u2588\u2588\u2588\r\n \u2588\u2588\u2588\u2584\u2585\u2586\u2587\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2586\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\r\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\r\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\r\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\r\n\r\nDraw a graph with linear interpolation between points.\r\n\r\n.. sourcecode:: bash\r\n\r\n $ termdraw data.csv --print-paths\r\n data.csv\r\n \u2022\r\n \u2022\r\n \u2022 \u2022\r\n \u2022 \u2022 \u2022\r\n \u2022 \u2022\r\n \u2022\r\n \u2022 \u2022 \u2022 \u2022 \u2022\r\n\r\n \u2022 \u2022\r\n \u2022 \u2022 \u2022\r\n\r\nPrint file paths on a separate line before printing their graphs.\r\n\r\n.. sourcecode:: bash\r\n\r\n $ termdraw --help\r\n Usage: termdraw.py [options] file.csv\r\n Draw a human-friendly CLI graph with Unicode symbols.\r\n\r\n --help Print this help message and exit\r\n -w X, --width X Limit graph width to X characters\r\n -h Y, --height Y Limit graph height to Y lines\r\n -i, --interpolate Enable interpolation\r\n -n, --no-interpolate Disable interpolation\r\n -s, --solid Draw solid graph (with columns)\r\n -p, --point Draw point graph (with points)\r\n -a, --ascii Only use ASCII symbols\r\n -o file, --output file Write to file instead of stdout\r\n --print-paths Print file names before graphs\r\n\r\nPrint a help message.", "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/bacondropped/termdraw", "keywords": "data graph ascii visualization", "license": "MIT", "maintainer": "Ilya Terentyev", "maintainer_email": "bacondropped@gmail,com", "name": "termdraw", "package_url": "https://pypi.org/project/termdraw/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/termdraw/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bacondropped/termdraw" }, "release_url": "https://pypi.org/project/termdraw/0.1/", "requires_dist": null, "requires_python": null, "summary": "Utility library for textual data visualization", "version": "0.1" }, "last_serial": 1926487, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8264a332f8b541751264526743361ecd", "sha256": "dc8bdfda0cf77d93e30dc19e3ec8ddec84d38f435286bb9fe4285fc036d753fd" }, "downloads": -1, "filename": "termdraw-0.1-py2-none-any.whl", "has_sig": true, "md5_digest": "8264a332f8b541751264526743361ecd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 25152, "upload_time": "2016-01-21T19:05:13", "url": "https://files.pythonhosted.org/packages/cb/6b/058c290aa93e3d99511339445d01b5b8d518d1b0d5ff2cd8be0ff1292f71/termdraw-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ded2ebb2f3d48c0c01f574f12e4947db", "sha256": "a8697f67dc7e7273055b6db4e72599059fed0d1ada7651fc177c1a1a54bbbe8e" }, "downloads": -1, "filename": "termdraw-0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "ded2ebb2f3d48c0c01f574f12e4947db", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 25152, "upload_time": "2016-01-21T19:05:49", "url": "https://files.pythonhosted.org/packages/91/a9/8d676a5baa2a9c3abbe6e4fd8c2447f31a39c3a8094acfb679dd769af84d/termdraw-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62ec2ac194b5ce0db1c81346af78ede6", "sha256": "1283fc1797858794262b63784385e10700be2329689be5d57d2f81f0dd175dba" }, "downloads": -1, "filename": "termdraw-0.1.tar.gz", "has_sig": true, "md5_digest": "62ec2ac194b5ce0db1c81346af78ede6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7552, "upload_time": "2016-01-21T19:06:08", "url": "https://files.pythonhosted.org/packages/d6/00/6a0cd16d6a7bb9aa2ddb1e0ddd181c8282f2412a872087242b357e6b4ed1/termdraw-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8264a332f8b541751264526743361ecd", "sha256": "dc8bdfda0cf77d93e30dc19e3ec8ddec84d38f435286bb9fe4285fc036d753fd" }, "downloads": -1, "filename": "termdraw-0.1-py2-none-any.whl", "has_sig": true, "md5_digest": "8264a332f8b541751264526743361ecd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 25152, "upload_time": "2016-01-21T19:05:13", "url": "https://files.pythonhosted.org/packages/cb/6b/058c290aa93e3d99511339445d01b5b8d518d1b0d5ff2cd8be0ff1292f71/termdraw-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ded2ebb2f3d48c0c01f574f12e4947db", "sha256": "a8697f67dc7e7273055b6db4e72599059fed0d1ada7651fc177c1a1a54bbbe8e" }, "downloads": -1, "filename": "termdraw-0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "ded2ebb2f3d48c0c01f574f12e4947db", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 25152, "upload_time": "2016-01-21T19:05:49", "url": "https://files.pythonhosted.org/packages/91/a9/8d676a5baa2a9c3abbe6e4fd8c2447f31a39c3a8094acfb679dd769af84d/termdraw-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62ec2ac194b5ce0db1c81346af78ede6", "sha256": "1283fc1797858794262b63784385e10700be2329689be5d57d2f81f0dd175dba" }, "downloads": -1, "filename": "termdraw-0.1.tar.gz", "has_sig": true, "md5_digest": "62ec2ac194b5ce0db1c81346af78ede6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7552, "upload_time": "2016-01-21T19:06:08", "url": "https://files.pythonhosted.org/packages/d6/00/6a0cd16d6a7bb9aa2ddb1e0ddd181c8282f2412a872087242b357e6b4ed1/termdraw-0.1.tar.gz" } ] }