Skip to main content

Python bindings for Hyperscan.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

hyperscan-0.6.0-cp312-cp312-musllinux_1_1_x86_64.whl (2.9 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

hyperscan-0.6.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.28+ x86-64

hyperscan-0.6.0-cp312-cp312-macosx_10_9_x86_64.whl (2.1 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

hyperscan-0.6.0-cp311-cp311-musllinux_1_1_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

hyperscan-0.6.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.28+ x86-64

hyperscan-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl (2.2 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

hyperscan-0.6.0-cp310-cp310-musllinux_1_1_x86_64.whl (2.9 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

hyperscan-0.6.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.28+ x86-64

hyperscan-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl (2.2 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

hyperscan-0.6.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.28+ x86-64

hyperscan-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl (2.2 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page