DKey - Deprecating Dict Keys
The dkey
module allows you to deprecate the use of selected keys in a given dictionary thus making API changes involving
dictionaries less disruptive. To learn more about how to use it head over to the Documentation.
Installation
To install this package simply use pip:
pip install dkey
Usage example
Let's say we have a dict with an old key that we want to replace with a new one.