RepositoryPython
ME

MetaCubeX/mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.

36.3ksao
4.9kfork
556issue
7lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: honkai-star-rail

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: star-rail-api

#1 Repository Của Tháng

2
TINIX TRENDING·Chủ đề: mihomo

#2 Repository Của Tháng

🚀 Typed Python client for Honkai: Star Rail player data

Turn raw Mihomo API responses into typed, autocompleted Python objects.

mihomo is a Python library that wraps the Mihomo API for Honkai: Star Rail, parsing player data into Pydantic models with full type hints and IDE autocompletion. It supports both V1 and V2 parsed data formats, making it easy to fetch and work with player info, characters, and assets.

✨ Highlights

  • Dual format support: V1 (StarrailInfoParsedV1) and V2 (StarrailInfoParsed) models
  • Async fetching: client.fetch_user() and client.fetch_user_v1() methods
  • Icon URL resolution: client.get_icon_url() or replace_icon_name_with_url=True
  • Duplicate character removal: tools.remove_duplicate_character()
  • Character data merging: tools.merge_character_data() for comparing snapshots
  • Data persistence: Built-in JSON and pickle serialization support
  • Language support: Configurable via Language enum
  • Pydantic models: Full validation and type safety

💡 Why it matters

Using Pydantic models instead of raw dictionaries gives developers type safety, validation, and autocompletion when working with Honkai: Star Rail data. This is especially useful for building companion apps, stat trackers, or automation tools that rely on player data.

The library handles API complexity behind clean models, letting you focus on your application logic rather than data parsing.


#HonkaiStarRail #Python #Pydantic #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

169.5k
Dec 1, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

162.3k
Dec 2, 2026
RepositoryPython
langchain-ai/langchain

The agent engineering platform.

150.1k
Nov 29, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

149.6k
Dec 2, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryPython
Shubhamsaboo/awesome-llm-apps

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

146.6k
Dec 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

379.9k
Sep 15, 2026