enkacard


Nameenkacard JSON
Version 3.3.9 PyPI version JSON
download
home_pagehttps://github.com/DEViantUA/EnkaCard
SummaryAn asynchronous module and API that allows you to connect to your bot the generation of Genshin character cards from the Enka.Network website.
upload_time2024-10-22 08:50:08
maintainerNone
docs_urlNone
authorNone
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements aiofiles aiohttp asyncio cachetools cloudpickle enkanetworkv2.py python-magic python-magic-bin matplotlib more-itertools numpy Pillow pydantic
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
 <img src="https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/BannerCard3.png?raw=true" alt="Баннер"/>
</p>

____
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_01.png" width="26%" height="1" alt="Изображение 1"/>](https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_01.png)
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_02.png" width="8%" alt="Изображение 2"/>](https://t.me/enkacardchat)
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_03.png" width="8%" alt="Изображение 3"/>](https://github.com/DEViantUA/EnkaCard)
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_04.png" width="8%" alt="Изображение 4"/>](https://enka.network/)
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_05.png" width="8%" alt="Изображение 5"/>](https://pypi.org/project/enkacard/)
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_06.png" width="8%" alt="Изображение 6"/>](https://www.patreon.com/deviantapi)
[<img src="https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_07.png" width="8%" alt="Изображение 6"/>](https://akasha.cv/)





____

## 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>
:white_medium_square: [Documentation](https://github.com/DEViantUA/EnkaCard/wiki)<br>
:white_medium_square: [Telegram Bot](https://t.me/mf_morax_bot)<br>
:white_medium_square: [Generation results](https://github.com/DEViantUA/EnkaCard/wiki/Resultate)<br>
:white_medium_square: [StarRailCard](https://github.com/DEViantUA/StarRailCard)<br>
:white_medium_square: [Additional module](https://github.com/DEViantUA/ENCard)<br>
:white_medium_square: [Assets](https://github.com/DEViantUA/EnkaCard)
## Installation:
```
pip install enkacard
```

## Launch:
``` python
from enkacard import encbanner
import asyncio

async def card():
    async with encbanner.ENC(uid = "811455610") as encard:
        return await encard.creat()

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(uid = "811455610") as encard:
        return await encard.profile(card = True)

result = asyncio.run(card()) 

print(result)
```
</details>

<details>
<summary>Update enkanetwork.py data</summary>

``` python
from enkacard import encbanner
import asyncio

async def main():
    await encbanner.update()

result = asyncio.run(main()) 

print(result)
```
> _**Aliternative method: [Tools](https://github.com/DEViantUA/EnkaCard/wiki/Tools)**_

</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  |
|  Khaenri'ah  |     kh  | Khaenri'ah |


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DEViantUA/EnkaCard",
    "name": "enkacard",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "None",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/cb/2c/27bc945e78c08479e3f748d39220591370490cf1acb2622640adc7f66303/enkacard-3.3.9.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n <img src=\"https://github.com/DEViantUA/EnkaCard/blob/main/readmeFile/BannerCard3.png?raw=true\" alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>\n</p>\n\n____\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_01.png\" width=\"26%\" height=\"1\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 1\"/>](https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_01.png)\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_02.png\" width=\"8%\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 2\"/>](https://t.me/enkacardchat)\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_03.png\" width=\"8%\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 3\"/>](https://github.com/DEViantUA/EnkaCard)\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_04.png\" width=\"8%\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 4\"/>](https://enka.network/)\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_05.png\" width=\"8%\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 5\"/>](https://pypi.org/project/enkacard/)\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_06.png\" width=\"8%\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 6\"/>](https://www.patreon.com/deviantapi)\n[<img src=\"https://raw.githubusercontent.com/DEViantUA/EnkaCard/main/readmeFile/icon_ream_me/IconReadMe_07.png\" width=\"8%\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 6\"/>](https://akasha.cv/)\n\n\n\n\n\n____\n\n## EnkaCard\nAn 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>\n:white_medium_square: [Documentation](https://github.com/DEViantUA/EnkaCard/wiki)<br>\n:white_medium_square: [Telegram Bot](https://t.me/mf_morax_bot)<br>\n:white_medium_square: [Generation results](https://github.com/DEViantUA/EnkaCard/wiki/Resultate)<br>\n:white_medium_square: [StarRailCard](https://github.com/DEViantUA/StarRailCard)<br>\n:white_medium_square: [Additional module](https://github.com/DEViantUA/ENCard)<br>\n:white_medium_square: [Assets](https://github.com/DEViantUA/EnkaCard)\n## Installation:\n```\npip install enkacard\n```\n\n## Launch:\n``` python\nfrom enkacard import encbanner\nimport asyncio\n\nasync def card():\n    async with encbanner.ENC(uid = \"811455610\") as encard:\n        return await encard.creat()\n\nresult = asyncio.run(card()) \n\nprint(result)\n```\n\n<details>\n<summary>Launch Profile</summary>\n\n``` python\nfrom enkacard import encbanner\nimport asyncio\n\nasync def card():\n    async with encbanner.ENC(uid = \"811455610\") as encard:\n        return await encard.profile(card = True)\n\nresult = asyncio.run(card()) \n\nprint(result)\n```\n</details>\n\n<details>\n<summary>Update enkanetwork.py data</summary>\n\n``` python\nfrom enkacard import encbanner\nimport asyncio\n\nasync def main():\n    await encbanner.update()\n\nresult = asyncio.run(main()) \n\nprint(result)\n```\n> _**Aliternative method: [Tools](https://github.com/DEViantUA/EnkaCard/wiki/Tools)**_\n\n</details>\n\n## Languages Supported\n| Languege    |  Code   | Languege    |  Code   | Languege    |  Code   |\n|-------------|---------|-------------|---------|-------------|---------|\n|  English    |     en  |  \u0440\u0443\u0441\u0441\u043a\u0438\u0439    |     ru  |  Chinese    |    chs  |\n|  Ti\u1ebfng Vi\u1ec7t |     vi  |  \u0e44\u0e17\u0e22        |     th  | Taiwan     |    cht  |\n|  portugu\u00eas  |     pt  | \ud55c\uad6d\uc5b4      |     kr  | deutsch    |     de  |\n|  \u65e5\u672c\u8a9e      |     jp  | \u4e2d\u6587        |     zh  | espa\u00f1ol    |     es  |\n|  \u4e2d\u6587        |     zh  | Indonesian |     id  | fran\u00e7ais   |     fr  |\n|  Khaenri'ah  |     kh  | Khaenri'ah |\n\n",
    "bugtrack_url": null,
    "license": null,
    "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.",
    "version": "3.3.9",
    "project_urls": {
        "Homepage": "https://github.com/DEViantUA/EnkaCard",
        "Repository": "https://github.com/DEViantUA/EnkaCard"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ac60243637de81c88ed82f4646bf533b5d39aa6723eb26c61d5c522288c21bc",
                "md5": "c6586129d8e5039addd7e1ebdacd1080",
                "sha256": "dd443e9a6068b677cf33e41ea6eb8997775d4c1ac3e1adcf50196aac51661cf7"
            },
            "downloads": -1,
            "filename": "enkacard-3.3.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6586129d8e5039addd7e1ebdacd1080",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 5625836,
            "upload_time": "2024-10-22T08:49:55",
            "upload_time_iso_8601": "2024-10-22T08:49:55.284681Z",
            "url": "https://files.pythonhosted.org/packages/7a/c6/0243637de81c88ed82f4646bf533b5d39aa6723eb26c61d5c522288c21bc/enkacard-3.3.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cb2c27bc945e78c08479e3f748d39220591370490cf1acb2622640adc7f66303",
                "md5": "3327d71a726baeb88bb9b524d527aadd",
                "sha256": "9e84d63a1f985866ad6ac9123ef6849ad3b7d9447cfd39ad45d2849c38794ec6"
            },
            "downloads": -1,
            "filename": "enkacard-3.3.9.tar.gz",
            "has_sig": false,
            "md5_digest": "3327d71a726baeb88bb9b524d527aadd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 5751351,
            "upload_time": "2024-10-22T08:50:08",
            "upload_time_iso_8601": "2024-10-22T08:50:08.166081Z",
            "url": "https://files.pythonhosted.org/packages/cb/2c/27bc945e78c08479e3f748d39220591370490cf1acb2622640adc7f66303/enkacard-3.3.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-22 08:50:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DEViantUA",
    "github_project": "EnkaCard",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "aiofiles",
            "specs": []
        },
        {
            "name": "aiohttp",
            "specs": []
        },
        {
            "name": "asyncio",
            "specs": []
        },
        {
            "name": "cachetools",
            "specs": []
        },
        {
            "name": "cloudpickle",
            "specs": []
        },
        {
            "name": "enkanetworkv2.py",
            "specs": []
        },
        {
            "name": "python-magic",
            "specs": []
        },
        {
            "name": "python-magic-bin",
            "specs": []
        },
        {
            "name": "matplotlib",
            "specs": []
        },
        {
            "name": "more-itertools",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "Pillow",
            "specs": []
        },
        {
            "name": "pydantic",
            "specs": []
        }
    ],
    "lcname": "enkacard"
}
        
Elapsed time: 0.59124s