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.
To install this package simply use pip:
pip install dkey
Let's say we have a dict with an old key that we want to replace with a new one.