{ "info": { "author": "Henrik Levkowetz", "author_email": "henrik@levkowetz.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Other Audience", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Text Processing", "Topic :: Text Processing :: Markup :: XML" ], "description": "Htmlizing IETF Text Documents\n=============================\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 from rfc2html import markup\n with open('rfc3344.txt') as file:\n text = file.read()\n html = markup(text)\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 have traditionally been published as plaintext documents with a\nmaximum line length of 72 characters.\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\nSince 2004, the resulting documents have been made available on `tools.ietf.org`_.\n\nThis module is a packaging of the htmlization code from version 1.113 of the htmlizing script.\nEarlier version of the script are available at `tools.ietf.org/tools/rfcmarkup`_\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.. _`tools.ietf.org`: https://tools.ietf.org/html/\n.. _`tools.ietf.org/tools/rfcmarkup`: https://tools.ietf.org/tools/rfcmarkup\n.. _`Henrik Levkowetz`: mailto:henrik@levkowetz.com\n\n\nChangelog\n=========\n\nVersion 2.0.1 (25 Jun 2019)\n------------------------------------------------\n\n\n * Changed tabs to spaces for python 3.\n\n * Now importing escape() from html instead of cgi if possible. \n\n * Added a name= keyword argument to markup(), in order to be able to do\n special handling dependent on the draft or RFC name. \n\n * Added special case handling for draft-ietf-dnsop-interim-signed-root-01.\n\n * Corrected the copyright in setup.py; fixed some pyflakes issues, and added\n sys reload with defaultencoding UTF-8 under py27.\n\n * Added a tox.ini file for test runs across py27 and 3.4-3.6, and a trivial\n tests.py placeholder.\n\n * Added control character stripping.\n\n * Added code to identify not only the start but also the end of reference\n section(s).\n\n\n\n\n\nVersion 1.121 (13 Jul 2016)\n------------------------------------------------\n\n\n * Added handling for 'Section x of RFC y', with an intervening line\n break after 'Section', and similar cases.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://tools.ietf.org/tools/rfcmarkup/", "keywords": "RFC and Internet-Draft text to html conversion", "license": "Simplified BSD", "maintainer": "", "maintainer_email": "", "name": "rfc2html", "package_url": "https://pypi.org/project/rfc2html/", "platform": "", "project_url": "https://pypi.org/project/rfc2html/", "project_urls": { "Homepage": "https://tools.ietf.org/tools/rfcmarkup/" }, "release_url": "https://pypi.org/project/rfc2html/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "Convert text-format RFCs and Internet-Drafts to html", "version": "2.0.1" }, "last_serial": 5446160, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "dfdbef18921534f3f27bf8ed4d8ec1bb", "sha256": "e3978cc71d1016bc09ecfbc930174c98372e2a61388543012fa320bd3aec89b9" }, "downloads": -1, "filename": "rfc2html-2.0.0.tar.gz", "has_sig": true, "md5_digest": "dfdbef18921534f3f27bf8ed4d8ec1bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9395, "upload_time": "2017-07-11T12:26:54", "url": "https://files.pythonhosted.org/packages/da/5d/e67f07761d17e9614b139533f56c376dbf89de7f87e51efad992e137c291/rfc2html-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "4a72feb0ea084acf7a828a6a53ba05b8", "sha256": "01c99786d110368524d5175e7f95974ccf9c68ed45b705451053d5733f0bfe4b" }, "downloads": -1, "filename": "rfc2html-2.0.1.tar.gz", "has_sig": true, "md5_digest": "4a72feb0ea084acf7a828a6a53ba05b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21311, "upload_time": "2019-06-25T14:31:33", "url": "https://files.pythonhosted.org/packages/bd/3a/78196dbf1f9a1b7846d9d3dd454badffc9a1bd146c93956cb78f5a92096d/rfc2html-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a72feb0ea084acf7a828a6a53ba05b8", "sha256": "01c99786d110368524d5175e7f95974ccf9c68ed45b705451053d5733f0bfe4b" }, "downloads": -1, "filename": "rfc2html-2.0.1.tar.gz", "has_sig": true, "md5_digest": "4a72feb0ea084acf7a828a6a53ba05b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21311, "upload_time": "2019-06-25T14:31:33", "url": "https://files.pythonhosted.org/packages/bd/3a/78196dbf1f9a1b7846d9d3dd454badffc9a1bd146c93956cb78f5a92096d/rfc2html-2.0.1.tar.gz" } ] }