Skip to content

jvherck/dicebear-cli

Repository files navigation

DiceBear PIP CLI

Downloads PyPI GitHub issues GitHub PyPI - Python Version Maintenance
dicebear-cli is a CLI for https://pypi.org/project/dicebear. Using this CLI you can get avatars for your program (to get customised avatars use the wrapper instead).
For an example go to examples/dicebear.sh.


Useful links


How to install

Run pip install dicebear-cli
If that doesn't work try py -m pip install dicebear-cli


Usage

It can quickly create one or more avatars at a time but it can't take options.

dicebear --help
dicebear create --help
dicebear create avataaars -s "John Apple" -f svg

Styles

All the possible avatar styles.
https://dicebear.com/styles

  • adventurer
  • adventurer-neutral
  • avataaars
  • avataaars-neutral
  • big-ears
  • big-ears-neutral
  • big-smile
  • bottts
  • bottts-neutral
  • croodles
  • croodles-neutral
  • fun-emoji
  • icons
  • identicon
  • initials
  • lorelei
  • lorelei-neutral
  • micah
  • miniavs
  • open-peeps
  • personas
  • pixel-art
  • pixel-art-neutral

Formats

These are the only supported formats.
If you have Pillow (PIL) installed you can convert DAvatar to a PIL.Image.Image object to get a wider range of formats (Pillow doesn't support svg).

  • DFormat.svg (default)
  • DFormat.png
  • DFormat.jpg
  • DFormat.json

Credits

Special thanks to DiceBear (Florian Körner) for making this amazing API and to all artists that helped making avatars!

Licenses and privacy policy