Skip to main content

A Python port of the boring-avatars JS library.

Project description

Boring Avatars

boringavatars is a Python port of the boring-avatars JS library.

Build Status Supported Versions License: MIT

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


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)

Uploaded Source

Built Distribution

boringavatars-1.0.3-py3-none-any.whl (11.9 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