$npx skillfedfor your agent

jmespath

JSON Matching Expressions

Worth itPyPI Released Jan 2026652.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jmespath-1.1.0-py3-none-any.whl
v1.1.0 · released 2026-01-22 · Python >=3.9

Yes. JMESPath is a mature, zero-dependency library in the top 100 most-downloaded PyPI packages with no known vulnerabilities. Install it whenever you need to query or extract data from JSON structures more expressively than manual dict access—it pays for itself on the first non-trivial nested lookup.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with no runtime dependencies.
  • Actively maintained with recent commits and stable production status across modern Python versions.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.

last release 2026-01-22 (204 days) · last repo commit 2026-04-20 · 2,452 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 652,344,301 downloads/mo, #47 on PyPI

Verify before relying

pip install jmespath

import jmespath
result = jmespath.search('foo.bar[0].name', {'foo': {'bar': [{'name': 'value'}]}})
print(result)  # 'value'

# Or compile for reuse:
expr = jmespath.compile('foo.bar[*].name')
expr.search({'foo': {'bar': [{'name': 'a'}, {'name': 'b'}]}})
Same gist for agents: .md · .json

What it is and what it does

JMESPath is a standalone Python library that implements a query language for JSON documents. You write declarative expressions like `foo.bar[0].name` to extract nested values, filter lists, and project fields from JSON structures without writing loops or conditional logic. The library provides two main entry points: `search()` for one-off queries and `compile()` for reusing parsed expressions across multiple documents, similar to how the `re` module works for regular expressions.

The package supports list indexing (including negative indices), wildcard projections across arrays and objects, and a set of built-in functions for common operations. You can also extend it with custom functions by subclassing the `Functions` class and providing them via an `Options` object. With no external runtime dependencies and support for Python 3.9 through 3.14, it integrates cleanly into any JSON-processing workflow.

Use it for

  • Extract specific fields from deeply nested API responses without manual dict traversal.
  • Filter and project data from large JSON arrays in data pipelines or ETL workflows.
  • Reuse compiled expressions to query multiple documents with the same path pattern.
  • Transform JSON structures declaratively in configuration or templating systems.
  • Add domain-specific query functions for specialized JSON processing tasks.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

JMESPath is a mature, zero-dependency library in the top 100 most-downloaded PyPI packages with no known vulnerabilities. Install it whenever you need to query or extract data from JSON structures more expressively than manual dict access—it pays for itself on the first non-trivial nested lookup.

Install

jmespath on PyPI

Before you install

Low friction installation with no runtime dependencies. Actively maintained with recent commits and stable production status across modern Python versions.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.

Quickstart

pip install jmespath

import jmespath
result = jmespath.search('foo.bar[0].name', {'foo': {'bar': [{'name': 'value'}]}})
print(result)  # 'value'

# Or compile for reuse:
expr = jmespath.compile('foo.bar[*].name')
expr.search({'foo': {'bar': [{'name': 'a'}, {'name': 'b'}]}})

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 204 days since the last release
Last repo commit
First released
Downloads652,344,301 / month, #47 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: jmespath-1.1.0-py3-none-any.whl

Tags

Capabilities
json query languageextract json datajmespath expressionsjson path filteringdeclarative json extractionjson data transformationjson search and select
Topics
json-queryingdata-extraction

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “extract json data”

  • jmespathJMESPath is a query language for extracting and transforming data…
  • jsonpath-pythonExtracts, filters, sorts, and updates values in JSON data using…
  • parselParsel extracts data from HTML, JSON, and XML documents using CSS…

Give your agent the search over MCP, or paste the wish link into any chat.

Similar packages

niet Skip
PyPI · Software Development · released Apr 2023

A command-line tool that extracts and transforms data from YAML, JSON, and TOML files using path expressions, with support for format conversion and shell integration.

MITpure Python · 3.9+abandoned
294.8Kdownloads / mo
parsel Worth it
PyPI · Markup · released Jan 2026

Parsel extracts data from HTML, JSON, and XML documents using CSS selectors, XPath expressions, JMESPath queries, and regular expressions.

Install it if you need to extract data from HTML, XML, or JSON documents in a Python application.

BSD-3-Clausepure Python · 3.10+
4.9Mdownloads / mo
types-jmespath With conditions
PyPI · Software Development · released Jul 2026

Provides type annotations for the jmespath package, enabling static type checkers like mypy and pyright to validate code that uses jmespath for JSON querying.

Apache-2.0pure Python · 3.10+
892.9Kdownloads / mo
bc-jsonpath-ng With conditions
PyPI · Python Modules · released Nov 2023

Parses and queries JSON structures using JSONPath expressions, supporting arithmetic operators, binary comparisons, and AST manipulation for extracting, updating, or removing nodes.

However, note that maintenance is dormant (last commit Feb 2024, no releases for 992 days)—suitable for stable production use but not for projects requiring active…

Apache-2.0pure Python · 3.8+dormant
4.4Mdownloads / mo
toml-cli With conditions
PyPI · Utilities · released Sep 2025

Command-line tool for reading, writing, and querying TOML files without opening an editor, using JMESPath for complex lookups.

MIT AND (Apache-2.0 OR BSD-2-Clause)pure Python · 3.10+aging
669.0Kdownloads / mo
json-spec With conditions
PyPI · Utilities · released Apr 2024

Implements JSON Schema, JSON Pointer, and JSON Reference specifications to validate, navigate, and resolve JSON documents programmatically or via CLI.

Not recommended if you require active maintenance or expect frequent updates to JSON specification support.

Apache-2.0pure Pythondormant
455.0Kdownloads / mo

See also jsonpath-ng · repath · jsonpath-rw · jxmlease