An open API service indexing awesome lists of open source software.

https://github.com/onerbs/identy

Generate gray-scale icons
https://github.com/onerbs/identy

Last synced: 5 months ago
JSON representation

Generate gray-scale icons

Awesome Lists containing this project

README

          

# identy

Generate grayscale identity icons.

## Usage

```python
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.