Skip to main content

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


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)

Uploaded Source

Built Distribution

identy-0.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page