Fast entropy calculation
Python C
Switch branches/tags
Latest commit 5ef027f Jan 20, 2014 @natano Remove python 2.5 from .travis.yml.
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 <natano@natano.net>

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/