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
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 minecraftVersions-1.0.5.2.tar.gz.
File metadata
- Download URL: minecraftVersions-1.0.5.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c0aaaf997835a8390ecbcfa746edfeada6a6c08bd233f4c84e68ffa733ea9d
|
|
| MD5 |
a204282c470e1163b0c37ab4831391af
|
|
| BLAKE2b-256 |
30141e0bd1098616efa610b7e89bb942a21b73b4019e0b7fb9b5b639049a6c75
|
File details
Details for the file minecraftVersions-1.0.5.2-py3-none-any.whl.
File metadata
- Download URL: minecraftVersions-1.0.5.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f01ddc9386a95996743ac7862eabd25e68976b291a6caf9b99c8d9573075ace
|
|
| MD5 |
30416dcc24f8074745c1227654ce9a0a
|
|
| BLAKE2b-256 |
0b888c3ffde8a09d18ec70841d9d0d481b1d002cd0d96a7b921a5c9b890eb96e
|