mergedeep
A deep merge function for 🐍.
Decision gist · record as of 2026-08-14
Yes, if you need a simple, zero-dependency deep merge utility. The package is stable and well-suited for basic dict merging tasks. However, be aware it is dormant—no active maintenance since 2021—so do not expect bug fixes or new features. For mission-critical applications or if you need ongoing support, consider whether a more actively maintained alternative fits your requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- Low install friction with no runtime dependencies.
- Maintenance is dormant—last release was 2021-02-05 and no commits since 2024-04-02—so expect no active bug fixes or feature updates, though the package is stable enough for basic use.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute mergedeep freely in commercial and private projects with minimal restrictions.
last release 2021-02-05 (2016 days) · last repo commit 2024-04-02 · 161 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 35,417,165 downloads/mo, #747 on PyPI
Alternatives
Verify before relying
from mergedeep import merge
a = {"keyA": 1}
b = {"keyB": {"sub1": 10}}
merged = merge({}, a, b)
print(merged) # {"keyA": 1, "keyB": {"sub1": 10}}- Whether the package handles circular references or other edge cases in deeply nested structures.
- Performance characteristics when merging very large or deeply nested dictionaries.
What it is and what it does
Mergedeep is a lightweight utility for combining nested dictionaries in Python. It provides a `merge()` function that takes a destination dict and one or more source dicts, recursively combining their keys and nested structures. The package supports multiple merge strategies: REPLACE (default, rightmost source wins), ADDITIVE (extends lists, tuples, sets, and Counters), TYPESAFE_REPLACE (raises TypeError on type mismatches), and TYPESAFE_ADDITIVE (type-safe additive merging). It can merge into an existing dict or create a new merged result without mutating the source dicts.
The package is dormant—last updated in February 2021 with no recent commits—but remains stable for its core use case. It has no runtime dependencies and installs cleanly. It's useful when you need to combine configuration dicts, merge API responses, or consolidate nested data structures from multiple sources.
Use it for
- Merge configuration files or environment overrides into a base config dict.
- Combine nested API responses or JSON payloads from multiple sources.
- Consolidate nested data structures in data processing pipelines.
- Extend lists or counters within nested dicts using additive merge strategy.
- Validate type consistency when merging dicts with TYPESAFE strategies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a simple, zero-dependency deep merge utility.
The package is stable and well-suited for basic dict merging tasks. However, be aware it is dormant—no active maintenance since 2021—so do not expect bug fixes or new features. For mission-critical applications or if you need ongoing support, consider whether a more actively maintained alternative fits your requirements.
Install
mergedeep on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2021-02-05 and no commits since 2024-04-02—so expect no active bug fixes or feature updates, though the package is stable enough for basic use.
Requires Python 3.6 or later.
License in practice
MIT license (permissive) means you can use, modify, and distribute mergedeep freely in commercial and private projects with minimal restrictions.
Quickstart
from mergedeep import merge
a = {"keyA": 1}
b = {"keyB": {"sub1": 10}}
merged = merge({}, a, b)
print(merged) # {"keyA": 1, "keyB": {"sub1": 10}}
Verify before relying
- Whether the package handles circular references or other edge cases in deeply nested structures.
- Performance characteristics when merging very large or deeply nested dictionaries.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 2,016 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 35,417,165 / month, #747 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: mergedeep-1.3.4-py3-none-any.whl
Tags
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 dictionaries”
- mergedeepMerges nested dictionaries recursively, combining multiple source…
- deepmergeMerges nested Python data structures (dicts, lists, sets) with…
- dict-recursive-updateRecursively merges one dictionary into another, updating nested keys…
Give your agent the search over MCP, or paste the wish link into any chat.
Similar packages
Merges nested Python data structures (dicts, lists, sets) with customizable strategies for handling conflicts and type-specific behavior.
Install it if you regularly merge nested dicts or need flexible control over how conflicts are resolved.
Recursively merges one dictionary into another, updating nested keys while preserving unmodified branches.
Merges multiple JSON documents into a single document using configurable merge strategies applied via JSON schema keywords.
Implements 3-way merge of text sequences, combining changes from two independent branches against a common base to produce a merged result with conflict markers.
Flattens nested dictionaries into single-level dicts with delimited composite keys, and optionally flattens lists and tuples by index.
Install it if you regularly work with nested dicts and need a lightweight, transparent way to flatten them.
dpath lets you access, search, and modify nested dictionaries using glob-style path syntax (e.g., `/a/b/[cd]`), similar to filesystem navigation or XPath queries.
Install it if you work frequently with nested dictionaries or configuration structures.
See also hydraters · HiYaPyCo · recursive-diff