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.2.tar.gz
(1.4 kB
view hashes)
Built Distributions
Close
Hashes for pycountdict-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405a8fe249f3604cd51b9ea3b606c5d8a674d1bbee5a1db9f76f4886eae29c2c |
|
MD5 | 23b7e339d560b3eef06f9876ab1e34a0 |
|
BLAKE2b-256 | e8a24a16a10e3d28b3735a9fa44573681b5dafb81510077f48428b0c858d4f9c |
Close
Hashes for pycountdict-1.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8dedbf52d0d526d6d6bbd320b3aeebd96e02648c74ea6f0b2b9b257eb0db19c |
|
MD5 | 71b598a8ab7d34542f3ae79fbcf3d42f |
|
BLAKE2b-256 | 7c866e26ae6c0852c5244684487e5bee006b55d2b975d2f57f3fefd1c3bcbf80 |