panzi-json-logic
Pure Python 3 JsonLogic and CertLogic implementation.
Decision gist · record as of 2026-08-14
Yes, if you need to evaluate JsonLogic or CertLogic rules and can tolerate an unmaintained library. The package is stable, has no dependencies, and works well for its stated purpose. However, do not use it if you require active maintenance, security updates, or compatibility assurance with future Python versions. For new projects, consider whether a maintained alternative better fits your risk tolerance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- No runtime dependencies and a pure Python wheel make installation straightforward.
- However, the project is abandoned—last commit was 2021-09-12 and no updates have been released since.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.
last release 2021-09-12 (1797 days) · last repo commit 2021-09-12 · 26 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 607,401 downloads/mo, #5,786 on PyPI
Alternatives
Verify before relying
pip install panzi-json-logic
from panzi_json_logic import jsonLogic
rule = {"==": [1, 1]}
result = jsonLogic(rule)
# True
rule_with_data = {"var": "temp"}
data = {"temp": 100}
result = jsonLogic(rule_with_data, data)
# 100- How well does the JavaScript operator emulation handle edge cases in production use?
- Are there known incompatibilities with recent Python versions?
- Does the package handle deeply nested rules or large datasets efficiently?
What it is and what it does
panzi-json-logic is a pure Python interpreter for JsonLogic—a JSON-based format for expressing conditional logic that can be shared across languages and stored in databases. It also implements CertLogic, a dialect with different semantics used in certificate validation workflows. The package evaluates rules (expressed as nested JSON objects with operators as keys) against data objects, supporting comparison, logical, and data-access operations.
The implementation aims to closely match the JavaScript reference implementation's operator behavior, including quirks like loose equality. It supports custom operations via an optional dictionary, and includes extras like time parsing and conversion utilities. With no external runtime dependencies, it installs cleanly, but the project has been abandoned since 2021-09-12 and receives no maintenance.
Use it for
- Store conditional business rules in a database and evaluate them server-side without recompiling or redeploying code.
- Share the same rule logic between a web front-end and Python back-end to keep validation consistent.
- Implement certificate validation workflows using CertLogic rules for EU digital certificates or similar systems.
- Build a rules engine where non-developers can define logic in JSON without writing Python code.
- Evaluate time-based rules using built-in time operators for expiration or validity checks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to evaluate JsonLogic or CertLogic rules and can tolerate an unmaintained library.
The package is stable, has no dependencies, and works well for its stated purpose. However, do not use it if you require active maintenance, security updates, or compatibility assurance with future Python versions. For new projects, consider whether a maintained alternative better fits your risk tolerance.
Install
panzi-json-logic on PyPI
Before you install
No runtime dependencies and a pure Python wheel make installation straightforward. However, the project is abandoned—last commit was 2021-09-12 and no updates have been released since. Security and compatibility fixes are unlikely.
Requires Python 3.6 or later.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.
Quickstart
pip install panzi-json-logic
from panzi_json_logic import jsonLogic
rule = {"==": [1, 1]}
result = jsonLogic(rule)
# True
rule_with_data = {"var": "temp"}
data = {"temp": 100}
result = jsonLogic(rule_with_data, data)
# 100
Verify before relying
- How well does the JavaScript operator emulation handle edge cases in production use?
- Are there known incompatibilities with recent Python versions?
- Does the package handle deeply nested rules or large datasets efficiently?
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,797 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 607,401 / month, #5,786 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: panzi_json_logic-1.0.1-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 › “json logic evaluation”
- panzi-json-logicEvaluates JsonLogic and CertLogic rules—JSON-serializable logic…
- openfeature-flagd-coreEvaluates feature flags using JSON logic and custom operators…
- zen-enginezen-engine is a Python binding for a Rust-based business rules engine…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also json-logic · json_logic_qubit · zen-engine · business-rules · skope-rules · databricks-labs-dqx · plyara · rules · openfeature-flagd-core · cuallee