Skip to main content

jmespathextractor

Extract values from deeply-nested JSON using JMESPath expressions.

Installation

pip install jmespathextractor

Usage

from jmespathextractor import Extractor

instance = {"user": {"name": "John Doe"}}
ex = Extractor({"user_name": "user.name"})
result = ex.extract(instance=instance)

assert result["user_name"] == "John Doe"

Metadata

Release files for jmespathextractor 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jmespathextractor 0.1.0
File Size Uploaded
jmespathextractor-0.1.0.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jmespathextractor 0.1.0
File Interpreter ABI Platform
jmespathextractor-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / jmespathextractor-0.1.0.tar.gz

Download URL jmespathextractor-0.1.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ff93d25a0beea3104878a45db9585cc72e4f23fe820d3fa4bed5aac7ef9f530f
BLAKE2b-256 checksum
How to use checksums
173f979e9b9642559c2f1bd8ad020bdfa27c283f1885133c2b51a6a76adc98dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.14 Darwin/25.0.0

Release files / jmespathextractor-0.1.0-py3-none-any.whl

Download URL jmespathextractor-0.1.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14ab97549dd0bd3dbd0ef23ec90ad4eaa2f51a93a425169af5b8f3c5c9c99e7a
BLAKE2b-256 checksum
How to use checksums
fbce0b2445375f3663b2327ff54724b1ca7d4556033f70a2d20970b20452b342
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.14 Darwin/25.0.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page