skillfed

types-jmespath

Typing stubs for jmespath

types-jmespath v1.1.0.20260724 892.9K downloads/30d#4,798 on PyPI37
Permissive license Apache-2.0 Active released

What it is and what it does

types-jmespath is a type stub package from the typeshed project that provides type annotations for the jmespath library. It allows static type checkers like mypy and pyright to understand and validate code that uses jmespath for querying JSON data structures. The stubs are maintained as part of typeshed and track jmespath version 1.1.*.

This package has no runtime dependencies and is purely a development tool—it does not affect how jmespath itself runs. You install it alongside jmespath so that your type checker can verify that you're using jmespath's API correctly. The package is actively maintained, with recent commits and releases, and has been tested against mypy 2.3.0 and pyright 1.1.411.

Use it for:

  • Enable mypy or pyright to catch type errors in code that calls jmespath.search() or other jmespath functions
  • Provide IDE autocomplete and inline type hints when working with jmespath in a modern editor
  • Enforce consistent type safety in projects that query JSON using jmespath expressions
  • Validate that jmespath query results are handled with the correct expected types

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

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

Yes, if you use jmespath and want static type checking. Install it as a development dependency alongside jmespath to enable type checkers to validate your code. No security concerns, low friction, and actively maintained. If you don't use a type checker or don't use jmespath, it has no value.

Install

types-jmespath on PyPI

pip

pip install types-jmespath

uv

uv add types-jmespath

poetry

poetry add types-jmespath

Installing types-jmespath

Before you install

Low friction installation with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14 and released 21 days ago. Requires Python 3.10 or later.

License in practice

Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or distribution.

Quickstart

pip install types-jmespath

# In your code, type checkers will now understand jmespath imports:
import jmespath
result: str = jmespath.search('foo.bar', {'foo': {'bar': 'baz'}})

Requires Python 3.10 or later; type checking requires a compatible type checker (mypy 2.3.0 or pyright 1.1.411 tested).

Verify before relying

  • Whether this stub package is automatically discovered by type checkers or requires explicit configuration in pyproject.toml or similar
  • Coverage completeness relative to jmespath 1.1.* API surface

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 21 days since the last release
Last repo commit
First released
Downloads 892,923/month — #4,798 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_jmespath-1.1.0.20260724-py3-none-any.whl

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs jmespathjmespath type hintsstatic type checking jmespathmypy jmespath annotationspyright jmespath typesjmespath typing supporttype checker stubs
type-stubstypeshed

More Software Development packages