py-mineatar
A Python wrapper for mineatar.io
Installation
You can install the package via pip:
pip install py-mineatar
Usage
Here's an example of how to use the py-mineatar package:
Synchronous Example
from mineatar import MineatarClient
with MineatarClient() as client:
avatar_bytes = client.get_skin("069a79f4-44e9-4726-a5be-fca90e38aaf5") # Notch's UUID
# Save the avatar image
with open("notch_skin.png", "wb") as f:
f.write(avatar_bytes)
Asynchronous Example
import asyncio
from mineatar import AsyncMineatarClient
async def main():
async with AsyncMineatarClient() as client:
avatar_bytes = await client.get_skin("069a79f4-44e9-4726-a5be-fca90e38aaf5") # Notch's UUID
# Save the avatar image
with open("notch_skin.png", "wb") as f:
f.write(avatar_bytes)
asyncio.run(main())
Features
- Fast and easy access to Minecraft avatars and skins.
- Supports both synchronous and asynchronous operations.
- Simple and easy-to-use.
License
This project is licensed under the MIT License. See the LICENSE file for details
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
Metadata
Release files for py-mineatar 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_mineatar-1.0.2.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_mineatar-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / py_mineatar-1.0.2.tar.gz
| Download URL | py_mineatar-1.0.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26cbc56d046d29f37eb8cc639a1edbc65746e4e0479fc366a833e701c9c0815f
|
|
BLAKE2b-256 checksum How to use checksums |
26c73940766b9ab978233a226cead2602c115c90a9969c2deabcec8e90396209
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / py_mineatar-1.0.2-py3-none-any.whl
| Download URL | py_mineatar-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aeb93c5a2e4b6ec3cc18e479b8085a73259be30dd24e5d3ed9dd94488613ba0
|
|
BLAKE2b-256 checksum How to use checksums |
b8aa5f5287cb869a676138958eea2df4ff14d2b71a3e7d3b5ffd913c94cd9b7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|