semvec/pypi-packages huggingface dataset:
b64img 0.1.0
Base64 Image Converter.
License: MIT License

██████╗  ██████╗ ██╗  ██╗██╗███╗   ███╗ ██████╗ 
    ██╔══██╗██╔════╝ ██║  ██║██║████╗ ████║██╔════╝ 
    ██████╔╝███████╗ ███████║██║██╔████╔██║██║  ███╗
    ██╔══██╗██╔═══██╗╚════██║██║██║╚██╔╝██║██║   ██║
    ██████╔╝╚██████╔╝     ██║██║██║ ╚═╝ ██║╚██████╔╝
    ╚═════╝  ╚═════╝      ╚═╝╚═╝╚═╝     ╚═╝ ╚═════╝ 
                                                
# b64img

Convert images to their base64 representations from the command line.

# Installation

    pip install b64img

# Usage

To convert an image and copy it to the clipboard:

    b64img file.png -c
ifa 0.2.0
A library for information flow analysis
License: MIT License
Keywords: information flow analysis entropy distribution

Information Flow Analysis
=========================

IFA is a simple and fast library for information theory research and information flow analysis. It's a Python module written C++, Cython.


Installation
============
Dependencies:
* numpy

If you have Cython some cpp files will get regenerated during installation
```bash
    pip install ifa

```

Or if you want the developmen version:
```bash
    git clone https://github.com/janekolszak/ifa.git;
    cd ifa;
    sudo make install;
```
Usage
=====
Computing Jensen–Shannon divergence:
```python
    from ifa.distribution import Distribution
    from ifa.divergence import jsd

    from numpy.testing import assert_allclose

    p = Distribution(["A", "B"], [0.5, 0.5])
    q = Distribution(["A", "C"], [0.5, 0.5])

    assert_allclose(jsd(p, 0.5, q, 0.5), [0.5])
```
What's inside:
==============
* Distribution class with some basic operations
* Divergences:
 * Jensen–Shannon divergence
 * Kullback–Leibler divergence
* Functions to compute information flow between distributions