Skip to main content

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} `

Download files

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

Source Distribution

dicttools-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file dicttools-0.1.0.tar.gz.

File metadata

  • Download URL: dicttools-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dicttools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 50cf658a6d3cbdb7929dd7f1d04d009c5099f110ee04a0c1b71010eca57526bf
MD5 955b43e3137f27070b0a63f540e73f38
BLAKE2b-256 52b2a3b747e0ab75d1c0b592678bb118ecebc759c046ad93534c58e691703893

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

Supported by

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