PyJEXL-Extended
Python implementation of the JEXL expression language with extended grammar—over 80 built-in functions and transforms for strings, numbers, arrays, objects, dates, and more.
NOTE: This library is based on TomFrost's JEXL and extends the original mozilla/pyjexl with a rich set of features inspired by jexl-extended.
Features
- 🚀 80+ Built-in Functions & Transforms: String manipulation, math, arrays, objects, dates, and more
- 🧩 Modular Grammar: Use the entire library or import individual functions
- 🐍 Pythonic Semantics: Type-safe, predictable behavior
- 🧪 Extensible: Add your own functions, transforms, and operators
📚 Full Documentation: https://docs.konnektr.io/docs/jexl/
Quick Start
Install:
pip install pyjexl-extended
Basic usage:
from pyjexl.jexl_extended import JexlExtended
context = {
"users": [
{"name": "John", "age": 32},
{"name": "Jane", "age": 34},
{"name": "Bob", "age": 33}
]
}
jexl = JexlExtended(context)
result = jexl.eval('users|filter("value.age > 32")|map("value.name")|join(", ")')
# "Jane, Bob"
Extended Grammar Examples
- String:
"hello world"|uppercase→"HELLO WORLD" - Array:
[1,2,3]|sum→6 - Object:
{foo:1, bar:2}|keys→['foo', 'bar'] - Date:
now()→ ISO datetime string - Math:
10.123456|round(2)→10.12
See jexl-extended for the full list of available functions and transforms.
Playground
Try out expressions interactively:
Related Projects
- jexl-extended (TypeScript) — The original extended grammar for JEXL
- JexlNet (C#) — C# implementation with extended grammar
- PyJEXL (Mozilla) — Original Python JEXL parser
- jexl-rs (Rust) — Rust-based JEXL parser
License
Licensed under the MIT License. See LICENSE for details.
Metadata
Release files for pyjexl-extended 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyjexl_extended-0.2.6.tar.gz | 27.4 kB | With provenance | Details for pyjexl_extended-0.2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyjexl_extended-0.2.6-py3-none-any.whl | Python 3 | none | any | Details for pyjexl_extended-0.2.6-py3-none-any.whl |
Total release size: 46.8 kB
Release files / pyjexl_extended-0.2.6.tar.gz
| Download URL | pyjexl_extended-0.2.6.tar.gz |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
159ada613e6e974d1314510a124125507c2b1de5d595d09f712c2b355b177ba6
|
|
BLAKE2b-256 checksum How to use checksums |
049f80b048b7c02c2139f5f0873fed98da30d43d77fdbaea1dfcf6ccbade702c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / pyjexl_extended-0.2.6-py3-none-any.whl
| Download URL | pyjexl_extended-0.2.6-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cda9b68ec5c46f10d480e1787117ff6ed88332a0be85cd9b8547ec2df1bf9c1
|
|
BLAKE2b-256 checksum How to use checksums |
d10d44b24b9889b2b085b1c605cfcaf7881cd6425a7881f0680602739cc74215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logSecurity for pyjexl-extended 0.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyjexl_extended-0.2.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.