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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file dkey-0.2.3.tar.gz.

File metadata

  • Download URL: dkey-0.2.3.tar.gz
  • Upload date:
  • Size: 162.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for dkey-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e4a4862e051989bc03ebf7ba5d423f5b3b0a13495f15121bf02ae6e08a0b396c
MD5 9b743590e56572dfe65382b8306daff4
BLAKE2b-256 3d47c396de72990e596a3d1f7a9e41e7d554e567f0c4f1c7da3ed5fefa1c2219

See more details on using hashes here.

File details

Details for the file dkey-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: dkey-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for dkey-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eadbdef3eb6e33ca04733c59a792e73c7c2fc959951c0bf5c62cb50a447436f8
MD5 6fdc0acf9b5b9ae8f6c63176f6db1013
BLAKE2b-256 23ceac47e3f05e72d413fecfbe7955bd8a3ef5ad5702f5f49acb5289125d8a68

See more details on using hashes here.

Supported by

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