Skip to main content

innerhtml

HTML for humans.

Authors

Installation

Install innerhtml with pip

# Linux/macOS
python3 -m pip install -U innerhtml

# Windows
py -3 -m pip install -U innerhtml

Usage/Examples

import requests

from innerhtml import parse

response = get("https://articoff.github.io/eggs/")

page = parse(response.content)

for element in page.elements:
    if element._type == "h1":
        print(element.content)
from innerhtml import parseHtml

with open("index.html", "r") as file:
    page = parseHtml(file)
    file.close()

for element in page.elements:
    if element._type == "h1":
        print(element.content)

Feedback

If you have any feedback, please reach out to us on our discord

Metadata

Release files for innerhtml 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for innerhtml 0.0.1
File Interpreter ABI Platform Actions
innerhtml-0.0.1-py3-none-any.whl Python 3 none any Details for innerhtml-0.0.1-py3-none-any.whl

Release files / innerhtml-0.0.1-py3-none-any.whl

Download URL innerhtml-0.0.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fb34a7ec34e8282d034d4a6cbee595021ecb24898200095e8c01416e6e456fb
BLAKE2b-256 checksum
How to use checksums
eb28d9984044b98cf6db80f87d97fc88eb68426b3dce4dd367ffb280dc3dd0f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for innerhtml 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page