Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecraftVersions-1.0.5.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

minecraftVersions-1.0.5.2-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page