🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

dashtable

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashtable

A library for converting a HTML tables into ASCII tables, rowspan and colspan allowed!

1.4.5
PyPI
Maintainers
1

========= 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

FAQs

Did you know?

Socket

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.

Install

Related posts