-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPKG-INFO
119 lines (84 loc) · 4.33 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
Metadata-Version: 2.1
Name: enkacard
Version: 1.1.4
Summary: An asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
Home-page: https://github.com/DEViantUA/EnkaNetworkCard/wiki/Dokumentation-enkanetworkcard
Author: None
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Pillow (>=9.4.0,<10.0.0)
Requires-Dist: asyncache (>=0.3.1,<0.4.0)
Requires-Dist: cachetools (>=5.2.0,<6.0.0)
Requires-Dist: enkanetwork.py (>=1.4.0,<2.0.0)
Project-URL: Repository, https://github.com/DEViantUA/Enka.GenerationBanner
Description-Content-Type: text/markdown
<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/shRUCDt4)[<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/fnh4WBbqDW) - Discord Bot, which perfectly demonstrates the work of the module. Just use the ```/profile``` command
## 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)
```
## 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>