Skip to main content

Баннер


БаннерБаннерБаннерБаннерБаннер


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.

  • 5 templates to choose from.
  • 2 profile templates.
  • Customization of all cards with background adaptation.

Full Documentation:

Installation:

pip install enkacard

Launch:

from enkacard2 import encbanner2
import asyncio

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

result = asyncio.run(card()) 

print(result)
Launch Profile
from enkacard2 import encbanner2
import asyncio

async def card():
    async with encbanner2.ENC(uid = "811455610") as encard:
        return await encard.profile(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:

Sample 1 template

Adaptation

Without Adaptation

Sample 2 template

Adaptation

Sample 3 template

Adaptation

Sample 4 template

Without Adaptation MINI INFO

Without Adaptation FULL INFO

Adaptation MINI INFO

Sample 5 template

Adaptation

Without Adaptation

Sample 6 template

Adaptation

Without Adaptation

Display 1-4 characters

Sample 7 template

Adaptation

Without Adaptation


Profile sample 1 template

Profile

Profile sample 2 template

Profile

Thank the author for the code:

Metadata

Release files for enkacard2 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enkacard2 2.0.2
File Size Uploaded
enkacard2-2.0.2.tar.gz 64.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for enkacard2 2.0.2
File Interpreter ABI Platform
enkacard2-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 128.4 MB

Release files / enkacard2-2.0.2.tar.gz

Download URL enkacard2-2.0.2.tar.gz
Size 64.0 MB
Tags Source
SHA-256 checksum
How to use checksums
83e0f9f3b8933723a45fdf8c5f9639a058c71c9664a9ad5170627bcc0e1ff227
BLAKE2b-256 checksum
How to use checksums
12d1ad3b33f6beeb39c7be9d3f2bf92e91fb441cf5294ea6820c578f926b9938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Windows/10

Release files / enkacard2-2.0.2-py3-none-any.whl

Download URL enkacard2-2.0.2-py3-none-any.whl
Size 64.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0404e636db456138fb43177331903eb63002800cdeb4528ded6e5a733c107a76
BLAKE2b-256 checksum
How to use checksums
de68f9b9f627689553d82527bc8b45e299aff7bc09935af0f448e44341b99e0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Windows/10

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page