{"id":20828958,"url":"https://github.com/darvid/python-hyperscan","last_synced_at":"2026-02-11T21:05:48.124Z","repository":{"id":21352111,"uuid":"92460234","full_name":"darvid/python-hyperscan","owner":"darvid","description":"🐍 A CPython extension for the Hyperscan regular expression matching library.","archived":false,"fork":false,"pushed_at":"2025-02-16T08:09:24.000Z","size":662,"stargazers_count":172,"open_issues_count":28,"forks_count":34,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-08T09:18:30.698Z","etag":null,"topics":["hyperscan","python","python3","regex","regexp","regular-expressions"],"latest_commit_sha":null,"homepage":"https://python-hyperscan.readthedocs.io/en/latest/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darvid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"darvid"}},"created_at":"2017-05-26T01:42:13.000Z","updated_at":"2025-05-05T20:03:08.000Z","dependencies_parsed_at":"2023-11-18T05:29:02.208Z","dependency_job_id":"104f86b2-06bc-4421-9750-79e6ae8db725","html_url":"https://github.com/darvid/python-hyperscan","commit_stats":{"total_commits":161,"total_committers":10,"mean_commits":16.1,"dds":0.2795031055900621,"last_synced_commit":"1cb4165b4e6c3e09011f1b5467946caa6cb2d805"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvid%2Fpython-hyperscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvid%2Fpython-hyperscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvid%2Fpython-hyperscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darvid%2Fpython-hyperscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darvid","download_url":"https://codeload.github.com/darvid/python-hyperscan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253814947,"owners_count":21968560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hyperscan","python","python3","regex","regexp","regular-expressions"],"created_at":"2024-11-17T23:18:57.907Z","updated_at":"2026-02-11T21:05:43.104Z","avatar_url":"https://github.com/darvid.png","language":"C","funding_links":["https://github.com/sponsors/darvid"],"categories":["C"],"sub_categories":[],"readme":"# Hyperscan/Vectorscan for Python\n\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/darvid/python-hyperscan/build.yml?style=plastic)\n![PyPI - Version](https://img.shields.io/pypi/v/hyperscan?style=plastic)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/hyperscan?style=plastic)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperscan.svg?style=plastic)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/hyperscan.svg?style=plastic)\n![PyPI - License](https://img.shields.io/pypi/l/hyperscan.svg?style=plastic)\n[![Read the Docs](https://img.shields.io/readthedocs/python-hyperscan.svg?style=plastic)](https://python-hyperscan.readthedocs.io/en/latest/)\n\nA CPython extension for [Vectorscan][7], an open source fork of\n[Hyperscan][8], Intel's open source ([prior to version 5.4][9]),\nhigh-performance multiple regex matching library.\n\n* ✅ Binary [manylinux][12]-compatible wheels\n* ✅ Statically linked (no need to build Hyperscan/Vectorscan)\n* ✅ [Chimera][1] support\n\n## Installation\n\n```shell\n# 🪄 Installing libhs is NOT required, because python-hyperscan is statically linked\npip install hyperscan\n```\n\n## Build Optimization\n\nIf you'd like to use Intel's Hyperscan rather than Vectorscan, or if\nyou'd like to enable native CPU detection to build optimized non-FAT\nlibraries ([default off in Vectorscan][11]), extending the\n[manylinux-hyperscan][10] Docker image used to build the binary wheels\nfor this library should be fairly straightforward.\n\n## API Support\n\n``python-hyperscan`` currently exposes *most* of the C API, with the\nfollowing caveats or exceptions:\n\n* No [stream compression][2] support.\n* No [custom allocator][3] support.\n* ``hs_expression_info``, ``hs_expression_ext_info``,\n  ``hs_populate_platform``, and ``hs_serialized_database_info`` not\n  exposed yet.\n\nSee the [documentation][6] for more detailed build instructions.\n\n## Resources\n\n* [PyPI Project][13]\n* [Documentation][6]\n* [Hyperscan C API Documentation][14]\n\n[1]: http://intel.github.io/hyperscan/dev-reference/chimera.html\n[2]: http://intel.github.io/hyperscan/dev-reference/runtime.html#stream-compression\n[3]: http://intel.github.io/hyperscan/dev-reference/runtime.html#custom-allocators\n[4]: http://intel.github.io/hyperscan/dev-reference/compilation.html\n[5]: https://github.com/darvid/python-hyperscan/issues\n[6]: https://python-hyperscan.readthedocs.io\n[7]: https://www.vectorcamp.gr/vectorscan/\n[8]: https://www.hyperscan.io/\n[9]: https://github.com/VectorCamp/vectorscan?tab=readme-ov-file#hyperscan-license-change-after-54\n[10]: https://github.com/darvid/manylinux-hyperscan/\n[11]: https://github.com/VectorCamp/vectorscan?tab=readme-ov-file#configure--build\n[12]: https://github.com/pypa/manylinux\n[13]: https://pypi.org/project/hyperscan/\n[14]: http://intel.github.io/hyperscan/dev-reference/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarvid%2Fpython-hyperscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarvid%2Fpython-hyperscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarvid%2Fpython-hyperscan/lists"}