Generate grayscale identity icons.
Project description
identy
Generate grayscale identity icons.
Usage
import identy
print(identy.from_string('identy', v=1))
print()
print(identy.random().png().base64str())
# You can save the icon
identy.random().png(256).save('/path/to/file.png')
████████████████
████░░ ░░████
██▓▓▓▓▓▓▓▓▓▓▓▓██
██▒▒▒▒░░░░▒▒▒▒██
██▒▒▒▒░░░░▒▒▒▒██
██▓▓▓▓▓▓▓▓▓▓▓▓██
████░░ ░░████
████████████████
iVBORw0KGgoAAAANSUh...
Note: The
str
representation of the icon may differ from the generated png image.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
identy-0.0.4.tar.gz
(4.9 kB
view hashes)
Built Distribution
identy-0.0.4-py3-none-any.whl
(4.8 kB
view hashes)