Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

table2csv

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

table2csv

Extract data from an HTML table and store results to a csv file.

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
1

========= table2csv

Simple script for downloading html tables as csv.

Installation

.. code:: bash

pip install -U table2csv

Usage

.. code:: bash

table2csv http://en.wikipedia.org/wiki/List_of_Super_Bowl_champions > dump.txt

Features

  • accepts a URL
  • Identifies all the tables
  • Merges tables that share same structure (e.g. same column headers get merged)
  • Figures out which table is the biggest
  • extracts text
  • extracts links

TODO

  • add the ability to specify which table on the page you would like to download (not just the biggest one)
  • add support for columns that do not use proper <th> tags [DONE] tags for headers (i.e. imperfect html tables)]
  • detect the data types found within each column
  • add support for tables with hierarchical indices on the rows and/or columns

View on Github <https://github.com/hernamesbarbara/table2csv/>__

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc