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.1.tar.gz
(1.3 kB
view hashes)
Built Distributions
Close
Hashes for pycountdict-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f858105d470f9a9655f7beb02f24825f712193ae337b128344f3f5b797af129 |
|
MD5 | 115794889c49058f0aa96f30fb99df4f |
|
BLAKE2b-256 | ce50706a3e0a59e9aae77f774588d209d04a6dcfcd43f517f145d7345b0fd513 |
Close
Hashes for pycountdict-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b493199fdbe66538fbb3a3f146c1fbb1735f744e236488fefed85a1ce8d347d |
|
MD5 | 43a9ed44ceedc81044c200f9145a9742 |
|
BLAKE2b-256 | 20db1ec1d34f398b25eb0449a2fbecbfc97c5340355016ddb19b608c43859ba0 |