Skip to main content

Asynchronous parser taking incremental bites out of your byte input stream.

Project description

CI and release pipeline Codecov coverage PyPI PyPI - Python Version PyPI - License

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bite_parser-0.2.4.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

bite_parser-0.2.4-py3-none-any.whl (19.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page