cel-python
cel-python copied to clipboard
Pure Python implementation of the Common Expression Language
There're performance critical fixes related to logging in main branch and it would be nice to have an updated library released. Do you have any plans to publish an updated...
currently barfing due to mismatch on pyproject.toml ``` error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output] Traceback (most recent...
The default configuration(logger names/logging levels in each module) doesn't seem to be reasonable when using this package as a library. A simple `logging.basicConfig(level=logging.INFO)` could easily flood the logging output. I...
I am in the process of implementing protovalidate in pure-python using cel-python have push things as far as I can from the outside leaving me the following 7 issues: ...
We are seeing errors like: ``` found no matching overload for _?_:_ applied to '(, , )'", , ("Unexpected ? : ``` Which is obfuscating the underlying error that occured...
Getting the wrong exception type when expression uses _all_ Expect to get an CELEvalError but instead of a TypeError ``` import celpy from celpy import CELEvalError env = celpy.Environment() #...
Hello! I was wondering if a celpy Environment instance could be shared amongst threads, or if we should create a new instance when we want to create a runner for...
Reproduce using the following code ``` py if __name__ == '__main__': cel = "[]" tree = CELParser().parse(cel) print(DumpAST.display(tree)) ``` The code fails with exception ``` return d.stack[0] IndexError: list index...
👋 I'd like to use this library for a program that runs on Python 3.6. Version `0.1.2` works but the fixed dependencies in the requirements are conflicting with my other...
When parsing a timestamp (e.g., `timestamp("2020-10-20T12:00:00-05:00")`), the provided timezone offset is stored but not output by `__str__` or `__repr__` which are hard coded to output the `Z` UTC abbreviation. I...