Skip to main content

No project description provided

Project description

Boring Avatars

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

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-0.3.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

boringavatars-0.3.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: boringavatars-0.3.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for boringavatars-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c1f2f1a7403209a8a03ca3dab8f1c2b8493ae1ed25b38698b948958e95ea79bc
MD5 564e01318fbd6e6003f64b6cf627090f
BLAKE2b-256 262b34269011c742f564bf02528fdab358b7b1eebda672df9774339c28a26502

See more details on using hashes here.

File details

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

File metadata

  • Download URL: boringavatars-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for boringavatars-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77fdc34c35db0ac20202ecbd6ae52570d675db6f9edde3f7ad4d2a600d689184
MD5 b02bdc05e932e4ce61175eddcf4595ed
BLAKE2b-256 73ea1e93292b55b480b5a53bc7b52ef6604f6954501b3733356c2540150518d9

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