Skip to main content

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


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.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

minecraftVersions-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for minecraftVersions-1.0.0.tar.gz
Algorithm Hash digest
SHA256 490caaebbc4040b95e83a5961f861e91c308182db6996f9b758faab239f5fb4d
MD5 a5b1b93b5eef9ee7fa7968b1303a29f6
BLAKE2b-256 96d9f804b4ae80b34569fba625f3ad2daddabfb64d291650c1f0c202d7b3263f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for minecraftVersions-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cae89a4ea06b0492a97e28f7d5f48f7aeb0c6ef681a27e18021d202d11306a7
MD5 489c63226f7049eb2c885c352a0ec678
BLAKE2b-256 00c893f42e1450d7dd0758845344cae2571ca4607182bd43a45d231142309743

See more details on using hashes here.

Provenance

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