A CPython extension for the Hyperscan regular expression matching library.
A CPython extension for Hyperscan, Intel's open source, high-performance multiple regex matching library. Currently only supports manylinux-compatible Linux distributions.
# 🪄 Installing libhs is NOT required, because python-hyperscan is statically linked
pip install hyperscan
python-hyperscan
currently exposes most of the C API, with the
following caveats or exceptions:
hs_expression_info
, hs_expression_ext_info
,
hs_populate_platform
, and hs_serialized_database_info
not
exposed yet.See the documentation for more detailed build instructions.