Skip to content

modzero/python-entropy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.8%
  • C 42.2%