Metadata-Version: 2.1
Name: tinydenticon
Version: 0.1.0
Summary: identicon.js compatible Identicon implementation in Python 3
License: GPL-3.0-only
Author: tinytengu
Author-email: tinytengu@yandex.ru
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: Pillow (>=9.2.0,<10.0.0)
Requires-Dist: pycryptodomex (>=3.15.0,<4.0.0)
Requires-Dist: webcolors (>=1.12,<2.0)
Description-Content-Type: text/markdown

# tinydenticon

Python 3 implementation of Identicon.

Specifically designed to produce the same results as [identicon.js](https://github.com/stewartlord/identicon.js)

## Installation:
### Pip:
```sh
pip3 install tinydenticon
```

## Usage example:
```python
from PIL import Image
from tinydenticon import Identicon


def main():
    text = "tinytengu"
    size = 500
    rounds = 1337

    identicon = Identicon(text.encode(), hash_rounds=rounds, image_side=size)

    image = Image.new("RGB", (size, size))
    image.putdata(identicon.get_pixels())
    image.show()


if __name__ == "__main__":
    main()

```

## License
[GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.html)
