Skip to main content

Package to deprecate dict keys

Project description

travis coveralls readthedocs PyPI license: MIT codacy requires.io

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.

https://raw.githubusercontent.com/nohs/dkey/master/img/usage.gif

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dkey-0.2.3.tar.gz (162.8 kB view hashes)

Uploaded Source

Built Distribution

dkey-0.2.3-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page