Metadata-Version: 2.1
Name: rentropy
Version: 0.1.3
Summary: A small wrapper around a rust entropy crate
Home-page: https://github.com/tbehner/rentropy
Author: Timm Behner
Author-email: timm.behner@fkie.fraunhofer.de
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown

# rentropy
A small wrapper around the rust [entropy crate](https://crates.io/crates/entropy) with [PyO3](https://github.com/PyO3/pyo3).

## Usage

```
    import rentropy
    rentropy.eta(b"Hello, world!")
```

calculates the [Shannon entropy](https://en.wikipedia.org/wiki/Entropy_(information_theory)) of `b"Hello, world!"`.

## Setup
```
    pip install rentropy
```

## Build
Use [just](https://crates.io/crates/just) to build wheels for CPython 3.5, 3.6
and 3.7 with manylinux.

```
    just build
```


