Skip to content

xbeastx/python-entropy

 
 

Repository files navigation

                                -=} 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/

About

Fast entropy calculation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 55.0%
  • C 45.0%