Metadata-Version: 2.1
Name: yadd
Version: 0.0.9
Summary: Yet Another dict Differ
Project-URL: Homepage, https://github.com/jamesabel/yadd
Project-URL: Source, https://github.com/jamesabel/yadd
Project-URL: Documentation, https://github.com/jamesabel/yadd
Author-email: abel <j@abel.co>, James Abel <j@abel.co>
License: MIT License
Keywords: dict,differ
Requires-Python: >=3.10
Requires-Dist: ismain
Requires-Dist: tomli
Description-Content-Type: text/markdown

# yadd

Yet Another `dict` Differ

# Debug aid

`yadd` helps you debug your dict differences. It pinpoints the values that are different to aid in debugging.

# Close enough

You may have heard the term "close enough for Jazz". Well, that can apply to floating point numbers too. yadda uses `cmath.isclose()`
for numbers.

# Lots of data types

- iterables
  - dict
  - list
  - tuple
- numbers
  - int, float, complex, Decimal
- str
- bool

# Make your own yadda-yadda

`yadd` has several parameters, most of which are dependent on the usage model. You may want to consider writing your own
function that calls `yadd` with the parameters most appropriate for your usage.

Example:

```python

from yadd import yadd

def my_yadd(*args, **kwargs) -> bool:
    # loosen up the numeric tolerances
    return yadd(*args, rel_tol=1E-6, abs_tol=1E-9, **kwargs)

```

# Related Solutions

[DeepDiff](https://github.com/seperman/deepdiff)
