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
File details
Details for the file bite_parser-0.2.5.tar.gz
.
File metadata
- Download URL: bite_parser-0.2.5.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e19586f099501a343ea3514169d0fbe4ae83a2d97ba920c38492cdffbb42a1 |
|
MD5 | 479b714519221583cdbda8b673971ea0 |
|
BLAKE2b-256 | c0cd0e621c1d031fbfc26c2c918cd524e51899b262db28f0bbfbabb361991bf4 |
File details
Details for the file bite_parser-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: bite_parser-0.2.5-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b07ba8b0ebcde4eba51b19cd689d6c0db5c5f15a316f1a7b07c98f48af75c252 |
|
MD5 | 091f55a3b07f1d959c04060c5571a958 |
|
BLAKE2b-256 | ab5f147f2d06a3df0bd626bd7eb2cd20c46ff62cd33ab4653c50f680fbc2e7d7 |