Skip to main content

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)

Source distribution for html2rml 0.3.2
File Size Uploaded
html2rml-0.3.2.tar.gz 2.3 kB Details

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

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

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