python counter dictionary
Project description
# Python Counter Dictionary
e.g.)
` >>> from pycountdict import CounterDictionary >>> cd = CounterDictionary() >>> cd['a'] = 1 >>> print(cd) a: 1 >>> cd['b'] = 1 >>> print(cd) a: 1, b: 1 >>> cd['A'] = 1 >>> print(cd) a: 1, A: 1, b: 1 >>> cd['a'] = 1 >>> print(cd) a: 2, A: 1, b: 1 `
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
pycountdict-1.0.3.tar.gz
(1.7 kB
view hashes)
Built Distributions
Close
Hashes for pycountdict-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d269ecdb43d122b1933af6a51d44804c68a9e777dd228776b8cdd1b60aebe65 |
|
MD5 | f14e10d91c8e31e4675673bc886a96b5 |
|
BLAKE2b-256 | b1611b2fc52e18931842659324cc26e069671dbe558c043c9b9d68dd9cb3f0c2 |
Close
Hashes for pycountdict-1.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e81b1ed45e6282282e7cb61a16245a0777ff50976c3c53615cc077ef0fb0f11 |
|
MD5 | 9874776bd540b1f2ec26f0b3e7a61b5d |
|
BLAKE2b-256 | e869d165eba9f346311a0e573b1339199e8e945b3cba36b0802bb2d7bb1a3be8 |