A simple Minecraft version wrapper written in Python
Project description
MinecraftVersions.py
A library for getting Minecraft versions
Installing
Python 3.8 or higher is required
To install the stable version:
For linux/MacOS
python3 -m pip install -U "minecraftVersions"
For Windows
pip install -U minecraftVersions
To install the development version:
For linux/MacOS
python3 -m pip install -U git+https://github.com/tungdo0602/MinecraftVersions.py
For Windows
pip install -U git+https://github.com/tungdo0602/MinecraftVersions.py
Example
Get the latest release minecraft server software:
import minecraftVersions
from minecraftVersions import MCVersion
mc = MCVersion()
mc.latest().server().download("server.jar")
Get the specific minecraft version:
import minecraftVersions
from minecraftVersions import MCVersion
mc = MCVersion()
mc.getVersion("1.18.2")
##Do something with it
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
Built Distribution
Close
Hashes for minecraftVersions-1.0.5.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43c0aaaf997835a8390ecbcfa746edfeada6a6c08bd233f4c84e68ffa733ea9d |
|
MD5 | a204282c470e1163b0c37ab4831391af |
|
BLAKE2b-256 | 30141e0bd1098616efa610b7e89bb942a21b73b4019e0b7fb9b5b639049a6c75 |
Close
Hashes for minecraftVersions-1.0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f01ddc9386a95996743ac7862eabd25e68976b291a6caf9b99c8d9573075ace |
|
MD5 | 30416dcc24f8074745c1227654ce9a0a |
|
BLAKE2b-256 | 0b888c3ffde8a09d18ec70841d9d0d481b1d002cd0d96a7b921a5c9b890eb96e |