Skip to main content

@mozilla/readability for Python

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.2.tar.gz (111.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_readability-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4fa19bbcc3a7dc18a7d382edccc699ab9632626900863acb7fa1d53dac744648
MD5 9aa74949f1c15e59956f98ae0e6798e0
BLAKE2b-256 cbe0f9d3b66fdcd47963a8f8c4794b5b0a436534db3093925f55854f1fc20308

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_readability-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c38b9d959e3eeff9aaf2412e55bf5d3f96a0cce36c6d12a9a3491906925fe6f
MD5 2a5c3c46f85e62d7ee67fa3b269f7d8b
BLAKE2b-256 af133c6604c78280069d5e66159b194566e786e96b8ca60a3b5d834eee111931

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