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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boringavatars-1.0.3-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file boringavatars-1.0.3.tar.gz.

File metadata

  • Download URL: boringavatars-1.0.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for boringavatars-1.0.3.tar.gz
Algorithm Hash digest
SHA256 81794c91ba563478ebcef3aae65759ff20524cf00891a3ec9de956b30982f5d2
MD5 bb2f7b57cc51ea863434b2e968cd2c62
BLAKE2b-256 5701dcf6a67d233440d85644fa39f0f89fa47d58988671aa5b0bc554fb1c25ff

See more details on using hashes here.

File details

Details for the file boringavatars-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for boringavatars-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e44b4c7c81280ca68d565101e7fceec15dfe8eb05df0bdaacd983a0ac141b874
MD5 e3228c1859a0f4c383b2f301afa45778
BLAKE2b-256 9eb1fd92958617114d3207c6e87dde40b64683d94fc669b25249c387e563d1c7

See more details on using hashes here.

Supported by

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