A Python port of the boring-avatars JS library.
Project description
Boring Avatars
boringavatars is a Python port of the boring-avatars JS library.
Install
pip install boringavatars
Usage
from boringavatars import avatar
# returns the string corresponding to the generated SVG
avatar(
"Maria Mitchell",
variant="marble",
colors=["92A1C6", "146A7C", "F0AB3D", "C271B4", "C20D90"],
title=False,
size=40,
square=True,
)
License
MIT
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
boringavatars-1.0.3.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for boringavatars-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44b4c7c81280ca68d565101e7fceec15dfe8eb05df0bdaacd983a0ac141b874 |
|
MD5 | e3228c1859a0f4c383b2f301afa45778 |
|
BLAKE2b-256 | 9eb1fd92958617114d3207c6e87dde40b64683d94fc669b25249c387e563d1c7 |