Skip to main content

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.

Project description

Баннер

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starrailcard-2.1.9.tar.gz (179.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

starrailcard-2.1.9-py3-none-any.whl (195.1 kB view details)

Uploaded Python 3

File details

Details for the file starrailcard-2.1.9.tar.gz.

File metadata

  • Download URL: starrailcard-2.1.9.tar.gz
  • Upload date:
  • Size: 179.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for starrailcard-2.1.9.tar.gz
Algorithm Hash digest
SHA256 32cbe443529d5b3f554c05660d2df81b0c97c4e5f154f045f7fd27dcba5242a4
MD5 bce3766187c56d92bcb7f2bed61f4623
BLAKE2b-256 b1ee4af0d716ae377fabe7c6d2298bcc395fc2a17d30a35a91ff1d765ecc87a7

See more details on using hashes here.

File details

Details for the file starrailcard-2.1.9-py3-none-any.whl.

File metadata

  • Download URL: starrailcard-2.1.9-py3-none-any.whl
  • Upload date:
  • Size: 195.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for starrailcard-2.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f45143dd9bc3cca79393174c3ca3fe2f0a67b0de92483e7c42266f2956427f
MD5 c84e10f78741a7d67b31e0d7415a0f35
BLAKE2b-256 0c377b2d62be28ba52d3d7cea01bff1ce5dc83a95257d64b2d8dc27074e1648b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page