Simple Python library for working with Minecraft skins
Project description
mineskin
Simple Python library for working with Minecraft skins
Installation
Install mineskin from PyPI using your favorite package manager
pip install mineskinuv add mineskinpoetry add mineskin
Usage
# Import library
import mineskin
# Read skin from file
with mineskin.MinecraftSkin.open("path/to/skin.png") as skin:
skin.load()
# Check skin information
print(skin.format)
print(skin.is_slim())
print(skin.has_overlay)
# Optimize skin
skin.optimize()
# Convert skin to old (before 1.8) format
old_skin = skin.convert(mineskin.MinecraftSkinFormat.OLD)
# Save the result
old_skin.save("path/to/result.png")
Building from source
[!WARNING] Make sure uv installed on your system
- Clone the repo:
git clone https://github.com/Kiber2009/mineskin.git cd mineskin
- Build using uv
uv build - Distribution will be available in
distdirectory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mineskin-0.1.0.tar.gz
(5.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mineskin-0.1.0.tar.gz.
File metadata
- Download URL: mineskin-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d16271e4a3fc380c9aa5845765b07c11c2f60ce69769f9faacff82a8748d9037
|
|
| MD5 |
dd2158fc598a82416f199819e2cd65ef
|
|
| BLAKE2b-256 |
67338e6ff3cf8bb5be7fd6d1da80ded39ed1ad022ec2b0e7d6513c3c018e850c
|
File details
Details for the file mineskin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mineskin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5aa0045276f2b97c5aa6d476979eb6b47039db342491f908f43d9b55dbdab1b
|
|
| MD5 |
6dc80e3092174201913bd41613677e78
|
|
| BLAKE2b-256 |
a8c7acdfa243d9fa8f5bd5841170ccef0385d46b96ffea0ee6ec9b770d200044
|