cel-python
cel-python copied to clipboard
Pure Python implementation of the Common Expression Language
The `has` macro is implemented by [visiting the child nodes and returning true if there was not a `CELEvalError`](https://github.com/cloud-custodian/cel-python/blob/6b8e3cd85c205eaa1d3193611c1ba0dcf9fdde97/src/celpy/evaluation.py#L1273). However, this makes it impossible for Protobuf messages to be handled...
CEL specifies that match should use re2 pattern matching and not re semantics. Closes https://github.com/cloud-custodian/cel-python/issues/58
Hey there, I encountered some performance benchmarks of certain CEL expressions evaluations using the library and wanted to know if that's the expected outcome. I saw https://github.com/cloud-custodian/cel-python/wiki/Early-Profiling-Data and https://github.com/cloud-custodian/cel-python/blob/main/benches/large_resource_set.py and...
Root Makefile contains defuct targets including but not limited to: ``` install: python3 -m venv . . bin/activate && pip install -r requirements-dev.txt ``` This functionality seems to have been...
CEL specification update: - [x] Compare CEL specification 0.5.0 (when this was released) with "current" CEL specification (0.24.0 as of this edit) to get the list of changes. - [...
I am considering using this library in a project but I can't seem to find any of the API documentation. Where should I look to find documentation on methods such...
We wanted to upgrade our library from 0.1.5 to 0.2 but noticed that stub packages have been added and are propagated to the users. As a library maintainer, you have...
Does cel overload functions works in python ? , if yes then any sample to look for
Example from README do not work for prg.evaluate function ``` import celpy from celpy import CELEvalError env = celpy.Environment() # Press the green button in the gutter to run the...
When running the following statements: * `false && true.exists_one(i, false)` * `true || true.exists_one(i, false)` I get the following error: `TypeError: 'BoolType' object is not iterable` According to the CELspec:...