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:
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
Metadata
Release files for yadd 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yadd-0.3.0.tar.gz | 7.2 kB | Without provenance | Details for yadd-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yadd-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for yadd-0.3.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / yadd-0.3.0.tar.gz
| Download URL | yadd-0.3.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35de7768a3e7a3aa4e22398cde31df8f4ae56be6f7fdca3ff13dd8be8a7324e1
|
|
BLAKE2b-256 checksum How to use checksums |
e9c79caebae23be0f7a3201be1b86cf9a319e3309dbed81f8f41cac9164a2504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|
Release files / yadd-0.3.0-py3-none-any.whl
| Download URL | yadd-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
653933f69348af4ac19733f11188cd5109f2afc18a2a70dd2d80d98d9d61ddd1
|
|
BLAKE2b-256 checksum How to use checksums |
316cd6468029bb903e1ff3f7bc2721fdb44adba710586b20f2174c5ebd4eef44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.11
|
Security for yadd 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.