@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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_readability-0.0.2.1.tar.gz
.
File metadata
- Download URL: python_readability-0.0.2.1.tar.gz
- Upload date:
- Size: 110.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04b443068781ff020cf95280395864812900be92bcb84013308c3851b4c52342 |
|
MD5 | 9bd41397471ba54d93e49dc2a77d1eff |
|
BLAKE2b-256 | 527046e70e18145dc1677a7ec6fe2afb623e920e2ba446c3774a1e6d00901f4d |
File details
Details for the file python_readability-0.0.2.1-py3-none-any.whl
.
File metadata
- Download URL: python_readability-0.0.2.1-py3-none-any.whl
- Upload date:
- Size: 112.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d0a3fce2f1d715f286b12ee8016210cb3e0160bbe10a7f045de54e5551cd9a |
|
MD5 | 83fb511a8ed86727b85ab797e1668fd1 |
|
BLAKE2b-256 | f81c9b9c08c66356479e058c90b56dc15f6c8480656de82c5472a467a691dd37 |