Skip to main content

@mozilla/readability for Python

Reason this release was yanked:

a mistake in CI

Project description

Readability.py

This is a Python wrapper for @mozilla/readability, a standalone version of the readability library used for Firefox Reader View.

Installation

pip install python-readability

Usage

from readability import parse

parse(html_string, **options)

See the original documentation and the type hints for details.

Requirements

Since this package is a wrapper for the original JavaScript library, it use a JavaScript engine to run the code.

For now, if you are running this package in a regular CPython environment, it will use pythonmonkey to interpret JavaScript, which requires Python 3.8+.

This package is also available inside pyodide because it can use the native JavaScript engine that pyodide runs on.

Project details


Download files

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

Source Distribution

python_readability-0.0.1.tar.gz (111.1 kB view details)

Uploaded Source

Built Distribution

python_readability-0.0.1-py3-none-any.whl (113.1 kB view details)

Uploaded Python 3

File details

Details for the file python_readability-0.0.1.tar.gz.

File metadata

File hashes

Hashes for python_readability-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ef2e6781f9d64729573945a1f6b00993bf6748e5cc01814284027d9283c43122
MD5 ecae6872a1b5abdb3fb5f93e61a49f0a
BLAKE2b-256 e4d0fd403907b1dc7e6ee3b0c4dbb9c1e824644e61c4295562ec41761ecf9d2b

See more details on using hashes here.

File details

Details for the file python_readability-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_readability-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd6ddaac56f585323529b3e0cc494831eac6cf2ed3ec91ebe4d6030856ed037d
MD5 d2817fbf0886bc765832cd2ae8ab9590
BLAKE2b-256 48294f7fa7c995f98d2abebc89c051a46b63584f53019a9ff226ba114438f9d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page