starrail.py


Namestarrail.py JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/DEViantUA/StarRailCard
SummaryThis 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.
upload_time2024-04-29 22:36:48
maintainerNone
docs_urlNone
authorDeviantUa
requires_python>=3.9
licenseNone
keywords honkai cards generation honkaistarraill raill starraill builds honkairail honkai
VCS
bugtrack_url
requirements aiofiles aiohttp cachetools imageio moviepy more-itertools numpy Pillow pydantic beautifulsoup4 anyio
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
 <img src="https://raw.githubusercontent.com/DEViantUA/StarRailCard/main/Examples/image/starRailCardBanner.png" alt="Баннер"/>
</p>

## StarRailCard
<details>
  <summary>
   Description:
  </summary>
<br>
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.
</details>

* [Documentation](https://github.com/DEViantUA/StarRailCard/wiki/Documentation)
* [View cards](https://github.com/DEViantUA/StarRailCard/wiki/View-cards)
* [API](https://github.com/DEViantUA/StarRailCard/wiki/StarRailCard-API)
* [Languages-Supported](https://github.com/DEViantUA/StarRailCard/wiki/Languages-Supported)
* [F.A.Q.](https://github.com/DEViantUA/StarRailCard/wiki/F.A.Q.)
* [PyPi](https://pypi.org/project/starrailcard/)
* [Telegram](https://t.me/enkacardchat)
* [Patreon](https://www.patreon.com/deviantapi)
* [GitHub](https://github.com/DEViantUA/StarRailCard)

### Api:
> You can use the API to generate cards if you are using a different programming language.
[Documentation](https://github.com/DEViantUA/StarRailCard/wiki/StarRailCard-API)

## Installation:
```
pip install starrailcard
```

## Launch:
``` python
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())
```

<details>
<summary>Create a profile card.</summary>

``` python
import asyncio
import starrailcard

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

asyncio.run(main())
```
</details>

# Thank the author for the code: 
* **Patreon**: https://www.patreon.com/deviantapi
* **Ko-Fi**: https://ko-fi.com/dezzso

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DEViantUA/StarRailCard",
    "name": "starrail.py",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "honkai, cards, generation, honkaistarraill, raill, starraill, builds, honkairail, honkai",
    "author": "DeviantUa",
    "author_email": "deviantapi@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f3/55/9177f9ed9fb51fd95d01d99c1c0bb4a99a0192f51039259ef6383b6856d8/starrail.py-0.0.2.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\r\n <img src=\"https://raw.githubusercontent.com/DEViantUA/StarRailCard/main/Examples/image/starRailCardBanner.png\" alt=\"\u0411\u0430\u043d\u043d\u0435\u0440\"/>\r\n</p>\r\n\r\n## StarRailCard\r\n<details>\r\n  <summary>\r\n   Description:\r\n  </summary>\r\n<br>\r\nWelcome to the world of StarRailCard \u2013 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.\r\n \r\n---\r\n \r\n* **Easy Installation:** Set up StarRailCard in just a few simple steps to start using it without any hassle.\r\n* **Support for Other Programming Languages:** StarRailCard provides support for multiple programming languages, making it accessible to a wide range of developers.\r\n* **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.\r\n* **Flexible Configuration:** Customize StarRailCard according to your preferences with flexible configuration options, allowing you to tailor the generation process to your liking.\r\n* **Multi-Language Support:** With support for all languages available in the game, including Ukrainian, StarRailCard can generate character cards in any language.\r\n* **Personalized Character Cards:** Create character assembly cards based on specific player data to highlight their uniqueness and individuality.\r\n* **Animation Support:** StarRailCard supports animated elements, adding extra vitality and dynamism to character cards.\r\n* **Custom Fonts and Images:** Use custom fonts and character images to create character cards with a unique style.\r\n* **Instant Data Update and Retrieval:** Get updated character and player profile data instantly, ensuring the information on cards is always up-to-date.\r\n* **Integration with MiHoMo API Wrapper:** Seamlessly integrate StarRailCard with the MiHoMo API wrapper for quick access to game and character data.\r\n</details>\r\n\r\n* [Documentation](https://github.com/DEViantUA/StarRailCard/wiki/Documentation)\r\n* [View cards](https://github.com/DEViantUA/StarRailCard/wiki/View-cards)\r\n* [API](https://github.com/DEViantUA/StarRailCard/wiki/StarRailCard-API)\r\n* [Languages-Supported](https://github.com/DEViantUA/StarRailCard/wiki/Languages-Supported)\r\n* [F.A.Q.](https://github.com/DEViantUA/StarRailCard/wiki/F.A.Q.)\r\n* [PyPi](https://pypi.org/project/starrailcard/)\r\n* [Telegram](https://t.me/enkacardchat)\r\n* [Patreon](https://www.patreon.com/deviantapi)\r\n* [GitHub](https://github.com/DEViantUA/StarRailCard)\r\n\r\n### Api:\r\n> You can use the API to generate cards if you are using a different programming language.\r\n[Documentation](https://github.com/DEViantUA/StarRailCard/wiki/StarRailCard-API)\r\n\r\n## Installation:\r\n```\r\npip install starrailcard\r\n```\r\n\r\n## Launch:\r\n``` python\r\nimport asyncio\r\nimport starrailcard\r\n\r\nasync def main():\r\n    async with starrailcard.Card() as card:\r\n        data = await card.creat(700649319, style=2)\r\n    print(data)\r\n\r\nasyncio.run(main())\r\n```\r\n\r\n<details>\r\n<summary>Create a profile card.</summary>\r\n\r\n``` python\r\nimport asyncio\r\nimport starrailcard\r\n\r\nasync def main():\r\n    async with starrailcard.Card() as card:\r\n        data = await card.creat_profile(700649319)\r\n    print(data)\r\n\r\nasyncio.run(main())\r\n```\r\n</details>\r\n\r\n# Thank the author for the code: \r\n* **Patreon**: https://www.patreon.com/deviantapi\r\n* **Ko-Fi**: https://ko-fi.com/dezzso\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "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.",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/DEViantUA/StarRailCard"
    },
    "split_keywords": [
        "honkai",
        " cards",
        " generation",
        " honkaistarraill",
        " raill",
        " starraill",
        " builds",
        " honkairail",
        " honkai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1d733da145b5a17d25c81be84628dcd166296be6d43a2589e493f0d1e43b00c",
                "md5": "03a88de5a67c4a1fe92b6ff5bed0025c",
                "sha256": "870633954df51ba05e0cb3799dcfb0e3771d779c6e876e63cde439746d77300a"
            },
            "downloads": -1,
            "filename": "starrail.py-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03a88de5a67c4a1fe92b6ff5bed0025c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10122,
            "upload_time": "2024-04-29T22:36:47",
            "upload_time_iso_8601": "2024-04-29T22:36:47.333822Z",
            "url": "https://files.pythonhosted.org/packages/b1/d7/33da145b5a17d25c81be84628dcd166296be6d43a2589e493f0d1e43b00c/starrail.py-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3559177f9ed9fb51fd95d01d99c1c0bb4a99a0192f51039259ef6383b6856d8",
                "md5": "562a61d97a0513dc19e041946679baf0",
                "sha256": "8d06657bc1873d452a01ec4d8137f2eafb591dbe792bf07a056f452514919609"
            },
            "downloads": -1,
            "filename": "starrail.py-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "562a61d97a0513dc19e041946679baf0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 10849,
            "upload_time": "2024-04-29T22:36:48",
            "upload_time_iso_8601": "2024-04-29T22:36:48.880977Z",
            "url": "https://files.pythonhosted.org/packages/f3/55/9177f9ed9fb51fd95d01d99c1c0bb4a99a0192f51039259ef6383b6856d8/starrail.py-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-29 22:36:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DEViantUA",
    "github_project": "StarRailCard",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "aiofiles",
            "specs": []
        },
        {
            "name": "aiohttp",
            "specs": []
        },
        {
            "name": "cachetools",
            "specs": []
        },
        {
            "name": "imageio",
            "specs": []
        },
        {
            "name": "moviepy",
            "specs": []
        },
        {
            "name": "more-itertools",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "Pillow",
            "specs": []
        },
        {
            "name": "pydantic",
            "specs": []
        },
        {
            "name": "beautifulsoup4",
            "specs": []
        },
        {
            "name": "anyio",
            "specs": []
        }
    ],
    "lcname": "starrail.py"
}
        
Elapsed time: 0.24158s