Skip to main content

MCUUID

Getting Minecraft Player Information from Mojang API.

Usage

  1. pip install mcuuid
  2. Use the module like this:

API

> from mcuuid import MCUUID
> player = MCUUID(name="gronkh")
> player.name
'Gronkh'
> player.names
{0: 'Gronkh'}
> player.uuid
'a2080281c2784181b961d99ed2f3347c'

You can also use an existing uuid to start from:

> player = MCUUID(uuid="a2080281c2784181b961d99ed2f3347c")
> player.name
'Gronkh'

Tools

Check syntax of an username:

>from mcuuid.tools import is_valid_minecraft_username
> is_valid_minecraft_username('gronkh'):
True

Check syntax of an UUID:

> from mcuuid.tools import is_valid_mojang_uuid
> is_valid_mojang_uuid('a2080281c2784181b961d99ed2f3347c'):
True

Version information

There is a wrapper around the new MCUUID class to still be usable using former api versions. They are deprecated and not recommended for future use.

License

This software is licensed under the MIT license. Feel free to use it however you like.

Metadata

Release files for mcuuid 1.1.0

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

Source distribution (sdist)

Source distribution for mcuuid 1.1.0
File Size Uploaded Provenance Actions
mcuuid-1.1.0.tar.gz 3.4 kB Without provenance Details for mcuuid-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcuuid 1.1.0
File Interpreter ABI Platform Actions
mcuuid-1.1.0-py3-none-any.whl Python 3 none any Details for mcuuid-1.1.0-py3-none-any.whl

Total release size: 7.5 kB

Release files / mcuuid-1.1.0.tar.gz

Download URL mcuuid-1.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
53a3321f69e3f5ee271840422cf5fe8ca2b6116c31ad4ab1bff67b86ccde5ef7
BLAKE2b-256 checksum
How to use checksums
796f64f48c6915d9b17199eaff7f368ff4a9ed50ca0c761a03c86a2bf1dc3a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / mcuuid-1.1.0-py3-none-any.whl

Download URL mcuuid-1.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a9e3a41d875b1a1ad15254e0347819d43253b983788747554dfdc896a006359
BLAKE2b-256 checksum
How to use checksums
b88a78fa6afef09196dec1552d23013953a1d46ca13162bbbb49461423dc3886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for mcuuid 1.1.0

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