Skip to content

Fuso

uv Ruff License: MIT Python Version PyPI Version Read the Docs

fuso comes from the Italian word fusione, which translates to fusion. This is exactly what this library does; it creates a fusion between two dictionaries.

The goal of this library is to offer a customizable way of deeply merging dictionaries. In its simplest form, fuso offers an experience like other well-established dictionary merging libraries such as deepmerge, mergedeep.

However, where this library differs is that it allows the user to specify custom merge_functions for specific keys.

For example, you may want to concatenate lists for one key, but keep overwrite behavior for other keys. With fuso, this is possible.