https://github.com/federicobond/boringavatars
Python port of boring-avatars JS library.
https://github.com/federicobond/boringavatars
avatar-generator avatars
Last synced: 7 months ago
JSON representation
Python port of boring-avatars JS library.
- Host: GitHub
- URL: https://github.com/federicobond/boringavatars
- Owner: federicobond
- License: mit
- Created: 2022-12-28T03:01:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T13:33:35.000Z (12 months ago)
- Last Synced: 2024-10-23T03:23:17.083Z (12 months ago)
- Topics: avatar-generator, avatars
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boring Avatars
boringavatars is a Python port of the boring-avatars JS library.

[](https://pypi.python.org/pypi/boringavatars)
[](https://opensource.org/licenses/MIT)## Install
```
pip install boringavatars
```## Usage
```python
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