Skip to main content
RFC2HTML

Release License PyPI - Version PyPI - Status PyPI - Format

Htmlizing IETF Text Documents

Usage

This module contains one single function, markup(text) which adds HTML markup to what is assumed to be an IETF document (usually an Internet-Draft or an RFC):

from rfc2html import markup
with open('rfc3344.txt') as file:
    text = file.read()
html = markup(text)

This function can be used via the CLI:

$ rfc2html -v rfc3344.txt
rfc3344.txt.html

History

As a historic artifact of being a document series which was started at the time when the easiest way of distributing a Request For Comments was to type it up on a typewriter and mimeographing it, RFCs and Internet-Drafts before RFC 8650 were published as plaintext documents with a maximum line length of 72 characters. Some Internet-Drafts are still created only in this form.

This format isn't particularly appropriate in a web-centric world, howerver, so starting in 2002, Henrik Levkowetz started using scripts to convert the plaintext documents into HTML documents with the same look-and-feel as the plaintext originals, but with internal and external HTML links in order to facilitate browsing.

Henrik served the resulting documents at tools.ietf.org starting in 2004. These are now served from the IETF Datatracker.

This module began as a packaging of the htmlization code from version 1.113 of the htmlizing script.

Metadata

Release files for rfc2html 2.2.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 rfc2html 2.2.0
File Size Uploaded Provenance Actions
rfc2html-2.2.0.tar.gz 23.7 kB With provenance Details for rfc2html-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 34.2 kB

Release files / rfc2html-2.2.0.tar.gz

Download URL rfc2html-2.2.0.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d7a3b621e8fc6fe6fb168e10d50d2b1df3b5c6b188ff0c46a4bb649debadb4ec
BLAKE2b-256 checksum
How to use checksums
117968c11162b2d7ab983424aa8cc49c9f0a003ec105430d9f5db0ab668661bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / rfc2html-2.2.0-py3-none-any.whl

Download URL rfc2html-2.2.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c40d1fc97836df307b014cd8a2710edd18df60f8bbfc2a38980d70aea58f6af
BLAKE2b-256 checksum
How to use checksums
1035ab9ee50c162e9022d4e321dad94d6b47aad2691704db6760f926cb03eaec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for rfc2html 2.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rfc2html-2.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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