Skip to main content

yggdrasil-mc

A simple Python lib to get player info and texture from Mojang and Yggdrasil APIs.

一个简单的 Python 库,可从 Mojang 和 Yggdrasil APIs 获取玩家的信息和材质。

GitHub Repo stars PyPI PyPI - Python Version GitHub last commit (branch) GitHub

⚠️ Attention

This package can be used with Python 3.10+.

Usage

pip3 install yggdrasil-mc
from yggdrasil_mc.client import YggdrasilMC

ygg = YggdrasilMC()
await ygg.by_name_async("SerinaNya")

# return PlayerProfile
PlayerProfile(
    id='8705a5560b7447e8ba869169c31fb5ef', 
    name='SerinaNya', 
    skin=PlayerSkin(
        url=Url('http://textures.minecraft.net/texture/7781fa8ed3e2aa907944ec0f1ec391ad05955eb9c6424d911d409b00a69ea516'), 
        metadata=PlayerSkin_MetaData(model='slim')), 
    cape=None)

Metadata

Release files for yggdrasil-mc 0.2.7

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

Source distribution (sdist)

Source distribution for yggdrasil-mc 0.2.7
File Size Uploaded Provenance Actions
yggdrasil_mc-0.2.7.tar.gz 15.6 kB Without provenance Details for yggdrasil_mc-0.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yggdrasil-mc 0.2.7
File Interpreter ABI Platform Actions
yggdrasil_mc-0.2.7-py3-none-any.whl Python 3 none any Details for yggdrasil_mc-0.2.7-py3-none-any.whl

Total release size: 32.0 kB

Release files / yggdrasil_mc-0.2.7.tar.gz

Download URL yggdrasil_mc-0.2.7.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a9ca5fc4a0418c5b6de124ca787a9152852dbe86cec98d90e90965049af8237a
BLAKE2b-256 checksum
How to use checksums
f47c2b022df3ce4ae4f00cc753671992d4c267fc75c6c578a04883b210763b4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

Release files / yggdrasil_mc-0.2.7-py3-none-any.whl

Download URL yggdrasil_mc-0.2.7-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28785a569f09c5b359aa9735b77ccc5926c50e6fdd656bc5fc8b263ed6f58289
BLAKE2b-256 checksum
How to use checksums
ceb3f51313514c297b16d8a1f63ec16ba7e8627f0cbd85294fc8180df11fd8e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

Security for yggdrasil-mc 0.2.7

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.

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