
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
.. image:: https://github.com/jgosmann/bite-parser/actions/workflows/ci.yml/badge.svg :target: https://github.com/jgosmann/bite-parser/actions/workflows/ci.yml :alt: CI and release pipeline .. image:: https://codecov.io/gh/jgosmann/bite-parser/branch/main/graph/badge.svg?token=O4M05YWNQK :target: https://codecov.io/gh/jgosmann/bite-parser :alt: Codecov coverage .. image:: https://img.shields.io/pypi/v/bite-parser :target: https://pypi.org/project/bite-parser/ :alt: PyPI .. image:: https://img.shields.io/pypi/pyversions/bite-parser :target: https://pypi.org/project/bite-parser/ :alt: PyPI - Python Version .. image:: https://img.shields.io/pypi/l/bite-parser :target: https://pypi.org/project/bite-parser/ :alt: PyPI - License
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 <https://github.com/pyparsing/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) <https://en.wikipedia.org/wiki/Parsing_expression_grammar>
_.
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 <https://github.com/jgosmann/dmarc-metrics-exporter>
_.
.. note:: I have implemented the fundamental set of parsers, which should allow constructing most or all grammars recognizable by this type of parser. However, many convenience or higher level parsers are not yet implemented.
Other areas that still need improvement are:
Documentation <https://jgosmann.github.io/bite-parser/docs/en/main/>
_GitHub repository <https://github.com/jgosmann/bite-parser>
_FAQs
Asynchronous parser taking incremental bites out of your byte input stream.
We found that bite-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.