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 "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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2952ac097f36c01f1fe523366b18c5f103714aacc8ca3a33cf42d357c7a3f95a |
|
MD5 | 8488a03ce67928c2280cb788bcb7045c |
|
BLAKE2b-256 | 66910645506f2791606f611c3334777738c366b2b03d8c00100774e313ebc52f |