boringavatars-1.0.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | boringavatars-1.0.1 |
| نام | boringavatars |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Federico Bond <federicobond@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/boringavatars/ |
| مجوز | - |
# Boring Avatars
boringavatars is a Python port of the <a href="https://www.npmjs.com/package/boring-avatars">boring-avatars</a> JS library.
[](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
نیازمندی
| مقدار | نام |
|---|---|
| - | Jinja2==3.1.2 |
| - | bandit[toml]==1.7.4 |
| - | black==22.1.0 |
| - | check-manifest==0.48 |
| - | flake8-bugbear==22.1.11 |
| - | flake8-docstrings |
| - | flake8-formatter_junit_xml |
| - | flake8==4.0.1 |
| - | pre-commit==2.17.0 |
| - | pylint==2.12.2 |
| - | pylint_junit |
| - | pytest-cov==3.0.0 |
| - | pytest-runner |
| - | pytest==7.1.0 |
| - | pytest-github-actions-annotate-failures |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl boringavatars-1.0.1:
pip install boringavatars-1.0.1.whl
نصب پکیج tar.gz boringavatars-1.0.1:
pip install boringavatars-1.0.1.tar.gz