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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_readability-0.1.1-py3-none-any.whl (110.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_readability-0.1.1.tar.gz
  • Upload date:
  • Size: 108.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.6

File hashes

Hashes for python_readability-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1f68687f6df2d81d502bcceb0a5bc57b3c96f2c8398d503e2945e80055edc3f6
MD5 dd0b99c8560966dc0df7555f261a8d9f
BLAKE2b-256 8dd8e6ceee71b3d2999f342d427ef77b74e7034fa6a832b79ecc04d79133e05b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_readability-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24c820027de3008f74c8485854ada505fad76e7e34377be5568cec4cf92005e7
MD5 6429cf55834c24613b03926b4d751ca4
BLAKE2b-256 6e093286b6cc8ee84e005f94013bdaefadf5dcc3b2c6aff53c81fc461cfc3988

See more details on using hashes here.

Supported by

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