PyJEXL
A Python-based JEXL parser and evaluator.
NOTE: This library handles the JEXL from TomFrost's JEXL library. It does NOT handle the similarly-named Apache Commons JEXL language.
Limitations and Differences from JEXL
- JavaScript-style implicit type conversions aren't supported, but may be added in the future. Instead, Python type semantics are used.
- Property access is only supported for mapping objects currently.
- Several odd edge-cases in JEXL are ignored because they are unintuitive,
difficult to implement, or a bad pattern:
- Implicitly using the first element in an array when chaining identifiers
is not supported. In JEXL, if
foo.baris a list, the expressionfoo.bar.bazis equivalent tofoo.bar[0].baz. - Conditional expressions (AKA ternary expressions) cannot have a missing
consequent, i.e.
"foo" ?: 4is invalid.
- Implicitly using the first element in an array when chaining identifiers
is not supported. In JEXL, if
License
Licensed under the MIT License. See LICENSE for details.
Metadata
Release files for pyjexl 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyjexl-0.3.0.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyjexl-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 30.6 kB
Release files / pyjexl-0.3.0.tar.gz
| Download URL | pyjexl-0.3.0.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7aea7f4d7c3574cb630ca5d026ec0ab5e4e48f20a5f1e495e2740779d0045dd
|
|
BLAKE2b-256 checksum How to use checksums |
ab1d757ac4c9ae2da97cbb2c844fb70395990b5bbacccff5c0297ceefd670c62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / pyjexl-0.3.0-py2.py3-none-any.whl
| Download URL | pyjexl-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
da486f966546db71c3825fcb57ed2326cbb216e3e823bf4ba2bcda7ac9708a67
|
|
BLAKE2b-256 checksum How to use checksums |
3b909ae88f756d9e330ed4dc63a21d74328ee674f6abddcb4ac017351dd92d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|