Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance on CPython.
Install:
pip install lark-cython
Usage:
import lark_cython
parser = Lark(grammar, parser="lalr", _plugins=lark_cython.plugins)
# Use Lark as you usually would, with a huge performance boost
See the examples for more.
Token
instances do not inherit from str
. You must use the value
attribute to get the string.In current benchmarks, lark-cython is about 50% to 80% faster than Lark.
We're still in the early stages, and in the future, lark-cython might go a lot faster.
License: MIT
Author: Erez Shinan
Special thanks goes to Datafold for commissioning the draft for lark-cython, and allowing me to release it as open-source.
FAQs
A Lark plugin that optimizes LALR parsing using Cython
We found that lark-cython 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.