hegel-core
Universal property-based testing protocol, built on Hypothesis
Decision gist · record as of 2026-08-14
No, not for new projects. While the package itself has low install friction and a permissive license, it is abandoned and in beta—the repository is archived, no maintenance is active, and breaking changes were explicitly possible during beta. If you need property-based testing in Python, use Hypothesis directly instead. Only consider hegel-core if you specifically need the cross-language Hegel protocol and are willing to maintain a fork.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; package is in beta and may have breaking changes.
- Installation is straightforward with low friction—a pure Python wheel with minimal dependencies.
- However, the package is in abandoned status as of July 2026, with the repository archived and no active maintenance, so expect no bug fixes or updates going forward.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing standpoint.
last release 2026-06-08 (67 days) · last repo commit 2026-07-01 · 95 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 228,521 downloads/mo, #9,152 on PyPI
Alternatives
Verify before relying
pip install hegel-core
from hypothesis import given
from hegel_core import hegel_strategy
@given(hegel_strategy())
def test_property(data):
assert data is not None- Whether the abandoned status means the protocol itself is stable or if cross-language implementations remain active.
- How the beta status and potential breaking changes affect long-term production use.
- Whether Hypothesis alone would serve your use case without the Hegel protocol layer.
What it is and what it does
Hegel-core is a property-based testing library built on top of Hypothesis, implementing a universal testing protocol designed to work across multiple programming languages (Rust, Go, C++, TypeScript, and Python). It provides core functionality for generating random test data and shrinking failures down to minimal reproducible cases—the core mechanics of property-based testing. The package depends on Hypothesis for its testing engine, cbor2 for data serialization, and click for CLI support.
The library is positioned as a protocol rather than a standalone tool, meaning it aims to enable property-based testing workflows that can be shared across language boundaries. However, it is currently in beta and abandoned as of July 2026, with the repository archived. The maintainers explicitly warned during beta that breaking changes were possible. If you need property-based testing in Python, you should evaluate whether Hypothesis alone meets your needs before adopting hegel-core, given the lack of ongoing maintenance.
Use it for
- Discovering edge cases in algorithms by generating random inputs and checking invariants hold across all cases.
- Fuzzing network protocols or data parsers to find crashes or unexpected behavior under varied input conditions.
- Cross-language testing workflows where the same property-based tests run in multiple languages via the Hegel protocol.
- Shrinking complex failing test cases to their minimal form for easier debugging and root-cause analysis.
- Validating mathematical properties or invariants in numerical code through randomized testing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, not for new projects.
While the package itself has low install friction and a permissive license, it is abandoned and in beta—the repository is archived, no maintenance is active, and breaking changes were explicitly possible during beta. If you need property-based testing in Python, use Hypothesis directly instead. Only consider hegel-core if you specifically need the cross-language Hegel protocol and are willing to maintain a fork.
Install
hegel-core on PyPI
Before you install
Installation is straightforward with low friction—a pure Python wheel with minimal dependencies. However, the package is in abandoned status as of July 2026, with the repository archived and no active maintenance, so expect no bug fixes or updates going forward.
Requires Python 3.10 or later; package is in beta and may have breaking changes.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing standpoint.
Quickstart
pip install hegel-core
from hypothesis import given
from hegel_core import hegel_strategy
@given(hegel_strategy())
def test_property(data):
assert data is not None
Verify before relying
- Whether the abandoned status means the protocol itself is stable or if cross-language implementations remain active.
- How the beta status and potential breaking changes affect long-term production use.
- Whether Hypothesis alone would serve your use case without the Hegel protocol layer.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescbor2clickhypothesis |
| Maintenance | Abandoned 67 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 228,521 / month, #9,152 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Framework :: HypothesisIntended Audience :: DevelopersOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Education :: TestingTopic :: Software Development :: TestingTyping :: Typed |
Evidence: hegel_core-0.10.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “property-based testing”
- hegel-coreHegel-core provides property-based testing data generation and…
- pytest-astropyA meta-package that bundles pytest plugins and testing libraries used…
- schemathesisSchemathesis generates test cases from OpenAPI and GraphQL schemas to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also hypothesis · hypothesis-graphql · schemathesis · hypothesis-jsonschema · boofuzz · pytest-astropy · atheris · ai-edge-quantizer · eth-brownie · pyvsc