
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
A library for converting a HTML tables into ASCII tables, rowspan and colspan allowed!
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.
: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
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.
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/
Complete documentation on usage can be found on Read the Docs
_.
.. _Read the Docs: http://dashtable.readthedocs.io/en/latest/Code.html
FAQs
A library for converting a HTML tables into ASCII tables, rowspan and colspan allowed!
We found that dashtable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.