{"categories":[{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"Interpreters","url":"https://skillfed.io/packages/category/software-development-interpreters"}],"enrichment":{"capability":"Generates parsers from ABNF grammars as specified in RFC 5234 and RFC 7405, with 30+ built-in grammar modules for common RFCs like HTTP headers, email addresses, and URIs.","skillfed_tags":["parser-generator","rfc-compliance","grammar-engine"],"use_cases":["Parse and validate HTTP headers (ETag, Content-Type, etc.) using the bundled RFC 7232, RFC 7230 grammars.","Validate email addresses and other RFC 5322 message format data against standard ABNF rules.","Extract structured data from URIs, hostnames, or other RFC-defined formats using built-in grammar modules.","Compile and parse custom ABNF grammars for proprietary or domain-specific text formats.","Validate wire protocol data by decoding bytes as latin-1 and parsing against RFC-based ABNF rules."],"what_it_does":"abnf is a parser generator that turns ABNF grammar specifications into working parsers. It implements RFC 5234 and RFC 7405, the standards for ABNF syntax itself, and ships with ready-to-use grammar modules for 30+ common RFCs covering HTTP headers, email addresses, URIs, and similar structured text formats. The package has been in production use since its original deployment for HTTP header parsing in a web framework.\n\nYou use it by either loading one of the bundled RFC grammar modules and calling parse or parse_all on input strings, or by compiling your own ABNF rule inline using Rule.create(). The library works with code points (strings), not raw bytes; to parse wire data, you decode it with latin-1 first to preserve the byte-to-code-point mapping. An optional Rust backend is available for substantially faster parsing when needed.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, zero runtime dependencies, and low install friction. It solves a real problem\u2014parsing RFC-defined text formats\u2014with production-proven code and comprehensive built-in grammar coverage. The MIT license is permissive. Install it if you need to parse or validate structured text defined by RFCs or custom ABNF grammars."},"id":"abnf","links":{"html":"https://skillfed.io/packages/abnf","md":"https://skillfed.io/packages/abnf.md","pypi":"https://pypi.org/project/abnf/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":null,"license_treatment":"permissive","name":"abnf","python_support":"supports_current","summary":"Parsers for ABNF grammars."},"popularity":{"monthly_downloads":1082161,"position":4394,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.7.0"}
