yatta-py
Introduction
yatta-py is an async API wrapper for Project Yatta written in Python.
Project Yatta is a beautiful website that displays Honkai: Star Rail game data.
Developing something for Hoyoverse games? You might be interested in other API wrappers written by me.
Note: I am not the developer of Project Yatta.
Features
- Fully typed.
- Fully asynchronous by using
aiofiles,aiohttp, andasyncio, suitable for Discord bots. - Provides direct icon URLs.
- Supports Python 3.11+.
- Supports all game languages.
- Supports persistent caching using SQLite.
- Supports Pydantic V2, this also means full autocomplete support.
Installation
# poetry
poetry add yatta-py
# pip
pip install yatta-py
Quick Example
import yatta
import asyncio
async def main() -> None:
async with yatta.YattaAPI(yatta.Language.CHT) as client:
await client.fetch_characters()
asyncio.run(main())
Getting Started
Read the documentation to learn more about on how to use this wrapper.
Questions, Issues, Feedback, Contributions
Whether you want to make any bug reports, feature requests, or contribute to the wrapper, simply open an issue or pull request in this repository.
If GitHub is not your type, you can find me on Discord, my username is @seria_ati.
Metadata
Release files for yatta-py 1.3.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yatta_py-1.3.13.tar.gz | 120.2 kB | Without provenance | Details for yatta_py-1.3.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yatta_py-1.3.13-py3-none-any.whl | Python 3 | none | any | Details for yatta_py-1.3.13-py3-none-any.whl |
Total release size: 165.2 kB
Release files / yatta_py-1.3.13.tar.gz
| Download URL | yatta_py-1.3.13.tar.gz |
|---|---|
| Size | 120.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14dd4b45159fd84e99a05db4fc38be4e923027b7366668d97eba8a33ed4209c0
|
|
BLAKE2b-256 checksum How to use checksums |
5b6b9cf170b7219325caabd5d26b7b6def348a15c0ad78a954e01ff9641bde58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.10
|
Release files / yatta_py-1.3.13-py3-none-any.whl
| Download URL | yatta_py-1.3.13-py3-none-any.whl |
|---|---|
| Size | 45.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fb89db3f8489f8b03e44c2ea60a525f36d34c1d759960fb8d2fe67be6423d00
|
|
BLAKE2b-256 checksum How to use checksums |
f95439d4a224eb5c1cdff679ed4f46e53fbe1a828b78a9f98e7ac1ea2fbf8a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.10
|
Security for yatta-py 1.3.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.