hyperscan 0.8.2


pip install hyperscan

  Latest version

Released: Mar 19, 2026


Meta
Author: David Gidwani
Requires Python: <4.0,>=3.9

Classifiers

Development Status
  • 4 - Beta

Topic
  • Software Development :: Libraries
  • Software Development :: Libraries :: Python Modules
  • Utilities

Programming Language
  • Python
  • Python :: 3
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: Implementation :: CPython

Environment
  • Console

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Operating System
  • POSIX :: Linux
  • Unix
  • MacOS
  • Microsoft :: Windows

Hyperscan/Vectorscan for Python

GitHub Actions Workflow Status PyPI - Version PyPI - Downloads PyPI - Python Version PyPI - Wheel PyPI - License Read the Docs

A CPython extension for Vectorscan, an open source fork of Hyperscan, Intel's open source (prior to version 5.4), high-performance multiple regex matching library.

  • โœ… Binary manylinux-compatible wheels
  • โœ… Statically linked (no need to build Hyperscan/Vectorscan)
  • โœ… Chimera support

Installation

# ๐Ÿช„ Installing libhs is NOT required, because python-hyperscan is statically linked
pip install hyperscan

Build Optimization

If you'd like to use Intel's Hyperscan rather than Vectorscan, or if you'd like to enable native CPU detection to build optimized non-FAT libraries (default off in Vectorscan), extending the manylinux-hyperscan Docker image used to build the binary wheels for this library should be fairly straightforward.

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

Wheel compatibility matrix

Platform CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython (additional flags: t) 3.14 PyPy 3.10 (pp73)
macosx_10_13_x86_64
macosx_10_15_x86_64
macosx_10_9_x86_64
macosx_11_0_arm64
manylinux2014_x86_64
manylinux_2_17_x86_64
manylinux_2_24_aarch64
manylinux_2_28_aarch64
musllinux_1_2_aarch64
musllinux_1_2_x86_64
win_amd64

Files in release

hyperscan-0.8.2-cp310-cp310-macosx_10_9_x86_64.whl (1.9MiB)
hyperscan-0.8.2-cp310-cp310-macosx_11_0_arm64.whl (1.9MiB)
hyperscan-0.8.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2-cp310-cp310-musllinux_1_2_aarch64.whl (2.3MiB)
hyperscan-0.8.2-cp310-cp310-musllinux_1_2_x86_64.whl (2.3MiB)
hyperscan-0.8.2-cp310-cp310-win_amd64.whl (1.9MiB)
hyperscan-0.8.2-cp311-cp311-macosx_10_9_x86_64.whl (1.9MiB)
hyperscan-0.8.2-cp311-cp311-macosx_11_0_arm64.whl (1.9MiB)
hyperscan-0.8.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2-cp311-cp311-musllinux_1_2_aarch64.whl (2.3MiB)
hyperscan-0.8.2-cp311-cp311-musllinux_1_2_x86_64.whl (2.3MiB)
hyperscan-0.8.2-cp311-cp311-win_amd64.whl (1.9MiB)
hyperscan-0.8.2-cp312-cp312-macosx_10_13_x86_64.whl (1.9MiB)
hyperscan-0.8.2-cp312-cp312-macosx_11_0_arm64.whl (1.9MiB)
hyperscan-0.8.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2-cp312-cp312-musllinux_1_2_aarch64.whl (2.3MiB)
hyperscan-0.8.2-cp312-cp312-musllinux_1_2_x86_64.whl (2.3MiB)
hyperscan-0.8.2-cp312-cp312-win_amd64.whl (1.9MiB)
hyperscan-0.8.2-cp313-cp313-macosx_10_13_x86_64.whl (1.9MiB)
hyperscan-0.8.2-cp313-cp313-macosx_11_0_arm64.whl (1.9MiB)
hyperscan-0.8.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2-cp313-cp313-musllinux_1_2_aarch64.whl (2.3MiB)
hyperscan-0.8.2-cp313-cp313-musllinux_1_2_x86_64.whl (2.3MiB)
hyperscan-0.8.2-cp313-cp313-win_amd64.whl (1.9MiB)
hyperscan-0.8.2-cp314-cp314-macosx_10_15_x86_64.whl (1.9MiB)
hyperscan-0.8.2-cp314-cp314-macosx_11_0_arm64.whl (1.9MiB)
hyperscan-0.8.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2-cp314-cp314-musllinux_1_2_aarch64.whl (2.3MiB)
hyperscan-0.8.2-cp314-cp314-musllinux_1_2_x86_64.whl (2.3MiB)
hyperscan-0.8.2-cp314-cp314-win_amd64.whl (1.9MiB)
hyperscan-0.8.2-cp314-cp314t-macosx_10_15_x86_64.whl (2.0MiB)
hyperscan-0.8.2-cp314-cp314t-macosx_11_0_arm64.whl (1.9MiB)
hyperscan-0.8.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2-cp314-cp314t-musllinux_1_2_aarch64.whl (2.3MiB)
hyperscan-0.8.2-cp314-cp314t-musllinux_1_2_x86_64.whl (2.3MiB)
hyperscan-0.8.2-cp314-cp314t-win_amd64.whl (1.9MiB)
hyperscan-0.8.2-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.6MiB)
hyperscan-0.8.2-pp310-pypy310_pp73-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.4MiB)
hyperscan-0.8.2.tar.gz (122.7KiB)
No dependencies