{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks"}],"enrichment":{"capability":"Merges nested Python data structures (dicts, lists, sets) with customizable strategies for handling conflicts and type-specific behavior.","skillfed_tags":["data-structures","configuration-management"],"use_cases":["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."],"what_it_does":"deepmerge handles the problem of combining nested Python data structures\u2014dictionaries, lists, and sets\u2014where 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.\n\nThe 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.","worth_installing":"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."},"id":"deepmerge","links":{"html":"https://skillfed.io/packages/deepmerge","md":"https://skillfed.io/packages/deepmerge.md","pypi":"https://pypi.org/project/deepmerge/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-22","license_spdx":null,"license_treatment":"permissive","name":"deepmerge","python_support":"supports_current","summary":"A toolset for deeply merging Python dictionaries."},"popularity":{"monthly_downloads":9811870,"position":1498,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
