{ "info": { "author": "UNKNOWN", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "A small command-line utility to take a CSV file and print a bar chart in\nyour terminal. Especially useful in combination with tools like CSVKit_,\nq_, and jq_.\n\n::\n\n $ curl -s http://www.census.gov/popest/data/national/totals/2015/files/NST-EST2015-alldata.csv | head -n 6 | bars --label NAME --value POPESTIMATE2015 --width 72 -\n NAME POPESTIMATE2015\n United States 321,418,820 \u2593\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\n Northeast Region 56,283,891 \u2593\u2591\u2591\u2591\u2591\u2591\n Midwest Region 67,907,403 \u2593\u2591\u2591\u2591\u2591\u2591\u2591\n South Region 121,182,847 \u2593\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\n West Region 76,044,679 \u2593\u2591\u2591\u2591\u2591\u2591\u2591\u2591\n +---------+---------------------------+\n 0 100,000,000 400,000,000\n\n* Repository: https://github.com/flother/bars\n* Issues: https://github.com/flother/bars/issues\n\nInstallation\n------------\n\n::\n\n pip install -e git+https://github.com/flother/bars#egg=bars\n\nRequirements\n------------\n\n* `Python 3`_\n* `Click`_\n* `Agate`_\n\nUsage\n-----\n\n::\n\n Usage: bars [OPTIONS] CSV\n \n Load a CSV file and output a bar chart.\n \n Options:\n --label TEXT Name or index of the column containing the label values.\n Defaults to the first text column.\n --value TEXT Name or index of the column containing the bar values.\n Defaults to the first numeric column.\n --domain NUMBER... Minimum and maximum values for the chart's x-axis.\n --width INTEGER Width, in characters, to use to print the chart.\n [default: 80]\n --skip INTEGER Number of rows to skip. [default: 0]\n --encoding TEXT Character encoding of the CSV file. [default: UTF-8]\n --no-header Indicates the CSV file contains no header row.\n --printable Only use printable characters to draw the bar chart.\n --help Show this message and exit.\n\n\n.. _CSVKit: http://csvkit.readthedocs.org/en/latest/\n.. _q: http://harelba.github.io/q/\n.. _jq: https://stedolan.github.io/jq/\n.. _Python 3: https://docs.python.org/3/\n.. _Click: http://click.pocoo.org/6/\n.. _Agate: http://agate.readthedocs.org/en/1.3.1/", "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/flother/bars", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "bars", "package_url": "https://pypi.org/project/bars/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bars/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/flother/bars" }, "release_url": "https://pypi.org/project/bars/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "A command-line interface that loads a CSV file and outputs a bar chart.", "version": "0.0.1" }, "last_serial": 2068666, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5be8aefb6207cad666243aaed3aa4dfe", "sha256": "c5c2ac1006760a8cc3a4c8cf65db4731bbc724bdd79d4e802abf721d093ab362" }, "downloads": -1, "filename": "bars-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5be8aefb6207cad666243aaed3aa4dfe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6301, "upload_time": "2016-04-17T21:02:05", "url": "https://files.pythonhosted.org/packages/26/53/878f52fb2bde34e7180f380fe7063ac0afe4b291c3127736fe571515635c/bars-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a133bf7f6823eeb50a01ff859961608", "sha256": "37e6db3fbe2012b527034c75f95bef055ae7ca3247185776cd39817e6ad1a227" }, "downloads": -1, "filename": "bars-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5a133bf7f6823eeb50a01ff859961608", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3999, "upload_time": "2016-04-17T21:02:24", "url": "https://files.pythonhosted.org/packages/fc/bb/38fc3ab8ee798c69cb143951c578fbce84790b7a2bd876e2c78ebfb2c7fc/bars-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5be8aefb6207cad666243aaed3aa4dfe", "sha256": "c5c2ac1006760a8cc3a4c8cf65db4731bbc724bdd79d4e802abf721d093ab362" }, "downloads": -1, "filename": "bars-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5be8aefb6207cad666243aaed3aa4dfe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6301, "upload_time": "2016-04-17T21:02:05", "url": "https://files.pythonhosted.org/packages/26/53/878f52fb2bde34e7180f380fe7063ac0afe4b291c3127736fe571515635c/bars-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a133bf7f6823eeb50a01ff859961608", "sha256": "37e6db3fbe2012b527034c75f95bef055ae7ca3247185776cd39817e6ad1a227" }, "downloads": -1, "filename": "bars-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5a133bf7f6823eeb50a01ff859961608", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3999, "upload_time": "2016-04-17T21:02:24", "url": "https://files.pythonhosted.org/packages/fc/bb/38fc3ab8ee798c69cb143951c578fbce84790b7a2bd876e2c78ebfb2c7fc/bars-0.0.1.tar.gz" } ] }