mineskin
Simple Python library to work with Minecraft skins
Installation
Install mineskin from PyPI using your favorite package manager
pip install mineskinuv add mineskinpoetry add mineskin
Usage
from PIL import Image
# Import library
import mineskin
from mineskin.skin_types.abc import MinecraftSkinFormat
# Read skin from file
with Image.open("path/to/skin.png") as img:
img.load()
skin = mineskin.skin(img)
# Check skin information
print(f"{skin.format=}")
print(f"{skin.slim=}")
print(f"{skin.has_overlay=}")
# Optimize skin (will mutate img object)
skin.optimize(keep_ears=False)
# Convert skin to old (before 1.8) format
# This operation will create new Image object
legacy_skin = skin.convert(MinecraftSkinFormat.LEGACY)
# Save the result
legacy_skin.image.save("path/to/result.png")
Building from source
- Clone the repo:
git clone https://github.com/Kiber2009/mineskin.git cd mineskin
- Build using uv
uv build - Distribution will be available in
distdirectory
Metadata
Release files for mineskin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mineskin-0.2.0.tar.gz | 5.5 kB | With provenance | Details for mineskin-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mineskin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for mineskin-0.2.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / mineskin-0.2.0.tar.gz
| Download URL | mineskin-0.2.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed4ce0458953b02ffc50f94cb8aa03f928a2a40a06b501398979da2f7efc9d77
|
|
BLAKE2b-256 checksum How to use checksums |
65136c220d731fd29559482704ff60c548c8af72eccc1eccddb11239f3dcaae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / mineskin-0.2.0-py3-none-any.whl
| Download URL | mineskin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2dfbfac69757de797f1d23cebe96158b04b587b42a336865ee716e37f517083
|
|
BLAKE2b-256 checksum How to use checksums |
ac35f5142c9ccc212f7a7cf9181d3585f00b84b40a5b2ecdd3b8743bd459b7b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for mineskin 0.2.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mineskin-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA 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.