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.4.tar.gz
(1.7 kB
view hashes)
Built Distributions
Close
Hashes for pycountdict-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2177e45628c69a764b33d1283c980093d62eccf198ee89762423cb0f288fe6f3 |
|
MD5 | ad0f39cda5ad673b5fe6b4843a68c80a |
|
BLAKE2b-256 | 82567c335083cf3d2ee65a388fd09c226d6969f9e1bc95e8667a0b2c5ef8ad1e |
Close
Hashes for pycountdict-1.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0fb1069193b254606b03c202a00f10ed020580d714c5921c53df2f5905d6cb |
|
MD5 | 34d71dc9fa417978222bc07bc0a849d1 |
|
BLAKE2b-256 | 6868fbe0bc0a978682961c8b15dfe81091677b40760cb5881a262b8bc5c695f0 |