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.5.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

bite_parser-0.2.5-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

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

Hashes for bite_parser-0.2.5.tar.gz
Algorithm Hash digest
SHA256 44e19586f099501a343ea3514169d0fbe4ae83a2d97ba920c38492cdffbb42a1
MD5 479b714519221583cdbda8b673971ea0
BLAKE2b-256 c0cd0e621c1d031fbfc26c2c918cd524e51899b262db28f0bbfbabb361991bf4

See more details on using hashes here.

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

Hashes for bite_parser-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b07ba8b0ebcde4eba51b19cd689d6c0db5c5f15a316f1a7b07c98f48af75c252
MD5 091f55a3b07f1d959c04060c5571a958
BLAKE2b-256 ab5f147f2d06a3df0bd626bd7eb2cd20c46ff62cd33ab4653c50f680fbc2e7d7

See more details on using hashes here.

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