Skip to main content

minebase

discord chat supported python versions current PyPI version CI minecraft-data autoupdate

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
from pprint import pprint  # pretty print (for easier readability)

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"]
pprint(status_server_bound_packets)

Output:

['container',
 [{'name': 'name',
   'type': ['mapper',
            {'mappings': {'0x00': 'ping_start', '0x01': 'ping'},
             'type': 'varint'}]},
  {'name': 'params',
   'type': ['switch',
            {'compareTo': 'name',
             'fields': {'ping': 'packet_ping',
                        'ping_start': 'packet_ping_start'}}]}]]

Metadata

Release files for minebase 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minebase 0.3.0
File Size Uploaded
minebase-0.3.0.tar.gz 19.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for minebase 0.3.0
File Interpreter ABI Platform
minebase-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.5 MB

Release files / minebase-0.3.0.tar.gz

Download URL minebase-0.3.0.tar.gz
Size 19.7 MB
Tags Source
SHA-256 checksum
How to use checksums
086c2bb996fa20004dc9a6712ccc38eb77934a3b3e8d6565cc18f2d91dc91a41
BLAKE2b-256 checksum
How to use checksums
52680cd265b183b2db0853709ee06dca4e6cb16b6fa66099372bf50a0e50cf4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2025.

Transparency log

Release files / minebase-0.3.0-py3-none-any.whl

Download URL minebase-0.3.0-py3-none-any.whl
Size 20.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
093c4b32e13eff0eeace0479fa73aca03b2b3d1ad8995da4b535ba5521aad254
BLAKE2b-256 checksum
How to use checksums
d44bd7f85c6eab9608144625f3b4157919e0e5c40febcb5b6c1e99e923fee4f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 13, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page