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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for minecraftVersions-1.0.5.2.tar.gz
Algorithm Hash digest
SHA256 43c0aaaf997835a8390ecbcfa746edfeada6a6c08bd233f4c84e68ffa733ea9d
MD5 a204282c470e1163b0c37ab4831391af
BLAKE2b-256 30141e0bd1098616efa610b7e89bb942a21b73b4019e0b7fb9b5b639049a6c75

See more details on using hashes here.

File details

Details for the file minecraftVersions-1.0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for minecraftVersions-1.0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f01ddc9386a95996743ac7862eabd25e68976b291a6caf9b99c8d9573075ace
MD5 30416dcc24f8074745c1227654ce9a0a
BLAKE2b-256 0b888c3ffde8a09d18ec70841d9d0d481b1d002cd0d96a7b921a5c9b890eb96e

See more details on using hashes here.

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