Skip to main content

Library providing an interface to minecraft-data

Project description

minebase

discord chat supported python versions current PyPI version CI

Minebase is a python wrapper around PrismarineJS/minecraft-data. It provides python bindings to access minecraft data useful for custom minecraft clients, servers and libraries.

Installation

From PyPI (stable):

pip install minebase

From repo (latest):

pip install git+htps://github.com/py-mine/minebase

Usage

from minebase import load_version, load_common_data, Edition

common_data = load_common_data(Edition.PC)
version_info = load_version("1.21.6", Edition.PC)

status_server_bound_packets = version_info["protocol"]["status"]["toServer"]["types"]["packet"]
print(status_server_bound_packets)

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

minebase-0.1.0.tar.gz (63.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minebase-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file minebase-0.1.0.tar.gz.

File metadata

  • Download URL: minebase-0.1.0.tar.gz
  • Upload date:
  • Size: 63.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for minebase-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fd1c44540548ee3b9a80f0d47823c892999fc9ee57010fd2ee462f3cc2ba10d8
MD5 469c63f217dc908e41e670db72feb34b
BLAKE2b-256 0c67b548cbf771398f403b85658bb81792c50c5643259a607d2d6962d123a1cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for minebase-0.1.0.tar.gz:

Publisher: publish.yml on py-mine/minebase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file minebase-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: minebase-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for minebase-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ce322f685c0c41c9bb6905d99465aebbe3b7e35c104e80a4c19f88727491dd6
MD5 cbdd06cf754455651155dad8f33a246a
BLAKE2b-256 fd5659f19ca6dd0bb6711d6672b7ada5bd2dc0ae2e55a1f18c056a3e4b95708f

See more details on using hashes here.

Provenance

The following attestation bundles were made for minebase-0.1.0-py3-none-any.whl:

Publisher: publish.yml on py-mine/minebase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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