Skip to content

kylebamos/python-entropy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

About

Fast entropy calculation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 56.5%
  • C 43.5%