Asynchronous parser taking incremental bites out of your byte input stream.
Project description
Welcome to bite-parser
Asynchronous parser taking incremental bites out of your byte input stream.
The bite-parser is a parser combinator library for Python. It is similar to PyParsing in that it allows the construction of grammars for parsing from simple building blocks in pure Python. This approach is also known as Parsing Expression Grammar (PEG). While PyParsing (and many other Python parsing libraries) only support string, bite-parser operates on bytes. In addition, bite-parser makes use of asyncio and can asynchronously generate parsed items from an input stream.
A typical use-case would be the parsing of a network protocol like IMAP. In fact, I wrote this library for the IMAP implementation of my dmarc-metrics-exporter.
Important links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bite_parser-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3132848d4a25c98e8db0f6baf921bf6df4d4a8948a9c86cb8d69d5932d7a89de |
|
MD5 | 42547a6fe80e2c132d9f8ded3fe88a60 |
|
BLAKE2b-256 | 868568369e1167a476923518f9f9f17e4f43dbc9baeeda36cb2ce837f867dc94 |