=========
DashTable
=========
dashtable has functions for converting data to reStructuredText
tables and Markdown tables, as well as methods for generating data from
these text-tables. It can quickly convert html tables to rst, but you
may have better results with pandoc.
Methods
=======
:html2rst: Convert html table to `RST grid table`_
:html2md: Convert html table to Markdown table
:data2md: Convert a list of lists of strings to Markdown Table
:data2rst: Convert a list of lists of strings to `RST grid Table`_
:data2simplerst: Convert a list of lists of strings to a `simple RST
Table`_
:grid2data: Convert an `RST grid table`_ to data
:simple2data: Convert a `simple RST table`_ to data
.. _RST grid table: http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables
.. _simple RST Table: http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables
Installation
============
dashtable can be installed using pip::
sudo pip install dashtable
Depending on how you'd like to use dashtable, you may need to install
some dependencies.
Dependencies
============
Several of the functions in dashtable have no outside requirements.
However, for the following functions you will need to install certain
dependencies:
:html2rst: BeautifulSoup_,
:html2md: BeautifulSoup_
:html2data: BeautifulSoup_,
:grid2data: docutils_
:simple2data: docutils_
.. _docutils: http://docutils.sourceforge.net/
.. _pandoc: https://pandoc.org/
.. _BeautifulSoup: https://www.crummy.com/software/BeautifulSoup/
Usage
-----
Complete documentation on usage can be found on `Read the Docs`_.
.. _Read the Docs: http://dashtable.readthedocs.io/en/latest/Code.html
Raw data
{
"_id": null,
"home_page": "https://github.com/doakey3/DashTable",
"name": "dashtable",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "doakey3 & gustavklopp",
"author_email": "dashtable.dmodo@spamgourmet.com",
"download_url": "https://files.pythonhosted.org/packages/81/83/8c6daa702072b7db63c8338e865381919db331e38f9d6fa5e60b9f58388d/dashtable-1.4.5.tar.gz",
"platform": "",
"description": "=========\nDashTable\n=========\ndashtable has functions for converting data to reStructuredText\ntables and Markdown tables, as well as methods for generating data from\nthese text-tables. It can quickly convert html tables to rst, but you\nmay have better results with pandoc.\n\nMethods\n=======\n:html2rst: Convert html table to `RST grid table`_\n:html2md: Convert html table to Markdown table\n:data2md: Convert a list of lists of strings to Markdown Table\n:data2rst: Convert a list of lists of strings to `RST grid Table`_\n:data2simplerst: Convert a list of lists of strings to a `simple RST\n Table`_\n:grid2data: Convert an `RST grid table`_ to data\n:simple2data: Convert a `simple RST table`_ to data\n\n.. _RST grid table: http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables\n.. _simple RST Table: http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables\n\nInstallation\n============\ndashtable can be installed using pip::\n\n sudo pip install dashtable\n\nDepending on how you'd like to use dashtable, you may need to install\nsome dependencies.\n\nDependencies\n============\nSeveral of the functions in dashtable have no outside requirements.\nHowever, for the following functions you will need to install certain\ndependencies:\n\n:html2rst: BeautifulSoup_,\n:html2md: BeautifulSoup_\n:html2data: BeautifulSoup_,\n:grid2data: docutils_\n:simple2data: docutils_\n\n.. _docutils: http://docutils.sourceforge.net/\n.. _pandoc: https://pandoc.org/\n.. _BeautifulSoup: https://www.crummy.com/software/BeautifulSoup/\n\nUsage\n-----\nComplete documentation on usage can be found on `Read the Docs`_.\n\n.. _Read the Docs: http://dashtable.readthedocs.io/en/latest/Code.html\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A library for converting a HTML tables into ASCII tables, rowspan and colspan allowed!",
"version": "1.4.5",
"project_urls": {
"Download": "https://github.com/doakey3/DashTable/tarball/1.4.5",
"Homepage": "https://github.com/doakey3/DashTable"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "81838c6daa702072b7db63c8338e865381919db331e38f9d6fa5e60b9f58388d",
"md5": "3f245ab5dc7db94da9e042a568c5f2e9",
"sha256": "74138dd0bec6044dcab5e64e76140b359cb60f73611e9a8a7b8f814d4769996a"
},
"downloads": -1,
"filename": "dashtable-1.4.5.tar.gz",
"has_sig": false,
"md5_digest": "3f245ab5dc7db94da9e042a568c5f2e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19407,
"upload_time": "2018-05-08T22:06:52",
"upload_time_iso_8601": "2018-05-08T22:06:52.784319Z",
"url": "https://files.pythonhosted.org/packages/81/83/8c6daa702072b7db63c8338e865381919db331e38f9d6fa5e60b9f58388d/dashtable-1.4.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-05-08 22:06:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "doakey3",
"github_project": "DashTable",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dashtable"
}