enkacard-1.1.8
توضیحات
An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | enkacard-1.1.8 |
| نام | enkacard |
| نسخه کتابخانه | 1.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | None |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/DEViantUA/EnkaNetworkCard/wiki/Dokumentation-enkanetworkcard |
| آدرس اینترنتی | https://pypi.org/project/enkacard/ |
| مجوز | - |
<p align="center">
<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/BannerCard.png?raw=true" alt="Баннер"/>
</p>
____
<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/Shablon_01.png?raw=true" width = 38% alt="Баннер"/>[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_02.png?raw=true" width = 6% alt="Баннер"/>](https://pypi.org/project/enkacard/)[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_03.png?raw=true" width = 7% alt="Баннер"/>](https://discord.gg/Pcb834pHe3)[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_04.png?raw=truee" width = 7% alt="Баннер"/>](https://github.com/DEViantUA/EnkaCard)[<img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/dark/Shablon_05.png?raw=true" width = 6% alt="Баннер"/>](https://enka.network/)
____
## EnkaCard
An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website. <br><br>
* 5 templates to choose from.<br>
* 2 profile templates.<br>
* Customization of all cards with background adaptation.
## Full Documentation:
- [Documentation EnkaCard](https://deviantua.github.io/EnkaCard-Documentation/)
- [API](https://deviantua.github.io/EnkaCard-Documentation/async/Other/api/)
- [Little Kazuha](https://discord.gg/TwuBfDbE) - Discord Bot, which perfectly demonstrates the work of the module. Just use the ```/profile``` command
- [ENCard](https://github.com/DEViantUA/ENCard) - Addon to the module.
## Installation:
```
pip install enkacard
```
## Launch:
``` python
from enkacard import encbanner
import asyncio
async def card():
async with encbanner.ENC() as encard:
ENCpy = await encard.enc(uids = "811455610")
return await encard.creat(ENCpy,1)
result = asyncio.run(card())
print(result)
```
<details>
<summary>Launch Profile</summary>
``` python
from enkacard import encbanner
import asyncio
async def card():
async with encbanner.ENC() as encard:
ENCpy = await encard.enc(uids = "811455610")
return await encard.profile(ENCpy,1)
result = asyncio.run(card())
print(result)
```
</details>
## Languages Supported
| Languege | Code | Languege | Code | Languege | Code |
|-------------|---------|-------------|---------|-------------|---------|
| English | en | русский | ru | Chinese | chs |
| Tiếng Việt | vi | ไทย | th | Taiwan | cht |
| português | pt | 한국어 | kr | deutsch | de |
| 日本語 | jp | 中文 | zh | español | es |
| 中文 | zh | Indonesian | id | français | fr |
## Sample Results:
<details>
<summary>Sample 1 template</summary>
[![Adaptation][1]][1]
[1]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/7.png?raw=true
[![Without Adaptation][2]][2]
[2]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/6.png?raw=true
</details>
<details>
<summary>Sample 2 template</summary>
[![Adaptation][3]][3]
[3]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/4.png?raw=true
</details>
<details>
<summary>Sample 3 template</summary>
[![Adaptation][4]][4]
[4]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/5.png?raw=true
</details>
<details>
<summary>Sample 4 template</summary>
[![Without Adaptation MINI INFO][5]][5]
[5]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/1.png?raw=true
[![Without Adaptation FULL INFO][6]][6]
[6]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/2.png?raw=true
[![Adaptation MINI INFO][7]][7]
[7]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/3.png?raw=true
</details>
<details>
<summary>Sample 5 template</summary>
[![Adaptation][8]][8]
[8]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/10.png?raw=true
[![Without Adaptation][9]][9]
[9]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/9.png?raw=true
</details>
<details>
<summary>Sample 6 template</summary>
[![Adaptation][11]][11]
[11]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/12.png?raw=true
[![Without Adaptation][10]][10]
[10]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/13.png?raw=true
[![Display 1-4 characters][12]][12]
[12]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/14.png?raw=true
</details>
<details>
<summary>Sample 7 template</summary>
[![Adaptation][13]][13]
[13]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/15.png?raw=true
[![Without Adaptation][14]][14]
[14]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/16.png?raw=true
</details>
---
<details>
<summary>Profile sample 1 template</summary>
[![Profile][15]][15]
[15]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/8.png?raw=true
</details>
<details>
<summary>Profile sample 2 template</summary>
[![Profile][16]][16]
[16]: https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/11.png?raw=true
</details>
نیازمندی
| مقدار | نام |
|---|---|
| >=9.4.0,<10.0.0 | Pillow |
| >=1.4.2,<2.0.0 | enkanetwork.py |
| >=5.2.0,<6.0.0 | cachetools |
| >=0.3.1,<0.4.0 | asyncache |
| >=1.24.2,<2.0.0 | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl enkacard-1.1.8:
pip install enkacard-1.1.8.whl
نصب پکیج tar.gz enkacard-1.1.8:
pip install enkacard-1.1.8.tar.gz