Skip to main content

A Python library for reading/writing Minecraft's various save formats.

Project description

Amulet Core

Build Unittests Stylecheck Documentation

A Python 3 library to read and write data from Minecraft's various save formats.

This library provides the main world editing functionality for Amulet Map Editor

If you are looking for the actual editor it can be found at Amulet Map Editor

Documentation

Our online documentation can be found here: https://amulet-core.readthedocs.io

Installing

  1. Install Python 3.7
  2. We recommend setting up a python virtual environment so you don't run into issues with dependency conflicts.
  3. run pip install amulet-core to install the library and all its dependencies.

Dependencies

This library uses a number of other libraries. These will be automatically installed when running the command above.

Contributing

For Development

Download the code to your computer, install python and run the following command from the root directory. run pip install -e .[dev] This command will install the library in development mode with the libraries required for development.

  • Black (Required for formatting)
    • Must be run before pushing a Pull Request

For information about contributing to this project, please see the contribution section below

Code Formatting

For code formatting, we use the formatting utility black. To run it, run the following command from your favorite terminal after installing: black amulet tests

In order for your pull request to be accepted, this command must be run to format every file.

Building the Documentation

To build the documentation locally, run the following command: make html and then navigate to the generated directory docs_build/html in your favorite web browser

Branch Naming

Branches should be created when a certain bug or feature may take multiple attempts to fix. Naming them should follow the following convention (even for forked repositories when a pull request is being made):

  • For features, use: impl-<feature name>
  • For bug fixes, use: bug-<bug tracker ID>
  • For improvements/rewrites, use: improv-<feature name>
  • For prototyping, use: proto-<feature name>

Pull Requests

We ask that submitted Pull Requests give moderately detailed notes about the changes and explain any changes that were made to the program outside of those directly related to the feature/bug-fix. Make sure to run all tests and formatting otherwise we cannot accept your pull request.

Note: We will also re-run all tests before reviewing, this is to mitigate additional changes/commits needed to pass all tests.

Once a Pull Request is submitted, we will mark the request for review, once that is done, we will review the changes and provide any notes/things to change. Once all additional changes have been made, we will merge the request.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

amulet_core-2.0.9a0.tar.gz (61.2 kB view details)

Uploaded Source

Built Distributions

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

amulet_core-2.0.9a0-cp314-cp314-win_arm64.whl (502.2 kB view details)

Uploaded CPython 3.14Windows ARM64

amulet_core-2.0.9a0-cp314-cp314-win_amd64.whl (498.3 kB view details)

Uploaded CPython 3.14Windows x86-64

amulet_core-2.0.9a0-cp314-cp314-macosx_10_15_universal2.whl (1.7 MB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

File details

Details for the file amulet_core-2.0.9a0.tar.gz.

File metadata

  • Download URL: amulet_core-2.0.9a0.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for amulet_core-2.0.9a0.tar.gz
Algorithm Hash digest
SHA256 6b263af6170aa7cb4d97f3aa1aca093b2d7794f20b1ca6aae5f1c8acd0383369
MD5 3f35332f6506d993018881a44db6208c
BLAKE2b-256 befb76a4ae6a3efe16dbc7d85ab12de1e54cd3fc51e675708f8c151b1b83fab3

See more details on using hashes here.

File details

Details for the file amulet_core-2.0.9a0-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for amulet_core-2.0.9a0-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 172737ab116a80dc09b8f1b4faa866fb72a0648067386489a21e21c11fdef6e1
MD5 ba1e638b9f9c5b18e45b10027ff02df7
BLAKE2b-256 93b6457a8b1e09831ece55e1f841a024cd722d2e837fc993ce9ecc19ae17da0c

See more details on using hashes here.

File details

Details for the file amulet_core-2.0.9a0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_core-2.0.9a0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 26df419acbe26583814c6c31b88664bb07a27194fe022b2a54e4d312a707102f
MD5 e52c47a8a77d984ff0e66f1aa64a6278
BLAKE2b-256 a67f3455923f5acb8da99b719386eca8ff8b3bcf52b3849e46bff51debad0a41

See more details on using hashes here.

File details

Details for the file amulet_core-2.0.9a0-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_core-2.0.9a0-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 617071ba4cd2dfa3ae1f81d6e1078177d766627692720e94b5c7d49f62031aa4
MD5 97ff483c530cd020155c631e0d177c29
BLAKE2b-256 c268dd290bb44817cf5f0d0eb0d763df4a2c542a20a8ead2e87f05edfcc777eb

See more details on using hashes here.

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