Skip to main content

xflat

Flatten documents

HTML

xflat turns this html

 <html>
    <head>
        <title> Example title </title>
        <meta charset='utf-8'>
    </head>
<body>
    <h1 class="main">Example heading </h1>
    <p id="example-body"  class="class-1 class-2"> Example body, with a class and id
        <br>
        line break and some text
    </p>
    <div>
        <ol>
            <li> List item 1 </li>
            <li> List item 2 </li>
        </ol>
    </div>
    </body>
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/w/static/1.26wmf9/skins/Vector/csshover.min.htc")}</style><![endif]-->
</html>

into

html
html/head
html/head/title Example title
html/head/meta          charset="utf-8"
html/body
html/body/h1    Example heading     class="main"
html/body/p Example body, with a class and id       class="class-1 class-2" id="example-body"
html/body/p/br      line break and some text
html/body/div
html/body/div/ol
html/body/div/ol/li List item 1
html/body/div/ol/li List item 2
html/!comment   [if lt IE 7]><style type="text/css">body{behavior:url("/w/static/1.26wmf9/skins/Vector/csshover.min.htc")}</style><![endif]

Format

All tags on new lines, TAB seperated values

  • Path and name - /html/body/h1

  • Text content - Example heading

  • Footer content (text after the closing of this tag, same level as parent)

  • Attrbutes e.g. id class etc

Metadata

Release files for xflat 0.0.3

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

Source distribution (sdist)

Source distribution for xflat 0.0.3
File Size Uploaded Provenance
xflat-0.0.3.tar.gz 3.8 kB Without provenance Details

Release files / xflat-0.0.3.tar.gz

Download URL xflat-0.0.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c0df774e4cd3ffd3a8eef97d43f65a5cf34162e7748c6cb58b5b5dcbff50de5c
BLAKE2b-256 checksum
How to use checksums
98bffe2fcbd3ebe3d0fd53221a114b1edf1a2aba2f95eeb9701d5c60869c730f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for xflat 0.0.3

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.

Release history Release notifications | RSS feed

This release

0.0.3 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