{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"},{"label":"Interpreters","url":"https://skillfed.io/packages/category/software-development-interpreters"}],"enrichment":{"capability":"A Python wrapper for the CEL C++ implementation that compiles and evaluates Common Expression Language (CEL) expressions with support for custom functions, protobuf messages, and type checking.","skillfed_tags":["policy-evaluation","expression-language","protobuf-integration"],"use_cases":["Authorization and access control: evaluate policies like 'user.role in [\"admin\"] && request.resource == \"sensitive_data\"'.","Rule engines in microservices: compile and cache expressions once, then evaluate them across many requests with different variable bindings.","Protobuf-based validation: check constraints on protobuf message fields within CEL expressions.","Custom business logic: define domain-specific functions and reuse them across multiple compiled expressions.","Memory-constrained evaluation: use Arena for batch evaluation to release temporary objects as a group."],"what_it_does":"cel-expr-python is a Python binding to the CEL C++ runtime, enabling you to parse, compile, and evaluate CEL expressions\u2014a Google-designed language for policy evaluation and access control. It lets you define typed variables, compile expressions once for reuse, and evaluate them efficiently against different data sets. The package supports protobuf messages as first-class values, custom Python functions, optional type checking at compile time, and memory-efficient evaluation via shared arenas and activations.\n\nYou typically use it to build policy engines, authorization systems, or rule evaluators where expressions need to be safe, sandboxed, and fast. The wrapper handles the C++ complexity, exposing a straightforward Python API for environment setup, expression compilation, and evaluation with optional configuration for descriptor pools, containers, and extensions.","worth_installing":"Yes, if you need a safe, efficient expression evaluator for policy or rule engines. The package is actively maintained, has no known vulnerabilities, supports modern Python versions with precompiled wheels, and offers a clean API for both simple and advanced use cases (custom functions, protobuf integration, memory optimization). Install friction is moderate but manageable; the Apache-2.0 license is unrestrictive."},"id":"cel-expr-python","links":{"html":"https://skillfed.io/packages/cel-expr-python","md":"https://skillfed.io/packages/cel-expr-python.md","pypi":"https://pypi.org/project/cel-expr-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-25","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"cel-expr-python","python_support":"supports_current","summary":"The CEL Python runtime"},"popularity":{"monthly_downloads":234122,"position":9029,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.3"}
