Skip to main content

No project description provided

Project description

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jmespathextractor-0.1.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jmespathextractor-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file jmespathextractor-0.1.0.tar.gz.

File metadata

  • Download URL: jmespathextractor-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Darwin/25.0.0

File hashes

Hashes for jmespathextractor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff93d25a0beea3104878a45db9585cc72e4f23fe820d3fa4bed5aac7ef9f530f
MD5 e68790f6008aa91a301add63e27afd72
BLAKE2b-256 173f979e9b9642559c2f1bd8ad020bdfa27c283f1885133c2b51a6a76adc98dd

See more details on using hashes here.

File details

Details for the file jmespathextractor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jmespathextractor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Darwin/25.0.0

File hashes

Hashes for jmespathextractor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14ab97549dd0bd3dbd0ef23ec90ad4eaa2f51a93a425169af5b8f3c5c9c99e7a
MD5 a6204327424ee905ee45e9ee559974eb
BLAKE2b-256 fbce0b2445375f3663b2327ff54724b1ca7d4556033f70a2d20970b20452b342

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page