A simple minecraft version wrapper written in python
Project description
MinecraftVersions.py
A simple minecraft version wrapper written in python
Installing
Python 3.8 or higher is required
To install the stable version:
For linux/MacOS
python3 -m pip install -U ""
For Windows
pip install -U
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 minecraftVersion import MCVersion
mc = MCVersion()
mc.latest().server().download("server.jar")
Get the specific minecraft version:
import minecraftVersions
from minecraftVersion 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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cae89a4ea06b0492a97e28f7d5f48f7aeb0c6ef681a27e18021d202d11306a7 |
|
MD5 | 489c63226f7049eb2c885c352a0ec678 |
|
BLAKE2b-256 | 00c893f42e1450d7dd0758845344cae2571ca4607182bd43a45d231142309743 |