Skip to main content

tinydenticon

Preview Preview

Python 3 implementation of Identicon.

Specifically designed to produce the same results as identicon.js

Installation:

Pip:

pip3 install tinydenticon

Usage example:

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

Release files for tinydenticon 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tinydenticon 0.1.2
File Size Uploaded
tinydenticon-0.1.2.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tinydenticon 0.1.2
File Interpreter ABI Platform
tinydenticon-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 kB

Release files / tinydenticon-0.1.2.tar.gz

Download URL tinydenticon-0.1.2.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5009fea8c7fcf9f14c3b9e062f37ade5d32d750afe319d9860dbb2ed8a2a05bd
BLAKE2b-256 checksum
How to use checksums
d3d06d1c04368b136c8f2649172803cc162380247b0605b2e2f8034c76abf7f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.10.6 Windows/10

Release files / tinydenticon-0.1.2-py3-none-any.whl

Download URL tinydenticon-0.1.2-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f96ca5a21d261ae4019290472c4a9c2e705013ab821349e4be7488a9e5f65cd
BLAKE2b-256 checksum
How to use checksums
945ba3b2cb83fbad10fd313e039cb785a5d49a46bf9595819e2e13a017b6d2fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.10.6 Windows/10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page