{ "info": { "author": "Lev Zakharov", "author_email": "l.j.zakharov@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2018 Lev Zakharov\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 all\ncopies 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 THE\nSOFTWARE.\n\nDescription: # csv2md [![PyPI version](https://badge.fury.io/py/csv2md.svg)](https://badge.fury.io/py/csv2md) [![Build Status](https://travis-ci.org/lzakharov/csv2md.svg?branch=master)](https://travis-ci.org/lzakharov/csv2md) [![Coverage Status](https://codecov.io/gh/lzakharov/csv2md/branch/master/graph/badge.svg)](https://codecov.io/gh/lzakharov/csv2md)\n \n Command line tool for converting CSV files into Markdown tables.\n \n ## Installation\n \n csv2md can be installed from source:\n \n ```commandline\n # type in project directory\n python setup.py install\n ```\n \n Or with `pip` from PyPI:\n ```commandline\n pip install csv2md\n ```\n \n ### Requirements\n \n - Python 3.6 or later. See https://www.python.org/getit/\n \n ## Usage\n \n Generate Markdown table from CSV file:\n \n ```commandline\n csv2md table.csv\n ```\n \n Generate Markdown tables from list of CSV files:\n \n ```commandline\n csv2md table1.csv table2.csv table3.csv\n ```\n \n Generate Markdown table from standard input:\n \n ```commandline\n csv2md\n ```\n \n ### Examples\n \n Input file: `simple.csv`\n \n ```\n year,make,model,description,price\n 1997,Ford,E350,\"ac, abs, moon\",3000.00\n 1999,Chevy,\"Venture \u00abExtended Edition\u00bb\",\"\",4900.00\n 1996,Jeep,Grand Cherokee,\"MUST SELL! air, moon roof, loaded\",4799.00\n ```\n \n Output: `csv2md simple.csv`\n \n ```\n | year | make | model | description | price |\n | ---- | ----- | -------------------------- | --------------------------------- | ------- |\n | 1997 | Ford | E350 | ac, abs, moon | 3000.00 |\n | 1999 | Chevy | Venture \u00abExtended Edition\u00bb | | 4900.00 |\n | 1996 | Jeep | Grand Cherokee | MUST SELL! air, moon roof, loaded | 4799.00 |\n ```\n \n Markdown table:\n \n | year | make | model | description | price |\n | ---- | ----- | -------------------------- | --------------------------------- | ------- |\n | 1997 | Ford | E350 | ac, abs, moon | 3000.00 |\n | 1999 | Chevy | Venture \u00abExtended Edition\u00bb | | 4900.00 |\n | 1996 | Jeep | Grand Cherokee | MUST SELL! air, moon roof, loaded | 4799.00 |\n \n You can also specify delimiter and quotation characters (see [Help](https://github.com/lzakharov/csv2md#help)). \n \n ## Help\n \n To view help run `csv2md -h`:\n \n ```commandline\n usage: csv2md.py [-h] [-d DELIMITER] [-q QUOTECHAR] [CSV_FILE [CSV_FILE ...]]\n \n Parse CSV files into Markdown tables.\n \n positional arguments:\n CSV_FILE One or more CSV files to parse\n \n optional arguments:\n -h, --help show this help message and exit\n -d DELIMITER, --delimiter DELIMITER\n delimiter character. Default is ','\n -q QUOTECHAR, --quotechar QUOTECHAR\n quotation character. Default is '\"'\n ```\n \n ## Running Tests\n \n To run the tests, enter:\n \n ```commandline\n nosetests\n ```\n \n ## Issue tracker\n Please report any bugs and enhancement ideas using the csv2md issue tracker:\n \n https://github.com/lzakharov/csv2md/issues\n \n Feel free to also ask questions on the tracker.\n \n ## License\n \n Copyright (c) 2018 Lev Zakharov. Licensed under [the MIT License](https://raw.githubusercontent.com/lzakharov/csv2md/master/LICENSE).\n \nPlatform: UNKNOWN\nDescription-Content-Type: text/markdown\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lzakharov/csv2md", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "csv2md", "package_url": "https://pypi.org/project/csv2md/", "platform": "", "project_url": "https://pypi.org/project/csv2md/", "project_urls": { "Homepage": "https://github.com/lzakharov/csv2md" }, "release_url": "https://pypi.org/project/csv2md/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Command line tool for converting CSV files into Markdown tables.", "version": "1.0.1" }, "last_serial": 4672550, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "1a0387f5458d32998eb8b25d06c7afc1", "sha256": "970cda5f1b6dc0cce1940a2c2f198d554ba065240b95e3248fd2203af097355c" }, "downloads": -1, "filename": "csv2md-1.0.1-py3.6.egg", "has_sig": false, "md5_digest": "1a0387f5458d32998eb8b25d06c7afc1", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 5505, "upload_time": "2019-01-08T11:04:55", "url": "https://files.pythonhosted.org/packages/e1/a6/e2c3e7fde21b35adb51a18ea03550cdd33090cee22f09e4dcdf910df760b/csv2md-1.0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "a307b1e021851a23edde150c4ccb4859", "sha256": "1a6593b5d70a8a6e952fb795f0f1ac7fc8546494fe8ba5d66aaef0c2e5570103" }, "downloads": -1, "filename": "csv2md-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a307b1e021851a23edde150c4ccb4859", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4852, "upload_time": "2019-01-08T11:08:08", "url": "https://files.pythonhosted.org/packages/40/97/86ec5a90ea215465aaf25fc97e743effda1b94134e38d3a150499414d283/csv2md-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df4999297db53cdfa63198bcb8eb748c", "sha256": "ca55613ac3aa48523b2be4591af631a70bbcf696a6433a6fc738585dfcfdc2c9" }, "downloads": -1, "filename": "csv2md-1.0.1.tar.gz", "has_sig": false, "md5_digest": "df4999297db53cdfa63198bcb8eb748c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3639, "upload_time": "2019-01-08T11:08:10", "url": "https://files.pythonhosted.org/packages/12/d8/7ee2c2145641f6e017a21778f939893729253c8b6e040aad93d11b98890c/csv2md-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1a0387f5458d32998eb8b25d06c7afc1", "sha256": "970cda5f1b6dc0cce1940a2c2f198d554ba065240b95e3248fd2203af097355c" }, "downloads": -1, "filename": "csv2md-1.0.1-py3.6.egg", "has_sig": false, "md5_digest": "1a0387f5458d32998eb8b25d06c7afc1", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 5505, "upload_time": "2019-01-08T11:04:55", "url": "https://files.pythonhosted.org/packages/e1/a6/e2c3e7fde21b35adb51a18ea03550cdd33090cee22f09e4dcdf910df760b/csv2md-1.0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "a307b1e021851a23edde150c4ccb4859", "sha256": "1a6593b5d70a8a6e952fb795f0f1ac7fc8546494fe8ba5d66aaef0c2e5570103" }, "downloads": -1, "filename": "csv2md-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a307b1e021851a23edde150c4ccb4859", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4852, "upload_time": "2019-01-08T11:08:08", "url": "https://files.pythonhosted.org/packages/40/97/86ec5a90ea215465aaf25fc97e743effda1b94134e38d3a150499414d283/csv2md-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df4999297db53cdfa63198bcb8eb748c", "sha256": "ca55613ac3aa48523b2be4591af631a70bbcf696a6433a6fc738585dfcfdc2c9" }, "downloads": -1, "filename": "csv2md-1.0.1.tar.gz", "has_sig": false, "md5_digest": "df4999297db53cdfa63198bcb8eb748c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3639, "upload_time": "2019-01-08T11:08:10", "url": "https://files.pythonhosted.org/packages/12/d8/7ee2c2145641f6e017a21778f939893729253c8b6e040aad93d11b98890c/csv2md-1.0.1.tar.gz" } ] }