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.
Metadata
Release files for python-readability 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_readability-0.1.3.tar.gz | 108.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_readability-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 218.7 kB
Release files / python_readability-0.1.3.tar.gz
| Download URL | python_readability-0.1.3.tar.gz |
|---|---|
| Size | 108.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e397fc854107e9910e5cd50e1e23e0dc6d11ee4d9493d21ee379d208f0e5a693
|
|
BLAKE2b-256 checksum How to use checksums |
99a111a67bd4592eced5e1724495115a7509d7767be0ca6924130d5a7adb5cf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.10
|
Release files / python_readability-0.1.3-py3-none-any.whl
| Download URL | python_readability-0.1.3-py3-none-any.whl |
|---|---|
| Size | 110.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fdf801e2f81ffcbc001151cf8ae39656407953c8aab1aac1f69386ac18ad958
|
|
BLAKE2b-256 checksum How to use checksums |
2362112efd6db7ca43409c47eae3e9c42c2033ef395c135a357874dde1f1faef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.5.10
|