html2rml
Simple HTML to RML converter. It may be used to take output of TinyMCE or any other WYSIWYG html editor and use it in your RML template.
Installation with pip
pip install html2rml
Usage
This HTML code …
from html2rml import html2rml
html = """<p>This is text of simple paragraph.<br/> <b>This is bold.</b></p>"""
print(html2rml(html))
… will be converted to the following RML code.
<para style="p">This is text of simple paragraph.<br/> <b>This is bold.</b></para>
Metadata
Release files for html2rml 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| html2rml-0.3.2.tar.gz | 2.3 kB | Without provenance | Details for html2rml-0.3.2.tar.gz |
Release files / html2rml-0.3.2.tar.gz
| Download URL | html2rml-0.3.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bf99d4ccaecdb8e8bc4446f3d279ebe7a6d3a37ef8e1b72d9e83dd0e6349164
|
|
BLAKE2b-256 checksum How to use checksums |
f03b09213fda5cfb0d16229d0c3b6295c630ada5b8fd901975c012d48df48916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for html2rml 0.3.2
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.