{"id":13311806,"url":"https://github.com/ietf-tools/rfc2html","last_synced_at":"2025-06-28T00:04:22.082Z","repository":{"id":36951917,"uuid":"447345190","full_name":"ietf-tools/rfc2html","owner":"ietf-tools","description":"Convert text-format RFCs and Internet-Drafts to html","archived":false,"fork":false,"pushed_at":"2024-10-17T13:14:18.000Z","size":93,"stargazers_count":39,"open_issues_count":16,"forks_count":26,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-19T05:05:37.490Z","etag":null,"topics":["conversion","ietf","internet-draft","python","rfc"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ietf-tools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-12T19:28:26.000Z","updated_at":"2025-06-08T03:08:39.000Z","dependencies_parsed_at":"2024-10-23T13:54:31.992Z","dependency_job_id":null,"html_url":"https://github.com/ietf-tools/rfc2html","commit_stats":{"total_commits":59,"total_committers":7,"mean_commits":8.428571428571429,"dds":0.3389830508474576,"last_synced_commit":"e02f36d34cdd7a07f7bf43972f143e0cec067737"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ietf-tools/rfc2html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Frfc2html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Frfc2html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Frfc2html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Frfc2html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ietf-tools","download_url":"https://codeload.github.com/ietf-tools/rfc2html/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ietf-tools%2Frfc2html/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352616,"owners_count":23297688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conversion","ietf","internet-draft","python","rfc"],"created_at":"2024-07-29T18:02:29.919Z","updated_at":"2025-06-28T00:04:22.026Z","avatar_url":"https://github.com/ietf-tools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \n\u003cimg src=\"https://raw.githubusercontent.com/ietf-tools/common/main/assets/logos/rfc2html.svg\" alt=\"RFC2HTML\" height=\"125\" /\u003e\n    \n[![Release](https://img.shields.io/github/release/ietf-tools/rfc2html.svg?style=flat\u0026maxAge=600)](https://github.com/ietf-tools/rfc2html/releases)\n[![License](https://img.shields.io/github/license/ietf-tools/rfc2html)](https://github.com/ietf-tools/rfc2html/blob/main/LICENSE)\n[![PyPI - Version](https://img.shields.io/pypi/v/rfc2html)](https://pypi.org/project/rfc2html/)\n[![PyPI - Status](https://img.shields.io/pypi/status/rfc2html)](https://pypi.org/project/rfc2html/)\n[![PyPI - Format](https://img.shields.io/pypi/format/rfc2html)](https://pypi.org/project/rfc2html/)\n    \n##### Htmlizing IETF Text Documents\n    \n\u003c/div\u003e\n\n- [Changelog](https://github.com/ietf-tools/rfc2html/blob/main/CHANGELOG.md)\n- [Contributing](https://github.com/ietf-tools/.github/blob/main/CONTRIBUTING.md)\n- [Release Procedure](https://github.com/ietf-tools/.github/blob/main/CONTRIBUTING.md#release-procedure)\n\n---\n\n### Usage\n\nThis module contains one single function, `markup(text)` which adds HTML markup\nto what is assumed to be an IETF document (usually an [Internet-Draft] or an [RFC]):\n\n```python\nfrom rfc2html import markup\nwith open('rfc3344.txt') as file:\n    text = file.read()\nhtml = markup(text)\n```\n\n### History\n\nAs a historic artifact of being a document series which was started at the time when the easiest\nway of distributing a *Request For Comments* was to type it up on a typewriter and [mimeographing]\nit, RFCs and Internet-Drafts before RFC 8650 were published as plaintext documents with a\nmaximum line length of 72 characters. Some Internet-Drafts are still created only in this form.\n\nThis format isn't particularly appropriate in a web-centric world, howerver, so starting in\n2002, [Henrik Levkowetz] started using scripts to convert the plaintext documents into HTML\ndocuments with the same look-and-feel as the plaintext originals, but with internal and external\nHTML links in order to facilitate browsing.\n\nHenrik served the resulting documents at tools.ietf.org starting in 2004. These are now served\nfrom the IETF [Datatracker].\n\nThis module began as a packaging of the htmlization code from version 1.113 of the htmlizing script.\n\n[Internet-Draft]: https://en.wikipedia.org/wiki/Internet_Draft\n[RFC]: https://en.wikipedia.org/wiki/Request_for_Comments\n[mimeographing]: https://en.wikipedia.org/wiki/Mimeograph\n[Henrik Levkowetz]: mailto:henrik@levkowetz.com\n[Datatracker]: https://datatracker.ietf.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fietf-tools%2Frfc2html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fietf-tools%2Frfc2html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fietf-tools%2Frfc2html/lists"}