{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/12"}],"enrichment":{"capability":"Parses and executes JsonLogic rules\u2014a language-agnostic JSON format for expressing conditional logic\u2014allowing you to share and store rules between front-end and back-end code.","skillfed_tags":["rules-engine","json-dsl","cross-language"],"use_cases":["Store conditional business rules in a database alongside records and evaluate them dynamically without code deployment.","Share validation or filtering logic between a web front-end and Python back-end without duplicating rule definitions.","Build a rules engine for workflow automation, eligibility checks, or dynamic feature flags using JSON configuration.","Evaluate complex nested conditions from external rule definitions without parsing custom DSLs or writing Python conditionals.","Serialize and version control business logic as JSON for audit trails and rule change tracking."],"what_it_does":"json-logic-qubit is a Python implementation of the JsonLogic format, a JSON-based syntax for expressing conditional logic that can be shared across languages. It accepts JsonLogic rule objects and evaluates them against optional data, supporting operators like comparison (==, <, >), logical operations (and, or), and data variable access via the 'var' operator. Rules are plain JSON structures, making them serializable and storable in databases alongside records.\n\nThe package has no runtime dependencies and installs cleanly. It is a direct port of the JavaScript json-logic-js library. However, it has been abandoned since August 2018 with no maintenance or updates since its initial release, so it should be considered stable but unsupported.","worth_installing":"Yes, if you need to execute JsonLogic rules and can accept an unmaintained package. The library is simple, has no dependencies, and the JsonLogic format itself is stable and well-documented. Install it for rule evaluation in production only if you are comfortable maintaining a fork or have low risk tolerance for unpatched issues. Not recommended for new projects requiring active maintenance or support."},"id":"json-logic-qubit","links":{"html":"https://skillfed.io/packages/json-logic-qubit","md":"https://skillfed.io/packages/json-logic-qubit.md","pypi":"https://pypi.org/project/json-logic-qubit/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-08-15","license_spdx":null,"license_treatment":"permissive","name":"json_logic_qubit","python_support":"unspecified","summary":"Build complex rules, serialize them as JSON, and execute them in Python"},"popularity":{"monthly_downloads":454522,"position":6568,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.1"}
