{ "info": { "author": "Luis Montiel", "author_email": "luismmontielg@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "pyplotter\n=========\n\nInstall\n-------\n\n::\n\n pip install pyplotter\n\nUsage\n-----\n\nCommand line\n~~~~~~~~~~~~\n\n::\n\n pyplotter 1 2 3 4 5\n pyplotter 1 2 3 4 5 --show-min-max --padding 1 --title testing --height 3\n pyplotter -h\n\nInside python shell\n~~~~~~~~~~~~~~~~~~~\n\n::\n\n import pyplotter as pyplotter\n data = range(1, 22)\n labels = map(str, data)\n title = \"My cool graph\"\n graph = pyplotter.Graph(data=data, labels=labels, title=title)\n pyplotter.Plotter.plot(graph, show_x_axis=False, padding=1)\n My cool graph\n \u2581 \u2581 \u2582 \u2582 \u2583 \u2584 \u2584 \u2585 \u2586 \u2586 \u2587 -- Max: 21\n \u2581 \u2582 \u2582 \u2583 \u2584 \u2584 \u2585 \u2586 \u2586 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 -- Min 1\n Data range: 1 - 21\n\n pyplotter.Plotter.plot(graph, show_x_axis=True, tail=5) # last 5 elements\n My cool graph\n \u2581 \u2584 \u2587 -- Max: 21\n \u2581 \u2584 \u2587 \u2587 \u2587 -- Min 17\n <17>[17] <18>[18] <19>[19] <20>[20] <21>[21]\n Data range: 17 - 21\n\nMultiple display options\n~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n help(pyplotter.Plotter.plot)\n plot(graph, show_x_axis=True, head=None, tail=None, label_length=4, padding=0, height=2, show_min_max=True, show_data_range=True, show_title=True)\n show_x_axis: Display X axis\n head: Show first [head:] elements\n tail: Show last [-tail:] elements\n padding: Padding size between columns (default 0)\n height: Override graph height\n label_length: Force X axis label string size, may truncate label\n show_min_max: Display Min and Max values on the left of the graph\n show_title: Display graph title (if any)\n show_data_range: Display X axis data range\n\n pyplotter.Plotter.plot(graph, show_x_axis=False, padding=1, height=10)\n Another example\n \u2587 \u2581 -- Max: 50\n \u2583 \u2584 \u2585 \u2587 \u2587\n \u2587 \u2581 \u2581 \u2587 \u2587 \u2587 \u2582 \u2587 \u2587 \u2581 \u2587 \u2587\n \u2587 \u2587 \u2586 \u2586 \u2587 \u2584 \u2587 \u2587 \u2587 \u2585 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587\n \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2586 \u2587 \u2582 \u2581 \u2587 \u2587 \u2587\n \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587\n \u2587 \u2584 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2582 \u2587\n \u2587 \u2587 \u2587 \u2586 \u2587 \u2587 \u2587 \u2584 \u2587 \u2587 \u2587 \u2587 \u2584 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587\n \u2587 \u2583 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587\n \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2584 \u2581 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 \u2587 -- Min 2\n\nNotes\n-----\n\n- When the markdown file is displayed as HTML, the bars do not align\n due to the spaces", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.github.com/luismmontielg/pyplotter", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "pyplotter", "package_url": "https://pypi.org/project/pyplotter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyplotter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.github.com/luismmontielg/pyplotter" }, "release_url": "https://pypi.org/project/pyplotter/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "Command line bar graphs", "version": "0.0.6" }, "last_serial": 998776, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2541ec1d42eb3f631f7cc4f25290a112", "sha256": "3ff8fb852753559baac8a41ca8330bfcb1e631fc1d602654a92c332466b32304" }, "downloads": -1, "filename": "pyplotter-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2541ec1d42eb3f631f7cc4f25290a112", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5802, "upload_time": "2013-10-06T01:31:53", "url": "https://files.pythonhosted.org/packages/ef/11/1f00fedb86a9d08cb6248b904e4e7b0efb99e52eade5147089e70865efe1/pyplotter-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e78f2b2e61bf5d590ea28230024c9771", "sha256": "89f032be3d56c47b025ac3c191b53942190088268e9a9620712e854731c27d8f" }, "downloads": -1, "filename": "pyplotter-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e78f2b2e61bf5d590ea28230024c9771", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6225, "upload_time": "2013-10-06T19:12:39", "url": "https://files.pythonhosted.org/packages/82/89/a5480e4bb982926165dbe583f1414f714177b7e7cf72aff4ed500a8b7770/pyplotter-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4b9734c99cc5923abe455b7121f9aadc", "sha256": "9d3aafd9b6cdcf1e981287910ec77c8c357f4a3e2ef8c37d046632924548cfcb" }, "downloads": -1, "filename": "pyplotter-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4b9734c99cc5923abe455b7121f9aadc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6233, "upload_time": "2013-11-19T05:48:45", "url": "https://files.pythonhosted.org/packages/63/14/ea8a5a9f6dccc01a42b87aac3430f294791e5574854be32cdd4518f989ac/pyplotter-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "79f1d3a8597b2f2a4f3dfb8fbf780863", "sha256": "5d2322bc4ec3b47bb6951861de189a529d47c62e097613e723b1476564a71f40" }, "downloads": -1, "filename": "pyplotter-0.0.4.tar.gz", "has_sig": false, "md5_digest": "79f1d3a8597b2f2a4f3dfb8fbf780863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6236, "upload_time": "2013-11-19T06:01:34", "url": "https://files.pythonhosted.org/packages/ec/84/af995a95f1c379f528d1de2bac5729e8b766bcfd0a2e797fbeb3b8f661b1/pyplotter-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "7586c5201abb8a94bc1e7b55ecb7486d", "sha256": "a0237ebd0caa4b3276716de75e5170531500037a8c80a99e57d81173be840359" }, "downloads": -1, "filename": "pyplotter-0.0.5.tar.gz", "has_sig": false, "md5_digest": "7586c5201abb8a94bc1e7b55ecb7486d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6107, "upload_time": "2014-02-12T06:50:12", "url": "https://files.pythonhosted.org/packages/68/4b/906ff5334dcf41f08bf597b32b00480f234ce8bd97ec389987b1122977e1/pyplotter-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "d6c082afa6b3bcc1110ee940fc19ccfc", "sha256": "df95e1b92bce6cb2eefe979b20d3e3d2515c9deba2da9ee47f27408e80e6237b" }, "downloads": -1, "filename": "pyplotter-0.0.6.tar.gz", "has_sig": false, "md5_digest": "d6c082afa6b3bcc1110ee940fc19ccfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6246, "upload_time": "2014-02-13T05:24:12", "url": "https://files.pythonhosted.org/packages/c3/6c/4e9659d0af2a8e9bb1ee1bd97056e7e321d83bcb359744ad052a5ba15aed/pyplotter-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d6c082afa6b3bcc1110ee940fc19ccfc", "sha256": "df95e1b92bce6cb2eefe979b20d3e3d2515c9deba2da9ee47f27408e80e6237b" }, "downloads": -1, "filename": "pyplotter-0.0.6.tar.gz", "has_sig": false, "md5_digest": "d6c082afa6b3bcc1110ee940fc19ccfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6246, "upload_time": "2014-02-13T05:24:12", "url": "https://files.pythonhosted.org/packages/c3/6c/4e9659d0af2a8e9bb1ee1bd97056e7e321d83bcb359744ad052a5ba15aed/pyplotter-0.0.6.tar.gz" } ] }