Skip to main content

rfc-tidy

A simple tool that cleans up RFC XML.

Usage

Install from pypi with:

pip install --user rfc-tidy

Like black, rfc-tidy cannot be tuned. Feed XML into stdin, get XML from stdout (it also accepts the input file as the first argument).

rfc-tidy < draft-blah-blah-blah.xml > draft-tidied.xml

Features

Adds <bcp14> tags for your "MUST", "SHOULD", and "MAY" statements in text.

Removes extraneous XML, comments, and whitespace.

Indents elements consistently.

Replaces non-ASCII characters in text with XML numeric entities so that you don't miss them.

Sorts attributes by name.

Metadata

Release files for rfc-tidy 0.1.2

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

Source distribution (sdist)

Source distribution for rfc-tidy 0.1.2
File Size Uploaded Provenance Actions
rfc-tidy-0.1.2.tar.gz 4.2 kB Without provenance Details for rfc-tidy-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rfc-tidy 0.1.2
File Interpreter ABI Platform Actions
rfc_tidy-0.1.2-py3-none-any.whl Python 3 none any Details for rfc_tidy-0.1.2-py3-none-any.whl

Total release size: 8.3 kB

Release files / rfc-tidy-0.1.2.tar.gz

Download URL rfc-tidy-0.1.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
92e4fd0c6dc12a4d5a9f92e7ba31384e24f529cc2dc0cdc4c1baa983edd34059
BLAKE2b-256 checksum
How to use checksums
6d6eea6c72780b6cd18ff8e5688f4df91882afbf3c17d2f84e88191e0117c0d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / rfc_tidy-0.1.2-py3-none-any.whl

Download URL rfc_tidy-0.1.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50e2b7d25d352a2fe9ea81d8c24d0d08e9410db5e4f66d617b99f667282cb4e7
BLAKE2b-256 checksum
How to use checksums
ff306f3fcb335dffc02625fd5acd65125782bf61a82ad7c7f939f10cdeece2e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for rfc-tidy 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.

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