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.

Files for dkey, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size dkey-0.2.3-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dkey-0.2.3.tar.gz (162.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page