$npx skillfedfor your agent

dpath

Filesystem-like pathing and searching for dictionaries

Worth itPyPI Python ModulesReleased Jun 202411.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dpath-2.2.0-py3-none-any.whl
v2.2.0 · released 2024-06-12 · Python >=3.7

Yes. dpath is a stable, dependency-free utility for a common task—navigating nested dicts with path syntax. It has no known vulnerabilities, permissive licensing, and broad Python version support. The dormant maintenance status is not a blocker for a mature, focused library with no active dependencies to break. Install it if you work frequently with nested dictionaries or configuration structures.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • Installation is straightforward with no runtime dependencies.
  • The package is dormant (last release 2024-06-12, last commit 2024-07-09), but it is marked Production/Stable and has been actively maintained since its initial 2013-05-11 release.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute dpath freely provided you include the license notice.

last release 2024-06-12 (793 days) · last repo commit 2024-07-09 · 627 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,340,497 downloads/mo, #1,397 on PyPI

Verify before relying

pip install dpath

import dpath

x = {"a": {"b": {"43": 30}}}
result = dpath.get(x, '/a/b/43')  # Returns 30
matches = dpath.search(x, 'a/b/*')  # Search with glob patterns
  • Whether the package is actively maintained going forward or if dormancy signals end-of-life intent.
  • Performance characteristics on very large or deeply nested dictionaries.
  • Compatibility with non-string dictionary keys beyond what the description shows.
Same gist for agents: .md · .json

What it is and what it does

dpath is a Python library that treats nested dictionaries as if they were filesystems, letting you navigate and query them using slash-separated paths and glob patterns. Instead of writing nested bracket notation like `x['a']['b']['43']`, you write `dpath.get(x, '/a/b/43')`. It supports glob syntax (e.g., `[cd]` to match keys 'c' or 'd', or `*` to match any key at a level) for bulk operations like searching, setting, or deleting multiple values at once.

The library provides functions to get single values, search for all matches (returning a filtered dictionary or yielding path-value tuples), extract just the values, set or create new paths (with automatic intermediate key creation), delete matching paths, and merge dictionaries deeply. It has no external dependencies and works with modern Python versions (3.7 through 3.12), making it a lightweight utility for working with configuration files, JSON data, or any nested dict structure where path-based access is clearer than nested indexing.

Use it for

  • Query configuration files or JSON documents using glob patterns to find all matching keys without nested loops.
  • Bulk update or delete values in deeply nested dictionaries by specifying a path glob instead of iterating manually.
  • Create new nested paths in a dictionary automatically (like `mkdir -p`) without manually creating intermediate dicts.
  • Extract a subset of a large nested structure by searching for keys matching a pattern and returning only the matching branches.
  • Merge two configuration dictionaries deeply, combining lists and nested objects instead of shallow replacement.

Worth the install?

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

Worth it

Yes.

dpath is a stable, dependency-free utility for a common task—navigating nested dicts with path syntax. It has no known vulnerabilities, permissive licensing, and broad Python version support. The dormant maintenance status is not a blocker for a mature, focused library with no active dependencies to break. Install it if you work frequently with nested dictionaries or configuration structures.

Install

dpath on PyPI

Before you install

Installation is straightforward with no runtime dependencies. The package is dormant (last release 2024-06-12, last commit 2024-07-09), but it is marked Production/Stable and has been actively maintained since its initial 2013-05-11 release.

Requires Python 3.7 or later.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute dpath freely provided you include the license notice.

Quickstart

pip install dpath

import dpath

x = {"a": {"b": {"43": 30}}}
result = dpath.get(x, '/a/b/43')  # Returns 30
matches = dpath.search(x, 'a/b/*')  # Search with glob patterns

Verify before relying

  • Whether the package is actively maintained going forward or if dormancy signals end-of-life intent.
  • Performance characteristics on very large or deeply nested dictionaries.
  • Compatibility with non-string dictionary keys beyond what the description shows.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 793 days since the last release
Last repo commit
First released
Downloads11,340,497 / month, #1,397 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: dpath-2.2.0-py3-none-any.whl

Tags

Capabilities
nested dictionary accessglob path dictionary queriesxpath-like dict navigationsearch nested dictsdictionary path globbingdeep dict manipulationfilesystem-style dict paths
Topics
dict-navigationdata-queryingconfiguration-management

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 › “nested dictionary access”

  • dpathdpath lets you access, search, and modify nested dictionaries using…
  • addictProvides a dictionary subclass that allows nested attribute-style…
  • dotmapDotMap is a dict subclass that lets you access dictionary keys using…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also globmatch · pathtools · path · flatdict · pathable · mo-dots · glom · wcmatch · mergedeep · dict-recursive-update