rfc2xml
Tool to process an RFC or Internet Standard into XML. Structure can also be accessed directly within a seperate Python project.
Note that this is not a general purpose tool and contains some restrictions. This is currently really slow. This is due partly to to overhead from Python, the parsing library and some inefficient parser grammar.
Usage
python -m rfc2xml <filename> [--suppress-result]
Examples
Download an Internet Standard to process:
wget https://www.ietf.org/id/draft-ietf-quic-transport-19.txt
The tool can then be run on that file using the following command (in the top level src directory):
python -m rfc2xml draft-ietf-quic-transport-19.txt
Import
The tool can also be imported into a different python script and used there:
from rfc2xml import Rfc2Xml
with open("draft-ietf-quic-transport-19.txt") as fp:
contents = fp.read()
dom = Rfc2Xml.parse(contents)
Metadata
Release files for rfc2xml 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rfc2xml-0.1.2.tar.gz | 10.2 kB | Without provenance | Details for rfc2xml-0.1.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rfc2xml-0.1.2-py3.7.egg | Legacy Egg format | - | - | Details for rfc2xml-0.1.2-py3.7.egg |
| rfc2xml-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for rfc2xml-0.1.2-py3-none-any.whl |
Total release size: 65.2 kB
Release files / rfc2xml-0.1.2.tar.gz
| Download URL | rfc2xml-0.1.2.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1579c27ca1bac309caffd61d0540e732df1797bee3dcb4fc0d028ffb998319a7
|
|
BLAKE2b-256 checksum How to use checksums |
9d8e936ea6b5d8fb4b36835573c13897b79e976a58642f7f87c75696666979e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / rfc2xml-0.1.2-py3.7.egg
| Download URL | rfc2xml-0.1.2-py3.7.egg |
|---|---|
| Size | 37.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f9167ae162b90e07a864af5a0d0bcc054c4b5cd764517fbfba5eda8c7f3d7358
|
|
BLAKE2b-256 checksum How to use checksums |
ce40cef419708cb34660945c7d26136daa8a082b0c59d01460479af78662565d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / rfc2xml-0.1.2-py3-none-any.whl
| Download URL | rfc2xml-0.1.2-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c02d323a047f5ae2c9e69bf1635b861aeb6a76914573b6e3adccc6e44ab5299
|
|
BLAKE2b-256 checksum How to use checksums |
5216d0d1941dcf90e120c05af93d3b9e0d1c8ad9531e5c5016d1455b61f051cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Security for rfc2xml 0.1.2
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.