$npx skillfedfor your agent

deepmerge

A toolset for deeply merging Python dictionaries.

Worth itPyPI Application FrameworksReleased Jun 20269.8M downloads / moMIT LicencePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — deepmerge-2.1.0-py3-none-any.whl
v2.1.0 · released 2026-06-22 · Python >=3.8 · 1 runtime deps: typing_extensions

Yes. deepmerge is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a common problem with minimal dependencies and friction. Install it if you regularly merge nested dicts or need flexible control over how conflicts are resolved.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single pure-Python dependency (typing_extensions).
  • Active maintenance: last release 53 days ago, repository not archived, recent commits present.

License · maintenance · safety

MIT Licence (permissive) — MIT License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2026-06-22 (53 days) · last repo commit 2026-06-22 · 211 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,811,870 downloads/mo, #1,498 on PyPI

Verify before relying

pip install deepmerge

from deepmerge import always_merger

base = {"foo": ["bar"]}
next_dict = {"foo": ["baz"]}
result = always_merger.merge(base, next_dict)
# result: {'foo': ['bar', 'baz']}
Same gist for agents: .md · .json

What it is and what it does

deepmerge handles the problem of combining nested Python data structures—dictionaries, lists, and sets—where simple assignment or shallow merging would lose data or overwrite values. It provides both a ready-to-use merger (always_merger) that applies sensible defaults and a Merger class for defining custom merge strategies per type. You specify how lists should combine (append, extend, or replace), how dicts should merge, how sets should combine, and what to do when types conflict or don't match any rule.

The package is lightweight, depends only on typing_extensions, and supports Python 3.8 and later. It's useful in configuration management, data aggregation, and any workflow where you need to combine nested structures without losing information from either source.

Use it for

  • Merge configuration dictionaries from multiple sources (defaults, environment, user config) without losing nested settings.
  • Combine API responses or JSON documents with overlapping keys while preserving list elements from both sources.
  • Aggregate nested data from multiple files or database records into a single structure.
  • Build custom merge logic for domain-specific data types using the Merger class with type-specific strategies.
  • Handle YAML or JSON config merging in deployment or build tools where deep nesting is common.

Worth the install?

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

Worth it

Yes.

deepmerge is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a common problem with minimal dependencies and friction. Install it if you regularly merge nested dicts or need flexible control over how conflicts are resolved.

Install

deepmerge on PyPI

Before you install

Low install friction with a single pure-Python dependency (typing_extensions). Active maintenance: last release 53 days ago, repository not archived, recent commits present.

License in practice

MIT License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install deepmerge

from deepmerge import always_merger

base = {"foo": ["bar"]}
next_dict = {"foo": ["baz"]}
result = always_merger.merge(base, next_dict)
# result: {'foo': ['bar', 'baz']}

Package facts

LicenseMIT Licence permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing_extensions
MaintenanceActively maintained 53 days since the last release
Last repo commit
First released
Downloads9,811,870 / month, #1,498 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 LicenseProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Evidence: deepmerge-2.1.0-py3-none-any.whl

Tags

Capabilities
merge nested dictionariesdeep merge python dictscombine nested data structuresrecursive dictionary mergemerge lists and dicts togethercustom merge strategieshandle nested dict conflicts
Topics
data-structuresconfiguration-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 › “deep merge python dicts”

  • deepmergeMerges nested Python data structures (dicts, lists, sets) with…
  • mergedeepMerges nested dictionaries recursively, combining multiple source…
  • dpathdpath lets you access, search, and modify nested dictionaries using…

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

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also dict-recursive-update · hydraters · jsonmerge · merge3 · mergedeep · flatdict · nested-lookup · pytest-html-merger · datadiff · dpath