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
File details
Details for the file minecraftVersions-1.0.0.tar.gz
.
File metadata
- Download URL: minecraftVersions-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 490caaebbc4040b95e83a5961f861e91c308182db6996f9b758faab239f5fb4d |
|
MD5 | a5b1b93b5eef9ee7fa7968b1303a29f6 |
|
BLAKE2b-256 | 96d9f804b4ae80b34569fba625f3ad2daddabfb64d291650c1f0c202d7b3263f |
Provenance
File details
Details for the file minecraftVersions-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: minecraftVersions-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cae89a4ea06b0492a97e28f7d5f48f7aeb0c6ef681a27e18021d202d11306a7 |
|
MD5 | 489c63226f7049eb2c885c352a0ec678 |
|
BLAKE2b-256 | 00c893f42e1450d7dd0758845344cae2571ca4607182bd43a45d231142309743 |