Skip to main content

extension module for calculating entropy fast

Project description


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

Release history Release notifications

History Node

0.10

History Node

0.9

This version
History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
entropy-0.8.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Nov 8, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page