Skip to main content

UNKNOWN

Project description

dicttools

a set of dictionary utilities that attempt to make handling python dictionaries a little easier.

installing

> git clone http://github.com/rlgomes/dicttools.git#egg=dicttools > cd dicttools > python setup.py install

or install directly from github with:

> pip install -e git+git://github.com/rlgomes/dicttools.git#egg=dicttools

usage

`{r basicconsole} > import dicttools > dicttools.filter(lambda key, value: key > 2, { 1: None, 2:{ 3: None }, 4:{}}) {4: {}} `

`{r basicconsole} > dicttools.map(lambda key, value: (key, True), { 1: None, 2: 23, 4:{}}) {1: True, 2: True, 4: True} `

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 dicttools, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size dicttools-0.1.0.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page