Skip to main content

Simple HTML to RML converter

Project description

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>

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

html2rml-0.3.2.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file html2rml-0.3.2.tar.gz.

File metadata

  • Download URL: html2rml-0.3.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for html2rml-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5bf99d4ccaecdb8e8bc4446f3d279ebe7a6d3a37ef8e1b72d9e83dd0e6349164
MD5 8a6d9f3c8ab6d114733d58a517aa2827
BLAKE2b-256 f03b09213fda5cfb0d16229d0c3b6295c630ada5b8fd901975c012d48df48916

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page