CMD + K

html-text

Community

Extract text from HTML

Installation

To install this package, run one of the following:

Pip
$pip install -i https://pypi.anaconda.org/rolando/simple html-text

Usage Tracking

0.1.1
1 / 8 versions selected
Total downloads: 0

Description

============

HTML to Text

.. image:: https://img.shields.io/pypi/v/html-text.svg :target: https://pypi.python.org/pypi/html-text :alt: PyPI Version

.. image:: https://img.shields.io/travis/TeamHG-Memex/html-text.svg :target: https://travis-ci.org/TeamHG-Memex/html-text :alt: Build Status

.. image:: http://codecov.io/github/TeamHG-Memex/soft404/coverage.svg?branch=master :target: http://codecov.io/github/TeamHG-Memex/html-text?branch=master :alt: Code Coverage

Extract text from HTML

  • Free software: MIT license

Install

Install with pip::

pip install html-text

The package depends on lxml, so you might need to install some additional packages: http://lxml.de/installation.html

Usage

Extract text from HTML::

>>> import html_text
>>> text = html_text.extract_text(u'<h1>Hey</h1>')
u'Hey'

Credits

The code is extracted from utilities used in several projects, written by Mikhail Korobov.

=======

History

0.1.1 (2017-01-16)

  • Travis-CI and codecov.io integrations added

0.1.0 (2016-09-27)

  • First release on PyPI.

About

Summary

Extract text from HTML

Information Last Updated

Mar 25, 2025 at 16:23

License

MIT license

Total Downloads

88