Skip to main content

Extract plain text from HTML

Project description

Extract plain text from HTML

Installation

$ uv add plainhtml

For development in this repository:

$ uv sync --dev

Example

>>> import plainhtml
>>> html = "<html><body><p>foo</p><p>bar</p></body></html>"
>>> plainhtml.extract_text(html)
'foo\n\nbar'

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

plainhtml-0.3.0.tar.gz (68.8 kB view details)

Uploaded Source

Built Distribution

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

plainhtml-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file plainhtml-0.3.0.tar.gz.

File metadata

  • Download URL: plainhtml-0.3.0.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for plainhtml-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7d49d2c05ef566a01c73633d53ee67b51d39836a9095ebd24fbf2cb6d29183a1
MD5 13588956d4abc3d0369d544ec6d36491
BLAKE2b-256 912ee50e14c23a480ac9bffb5141d8eb6d8c5aed486ce4043a08f46ae83d9878

See more details on using hashes here.

File details

Details for the file plainhtml-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: plainhtml-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for plainhtml-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab28823248b9755d0b33b9c59784de1153bd91ffc74aaa49c335df80c86ac4e9
MD5 232cb0e9b86630ae2de572aa6efca35e
BLAKE2b-256 08b9200935e9033a00e6916e811e62092e494ac1aaf75811f6c11d4621044539

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