Skip to main content

Баннер

StarRailCard

Description:
Welcome to the world of StarRailCard – your magical guide to the universe of Honkai Star Rail! This Python module provides the ability to create captivating character cards based on player data from Honkai Star Rail, obtained through their unique user identifiers (UIDs). StarRailCard streamlines the process of generating personalized character assembly cards, relying on the information provided by players.
  • Easy Installation: Set up StarRailCard in just a few simple steps to start using it without any hassle.
  • Support for Other Programming Languages: StarRailCard provides support for multiple programming languages, making it accessible to a wide range of developers.
  • Color Adaptation: StarRailCard seamlessly adapts its color scheme to match the user's custom images, ensuring a harmonious blend between character cards and background images.
  • Flexible Configuration: Customize StarRailCard according to your preferences with flexible configuration options, allowing you to tailor the generation process to your liking.
  • Multi-Language Support: With support for all languages available in the game, including Ukrainian, StarRailCard can generate character cards in any language.
  • Personalized Character Cards: Create character assembly cards based on specific player data to highlight their uniqueness and individuality.
  • Animation Support: StarRailCard supports animated elements, adding extra vitality and dynamism to character cards.
  • Custom Fonts and Images: Use custom fonts and character images to create character cards with a unique style.
  • Instant Data Update and Retrieval: Get updated character and player profile data instantly, ensuring the information on cards is always up-to-date.
  • Integration with MiHoMo API Wrapper: Seamlessly integrate StarRailCard with the MiHoMo API wrapper for quick access to game and character data.

Api:

You can use the API to generate cards if you are using a different programming language. Documentation

Installation:

pip install starrailcard

Launch:

import asyncio
import starrailcard

async def main():
    async with starrailcard.Card() as card:
        data = await card.creat(700649319, style=2)
    print(data)

asyncio.run(main())
Create a profile card.
import asyncio
import starrailcard

async def main():
    async with starrailcard.Card() as card:
        data = await card.creat_profile(700649319)
    print(data)

asyncio.run(main())

Thank the author for the code:

Metadata

Release files for starrailcard 2.2.6

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

Source distribution (sdist)

Source distribution for starrailcard 2.2.6
File Size Uploaded
starrailcard-2.2.6.tar.gz 184.6 kB Details

Built distribution (wheel)

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

Total release size: 389.4 kB

Release files / starrailcard-2.2.6.tar.gz

Download URL starrailcard-2.2.6.tar.gz
Size 184.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3d50a5ed39e2883bc211afc50692c81f39a3595f85764235603a70bf7f67db56
BLAKE2b-256 checksum
How to use checksums
cb057a211aa2a7a4a2c47b2f745d36fb396eecc987cb5faf7b8636a22270eaf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / starrailcard-2.2.6-py3-none-any.whl

Download URL starrailcard-2.2.6-py3-none-any.whl
Size 204.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1497b213deed04cbe6900a87100dd3fbba6d01a300723a61f5acfa6728f068f
BLAKE2b-256 checksum
How to use checksums
519e573f4b9dd64516cd6022e3b2b8936158253faa5f3b71b46e53b32994d184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

2.2.6 This release

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.9

2 release files

2.1.8

2 release files

2.1.7

2 release files

2.1.6

2 release files

2.1.5

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

1.3.0

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

1 release file

1.2.6

1 release file

1.2.5

2 release files

1.2.4

1 release file

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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