Metadata-Version: 2.1
Name: nndict
Version: 2.0.1
Summary: A dict that does not support None entries. Silently deletes entry if updated to null and works recursively.
Home-page: https://vizidox.com
License: MIT
Keywords: NeverNone,Dict,NeverNoneDict,nndict
Author: Tiago Santos
Author-email: tiago.santos@vizidox.com
Maintainer: Joana Teixeira
Maintainer-email: joana.teixeira@vizidox.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/Morphotech/NeverNoneDict
Description-Content-Type: text/markdown

# NeverNoneDict
Python Dictionary that does not have None values.

### Installing

You can start using nn dict by installing it using pip.
```bash
pip install nndict
```


### Using nndict
```python
>nndict_ = nndict({"a": 2, "b": None, "c": {"d": None}})
>print(nndict_)
{'a': 2, 'c': {}}

>nndict_ = nndict({"a": 2})
>print(nndict_)
{'a': 2}

>nndict_["a"] = None
>print(nndict_)
{}
```

## Running the tests
Make sure you have the python versions listed in tox.ini installed. Then run tox:
```bash
tox
```

## Authors

* **Tiago Santos** - *Initial work* - tiago.santos@vizidox.com


