@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.tar.gz
.
File metadata
- Download URL: python_readability-0.0.2.tar.gz
- Upload date:
- Size: 111.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.4.25
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa19bbcc3a7dc18a7d382edccc699ab9632626900863acb7fa1d53dac744648 |
|
MD5 | 9aa74949f1c15e59956f98ae0e6798e0 |
|
BLAKE2b-256 | cbe0f9d3b66fdcd47963a8f8c4794b5b0a436534db3093925f55854f1fc20308 |
File details
Details for the file python_readability-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_readability-0.0.2-py3-none-any.whl
- Upload date:
- Size: 113.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.4.25
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c38b9d959e3eeff9aaf2412e55bf5d3f96a0cce36c6d12a9a3491906925fe6f |
|
MD5 | 2a5c3c46f85e62d7ee67fa3b269f7d8b |
|
BLAKE2b-256 | af133c6604c78280069d5e66159b194566e786e96b8ca60a3b5d834eee111931 |