Skip to main content

Mau HTML Visitor

This is a plugin for the Mau markup language. The plugin provides the conversion from Mau source to HTML.

You can install this plugin with

pip install mau-html-visitor

and Mau will automatically be able to load it. To use the visitor you need to load it and to pass it to the class Mau when you instantiate it

from mau import Mau, load_visitors
from mau.message import LogMessageHandler

visitor_classes = load_visitors()

visitors = {i.format_code: i for i in visitor_classes.values()}
visitor_class = visitors["html"]

message_handler = LogMessageHandler()

mau = Mau(message_handler)

result = mau.process(visitor_class, text, "source.mau")

The default extension for templates is .html. The plugin uses Pygments to provide source code highlighting.

Metadata

Release files for mau_html_visitor 3.0.0

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

Source distribution (sdist)

Source distribution for mau_html_visitor 3.0.0
File Size Uploaded Provenance Actions
mau_html_visitor-3.0.0.tar.gz 14.7 kB Without provenance Details for mau_html_visitor-3.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 29.2 kB

Release files / mau_html_visitor-3.0.0.tar.gz

Download URL mau_html_visitor-3.0.0.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
44268de692d04fa57bf6da2d1e6ad44c0edd29b0882a00bc3c991f9c082e471b
BLAKE2b-256 checksum
How to use checksums
2833596e51425cc4f988ced0204578777a002f7c5d02319491121f793900b16b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / mau_html_visitor-3.0.0-py3-none-any.whl

Download URL mau_html_visitor-3.0.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d1b5c6c1cf9a04a5cab05530b5e0d7d335a18ef65484ef52ec906047cff3890
BLAKE2b-256 checksum
How to use checksums
dac709e68188f250f9d07200d6f0520b65b7159480fc7a649af54f60602921bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Security for mau_html_visitor 3.0.0

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.

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