Skip to main content
Help us improve Python packaging – donate today!

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

Project Description

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

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

Usage

Complete documentation on usage can be found on Read the Docs.

Release history Release notifications

This version
History Node

1.4.4

History Node

1.4.2

History Node

1.4.1

History Node

1.3.8

History Node

1.3.7

History Node

1.3.6

History Node

1.3.5

History Node

1.3.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.9

History Node

1.2.8

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dashtable-1.4.4.tar.gz (19.4 kB) Copy SHA256 hash SHA256 Source None Mar 20, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page