Python bindings for Hyperscan.
Project description
Hyperscan for Python
A CPython extension for Hyperscan, Intel's open source, high-performance multiple regex matching library. Currently only supports manylinux-compatible Linux distributions.
Installation
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, andhs_serialized_database_infonot exposed yet.
✨ As of v0.3.0, python-hyperscan statically links against Hyperscan,
so having the library installed on your system is not required. Prior
versions of python-hyperscan require Hyperscan v5.2 or newer. ✨
Building from source requires Hyperscan compiled and installed with the following CMake flags set:
FAT_RUNTIME=OFFBUILD_STATIC_AND_SHARED=ONonly ifBUILD_SHARED_LIBSis also on, in the event there are other applications colocated withpython-hyperscanthat need the shared libraries. Otherwise ignore this flag, as by default Hyperscan will build static libraries.CMAKE_C_FLAGSandCMAKE_CXX_FLAGSset to-fPIC
See the documentation for more detailed build instructions.
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyperscan-0.3.2.tar.gz.
File metadata
- Download URL: hyperscan-0.3.2.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dacf5b839cfb31004aee07cf3f3e0c57e0da7dc4445e2e70aeab3250863796f
|
|
| MD5 |
2da1cc9237ad2f8328be8a50e8d95349
|
|
| BLAKE2b-256 |
625ec76f25f30500f6c6906bf76c8dcfc6ccdc284ae49e055d1d91d64df99de3
|
File details
Details for the file hyperscan-0.3.2-cp310-cp310-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: hyperscan-0.3.2-cp310-cp310-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa6eebbd9d4c618eb8d09680ae332d508c5c6060431a38b23ae336c8be6eb130
|
|
| MD5 |
859c2145ea2f73b1fbf11e612f670c0e
|
|
| BLAKE2b-256 |
15091ae20b85dca54dbb472d2706468e2cc05a608e86840a60dd4026594dd16a
|
File details
Details for the file hyperscan-0.3.2-cp39-cp39-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: hyperscan-0.3.2-cp39-cp39-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1c6c4fd4df700a0031501ab4e3e51db7615b73b86ca69a1775197ed9eadfecd
|
|
| MD5 |
fbbb8ac431eb7bc16f60db08efb4d828
|
|
| BLAKE2b-256 |
27dedd7ad17ce12cb4fb871739532ed61756da9b136525077ab36fa4cd005480
|
File details
Details for the file hyperscan-0.3.2-cp38-cp38-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: hyperscan-0.3.2-cp38-cp38-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
866d635698f2767c1bccf78d8a5ebec415085a65d74fa1d6c1017d134504a13f
|
|
| MD5 |
83bd64b314642c070fe1968e7c7fa86f
|
|
| BLAKE2b-256 |
5857bb53184c6879bbac8163eb1cb31fae7fcfc2d4db7e1a2a94be39002051f4
|
File details
Details for the file hyperscan-0.3.2-cp37-cp37m-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: hyperscan-0.3.2-cp37-cp37m-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b964bc277458eb2a915f1f02b5e326e1a3b48dbb790a7dd952a220ed7fec29
|
|
| MD5 |
5bae32c89dfd7b984e51c0d9bac180f4
|
|
| BLAKE2b-256 |
e521fb9ad05f26ed65b147b34ba10fac319832060b5a0c583b0764e9f91284f8
|
File details
Details for the file hyperscan-0.3.2-cp36-cp36m-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: hyperscan-0.3.2-cp36-cp36m-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.6m, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1863df991196a883472132e7945425f165bac3dd3ea05f45d98bdf44508fe55f
|
|
| MD5 |
81e00214f1058a788c4bdca00d7768c3
|
|
| BLAKE2b-256 |
450460b662d20e671cabce0656a01716dfef6428a3bd48eb3dec114e8c33dd16
|