demoProfile-0.0.4
توضیحات
a package that generates profile picture from your name
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | demoProfile-0.0.4 |
| نام | demoProfile |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sheikh Umaid |
| ایمیل نویسنده | sheikhumaid@pm.me |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/demoProfile/ |
| مجوز | - |
A package to generate profile picture from a given string and gives you the option to choose the background color of the image. It is a simple package that can be used in any python project. Eg: django, flask, etc.
## Installation
```bash
pip install demoProfile
```
## Usage
```python
from demoProfile import generate
img = generate("sheikh umaid")
img.save("profile.png")
```
## To use a custom background color
```python
from demoProfile import generate
img = generate("sheikh umaid", 'pink')
img.save("profile.png")
```
نیازمندی
| مقدار | نام |
|---|---|
| - | pillow |
نحوه نصب
نصب پکیج whl demoProfile-0.0.4:
pip install demoProfile-0.0.4.whl
نصب پکیج tar.gz demoProfile-0.0.4:
pip install demoProfile-0.0.4.tar.gz