Python bindings for Hyperscan.
Project description
# Hyperscan for Python
[](https://github.com/darvid/python-hyperscan/actions/workflows/wheels.yml)     [](https://python-hyperscan.readthedocs.io/en/latest/)
A CPython extension for [Hyperscan](https://www.hyperscan.io/), 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](https://intel.github.io/hyperscan/dev-reference/chimera.html) support
## Installation
`shell # 🪄 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][2] support.
No [custom allocator][3] support.
hs_expression_info, hs_expression_ext_info, hs_populate_platform, and hs_serialized_database_info not exposed yet.
See the [documentation][6] for more detailed build instructions.
## Resources
[PyPI Project](https://pypi.org/project/hyperscan/)
[Documentation][6]
[Hyperscan C API Documentation](http://intel.github.io/hyperscan/dev-reference/)
[1]: http://intel.github.io/hyperscan/dev-reference/chimera.html [2]: http://intel.github.io/hyperscan/dev-reference/runtime.html#stream-compression [3]: http://intel.github.io/hyperscan/dev-reference/runtime.html#custom-allocators [4]: http://intel.github.io/hyperscan/dev-reference/compilation.html [5]: https://github.com/darvid/python-hyperscan/issues [6]: https://python-hyperscan.readthedocs.io
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 Distributions
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.5.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7edc8c9d8dc78910845521ccbff868c6dd08735a60b0afbb70adf78309794b1
|
|
| MD5 |
6a271b286b0379cfe95793f518653729
|
|
| BLAKE2b-256 |
2687fe542a183a254fb1113530310f9d9d29b2c1bcd1d106cf1e0b7332d20049
|
File details
Details for the file hyperscan-0.5.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dbd6f2891443f13fbe5115cb52638cf601e543702ec2dce9b71f42aea6860f6
|
|
| MD5 |
71e56e38f80f7453d5b4776374b2e68d
|
|
| BLAKE2b-256 |
f9ddbb89d36f8343d9fe640669eb44efcd4455840d9b2c015f4b10540ba25b0c
|
File details
Details for the file hyperscan-0.5.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc807f56b0dbdcf74e221bec37d206e80d1fb435ca6c07594f3e210a7ab3bcca
|
|
| MD5 |
8ff3662c0e2f8b02c9db3d963a0feb8b
|
|
| BLAKE2b-256 |
bd26a500adeb34fa47f86140c0e80df82a6eb4faf14315af74df5e5a9abed3c3
|
File details
Details for the file hyperscan-0.5.0-cp311-cp311-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c4131b12c1fb79a7d017d0d31c8577f3f803f4b1a87b5122687e51e3918aab0
|
|
| MD5 |
ef0e3d08b99031f708020d90af22c3ce
|
|
| BLAKE2b-256 |
24ec5b67a5ed81f00fda821b1ae1ffbc6666a387762bf3a97339e53bc32fbf21
|
File details
Details for the file hyperscan-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12193c7c2815708f164a40f44bf146542a7ae3a24b80b6f1113407dcab84fb24
|
|
| MD5 |
84e6a66ebc4cf056caad5e41f235cb50
|
|
| BLAKE2b-256 |
cebcaf941936b5190f51cd89e9591b9794227155a5447e1360f03b060af681ce
|
File details
Details for the file hyperscan-0.5.0-cp311-cp311-macosx_10_14_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp311-cp311-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34330dd21ef38f99459a9abcdf29887924cb3887cfa6e972930dce8c963eedb4
|
|
| MD5 |
0a500d17cf9c891ff750ab64c43afa17
|
|
| BLAKE2b-256 |
393c7dd9d4adab2cc6f94e1fd74b8aef7eb572959c6a269217959e1f24c7c1ba
|
File details
Details for the file hyperscan-0.5.0-cp310-cp310-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3107355ca5e89b39bba6c8d97f5c65f5b9601440765b9f9df92b904607ec173
|
|
| MD5 |
3625fe1fa511571c9474a05eb633fc23
|
|
| BLAKE2b-256 |
a91236145cf0a0d1ecf71177781a621a5a51ebc8f1732ca2335c19f052dbd26b
|
File details
Details for the file hyperscan-0.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
935e6d26f3caebc4d5fc092c807a3ee220056459306a37bd2a2218d48cb7f94b
|
|
| MD5 |
63d5bace8985597164bf99ab37ca39a2
|
|
| BLAKE2b-256 |
8adb186502a61e1b5ea6adec2380e1a11fa65485bf53201fdc9a38221c0f865e
|
File details
Details for the file hyperscan-0.5.0-cp310-cp310-macosx_10_14_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp310-cp310-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.10, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e642e312e10149fd4619a94fe0ce6aedfab0d5d9f3b03805656511f30e07636f
|
|
| MD5 |
419f73b6f8894d7591f274682fb4dccf
|
|
| BLAKE2b-256 |
474a573f26f7e98bdf35c0813f4c63f3b5719194ae59b81f6d97f971ef0992fe
|
File details
Details for the file hyperscan-0.5.0-cp39-cp39-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69cfe776f39605557dad00971e9a256620d897f0def067a3efda978e88551e99
|
|
| MD5 |
0b9421e821f270238857bef7b9d093ee
|
|
| BLAKE2b-256 |
b2c532bca6c79c72e8e18f782fc1deb7436db5b934294177702d6eea2e6c2404
|
File details
Details for the file hyperscan-0.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
550f0baebdcdc70c5a17d42e5ec5e2896373e4c923885b19204f1da9969401db
|
|
| MD5 |
7f57bf056fac082fa0cc34715737eadc
|
|
| BLAKE2b-256 |
9d414f8416d7c2729efee4b543b7d6dd962eb8ddc9253e9f7813ad2c360e5bf0
|
File details
Details for the file hyperscan-0.5.0-cp39-cp39-macosx_10_14_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp39-cp39-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.9, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f749abde48afb2893b252d3671d83e27268715abe7be8f4b5c1ef0269b536c8
|
|
| MD5 |
7a338c7fdbaae166a5a56164a1759bf6
|
|
| BLAKE2b-256 |
d39d6d4eafa9e2c61c526cf71a58eae250fa2522d6eb5acdf3acad8a3b43b729
|
File details
Details for the file hyperscan-0.5.0-cp38-cp38-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f54e7ad948ada7aeb3611f382e069ffcc7df0963a32a01758a8b189fa9d7ee9
|
|
| MD5 |
9960be96a3b4bb2ccfbcd1c218042511
|
|
| BLAKE2b-256 |
b9eca68909fc8a3ac7e74ac45ea0e3798f7c96600765457b1fe63d92a567e901
|
File details
Details for the file hyperscan-0.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
881ed29f0e4893e17c33e28471486022e1c1df674044ce3312ca087ecd46250d
|
|
| MD5 |
60c1a4d46d0f2d0ef3f4b70465d0299c
|
|
| BLAKE2b-256 |
7db308e6ed29939f5bd5e56dc0c4ab2a8d8bd8df815e66718c479d4aee93abbf
|
File details
Details for the file hyperscan-0.5.0-cp38-cp38-macosx_10_14_x86_64.whl.
File metadata
- Download URL: hyperscan-0.5.0-cp38-cp38-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad72d4962fcfb813c44ececbe1479fd64f8e2bba10c6511e17b4bc0cfece916a
|
|
| MD5 |
dfd93fd7910767bc7d9bd915816012dd
|
|
| BLAKE2b-256 |
271dbfacd0dab5bc9e3ef1bfa7fac2a750581aa8d8ed17d263e78f58437e74e5
|