{ "info": { "author": "Anton Bukhtiyarov", "author_email": "apkraft@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Documentation", "Topic :: Utilities" ], "description": "# csv tables for Foliant\n\nThis preprocessor converts csv data to markdown tables.\n\n\n## Installation\n\n```shell\n$ pip install foliantcontrib.csvtables\n```\n\n\n## Config\n\nTo enable the preprocessor with default options, add `csvtables` to `preprocessors` section in the project config:\n\n```yaml\npreprocessors:\n - csvtables\n```\n\nThe preprocessor has a number of options (default values stated below):\n\n```yaml\npreprocessors:\n - csvtables:\n delimiter: ';'\n padding_symbol: ' '\n paddings_number: 1\n```\n\n`delimiter`\n: Delimiter of csv data.\n\n`padding_symbol`\n: Symbol combination that will be places around datum (reversed on the right side).\n\n`paddings_number`\n: Symbol combination multiplier.\n\n\n## Usage\n\nYou can place csv data in `csvtable` tag.\n\n```\n\n Header 1;Header 2;Header 3;Header 4;Header 5\n Datum 1;Datum 2;Datum 3;Datum 4;Datum 5\n Datum 6;Datum 7;Datum 8;Datum 9;Datum 10\n\n```\n\nOr in external `file.csv`.\n\n```\n\n```\n\nYou can reassign setting for certain csv tables.\n\n```\n\n Header 1:Header 2:Header 3:Header 4:Header 5\n Datum 1:Datum 2:Datum 3:Datum 4:Datum 5\n Datum 6:Datum 7:Datum 8:Datum 9:Datum 10\n\n```\n\n\n## Example\n\n`Usage` section will be converted to this:\n\nYou can place csv data in `csvtable` tag.\n\n```\n| Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |\n|----------|----------|----------|----------|----------|\n| Datum 1 | Datum 2 | Datum 3 | Datum 4 | Datum 5 |\n| Datum 6 | Datum 7 | Datum 8 | Datum 9 | Datum 10 |\n\n```\n\nOr in external `file.csv`.\n\n```\n| Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |\n|----------|----------|----------|----------|----------|\n| Datum 1 | Datum 2 | Datum 3 | Datum 4 | Datum 5 |\n| Datum 6 | Datum 7 | Datum 8 | Datum 9 | Datum 10 |\n\n```\n\nYou can reassign setting for certain csv tables.\n\n```\n| *Header 1* | *Header 2* | *Header 3* | *Header 4* | *Header 5* |\n|------------|------------|------------|------------|------------|\n| *Datum 1* | *Datum 2* | *Datum 3* | *Datum 4* | *Datum 5* |\n| *Datum 6* | *Datum 7* | *Datum 8* | *Datum 9* | *Datum 10* |\n\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/foliant-docs/foliantcontrib.csvtables", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "foliantcontrib.csvtables", "package_url": "https://pypi.org/project/foliantcontrib.csvtables/", "platform": "any", "project_url": "https://pypi.org/project/foliantcontrib.csvtables/", "project_urls": { "Homepage": "https://github.com/foliant-docs/foliantcontrib.csvtables" }, "release_url": "https://pypi.org/project/foliantcontrib.csvtables/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "csv to markdown table convertor.", "version": "1.0.1" }, "last_serial": 4824109, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "87587e1bf23bdc8a7cc2af9c9136ccfc", "sha256": "69420280c241f88690c483218b18334840e6cd2c96e881c5fed854be56533d9f" }, "downloads": -1, "filename": "foliantcontrib.csvtables-1.0.0.tar.gz", "has_sig": false, "md5_digest": "87587e1bf23bdc8a7cc2af9c9136ccfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3198, "upload_time": "2019-02-15T10:30:38", "url": "https://files.pythonhosted.org/packages/3b/24/9a484f0ebb3d4b71df7f1ba150c06001c2c9c3b568543ec820b7bf03c180/foliantcontrib.csvtables-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c7a4e779cf643a52e6788033c2e54906", "sha256": "49f4d1f2e14be199d988bfdafdb49ace845fcfcbc565583d64f08068b8d2c80c" }, "downloads": -1, "filename": "foliantcontrib.csvtables-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c7a4e779cf643a52e6788033c2e54906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3198, "upload_time": "2019-02-15T10:43:14", "url": "https://files.pythonhosted.org/packages/fc/a0/79a5f04c03f0340f369a3b50b028c1f7afc112dae701d16523075a58fd83/foliantcontrib.csvtables-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c7a4e779cf643a52e6788033c2e54906", "sha256": "49f4d1f2e14be199d988bfdafdb49ace845fcfcbc565583d64f08068b8d2c80c" }, "downloads": -1, "filename": "foliantcontrib.csvtables-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c7a4e779cf643a52e6788033c2e54906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3198, "upload_time": "2019-02-15T10:43:14", "url": "https://files.pythonhosted.org/packages/fc/a0/79a5f04c03f0340f369a3b50b028c1f7afc112dae701d16523075a58fd83/foliantcontrib.csvtables-1.0.1.tar.gz" } ] }