Python
C
Latest commit
5ef027f
Jan 20, 2014
travis-ci dropped python 2.5 support.
Permalink
| Failed to load latest commit information. | |||
|
|
.gitignore |
|
|
|
|
.travis.yml |
|
|
|
|
LICENSE |
|
|
|
|
README |
|
|
|
|
entropymodule.c |
|
|
|
|
setup.py |
|
|
|
|
test_entropy.py |
|
|
|
|
test_requirements.txt |
|
|
README
-=} Entropy {=-
Fast entropy calculation
This library provides a method implemented in C for calculating the shannon
entropy[1] of a bytestring.
usage:
import entropy
entropy.shannon_entropy('data')
AUTHORS & CONTRIBUTORS:
Martin Natano <[email protected]>
Please follow PEP 8[2] when submitting patches/pull requests.
[1] http://en.wiktionary.org/wiki/Shannon_entropy
[2] http://www.python.org/dev/peps/pep-0008/