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 details)
Built Distribution
File details
Details for the file identy-0.0.4.tar.gz
.
File metadata
- Download URL: identy-0.0.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f5fa02b6415fa5fe982ead555a8e27249f56c479d867db8e988d8aa8f49ae4 |
|
MD5 | af1f48fdb9ede350207621ceffe332e3 |
|
BLAKE2b-256 | 48aa1dfbd20efaafd9c99de6ae73277f74beda398f136302c235a0fb1635010b |
File details
Details for the file identy-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: identy-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d3871b9092e5f4582bbb5ca4c1e2cebf182b53862e83dcb12e16d1531e5b9b7 |
|
MD5 | 3ddc29bdbd61d85339398a1b92bade1b |
|
BLAKE2b-256 | c977f7bc64fafb62361b7c4f83d2bb3dd5d248d9674445ddbb067e27c3843b7b |