Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bartbroere/python-hyperscan

Open more actions menu
 
 

Repository files navigation

Hyperscan for Python

Build wheels PyPI - Python Version PyPI - Wheel PyPI - Status PyPI - License Read the Docs

A CPython extension for Hyperscan, Intel's open source, high-performance multiple regex matching library. Currently only supports manylinux-compatible Linux distributions.

  • ✅ Binary wheels with support for Linux and macOS x86_64 (ARM64 and win32 support is planned)
  • ✅ Statically linked (no need to build Hyperscan)
  • Chimera support

Installation

# 🪄 Installing libhs is NOT required, because python-hyperscan is statically linked
pip install hyperscan

API Support

python-hyperscan currently exposes most of the C API, with the following caveats or exceptions:

  • No stream compression support.
  • No custom allocator support.
  • 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.

Resources

About

A CPython extension for the Hyperscan regular expression matching library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 64.0%
  • Python 32.5%
  • Shell 3.2%
  • Dockerfile 0.3%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.