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.10a0.tar.gz (60.8 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.10a0-cp314-cp314-win_arm64.whl (561.3 kB view details)

Uploaded CPython 3.14Windows ARM64

amulet_core-2.0.10a0-cp314-cp314-win_amd64.whl (540.2 kB view details)

Uploaded CPython 3.14Windows x86-64

amulet_core-2.0.10a0-cp314-cp314-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

amulet_core-2.0.10a0-cp314-cp314-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

amulet_core-2.0.10a0-cp314-cp314-macosx_10_15_x86_64.whl (914.1 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for amulet_core-2.0.10a0.tar.gz
Algorithm Hash digest
SHA256 6dff187fab14b4c92932dd289d1e7fc0ed5d3f61841f70587d61e641ee77c123
MD5 591cbe06df1b2510c3b776317e80d4a1
BLAKE2b-256 cd75fb1093469bbfcba80ea738dec038ba1cdf82615ce884b09bf56e8a33d5a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amulet_core-2.0.10a0-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 4c94e34c7fbbd7d02e124f577fbf96c61f27026e3ad4fc09e7e4cf635dcf33b4
MD5 b41f0f6b93ae829233be80d90de292a5
BLAKE2b-256 097fcd7e4906a2ddb2b80cafd773b00e141843f5e79d66257f4a7e6cf1e5437f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amulet_core-2.0.10a0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ff4a028ceae1240f871cd961bfe25371c2b7beacef00824a63326dd9951f4e4a
MD5 5e1719891be41df9f6455ea78cba8e61
BLAKE2b-256 97353ba6f7d29fd64cd8ffdab24759306e472a85b55352be63e555ae28cb4d1b

See more details on using hashes here.

File details

Details for the file amulet_core-2.0.10a0-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for amulet_core-2.0.10a0-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 206fdfbee1a195ee1b90dec54a97c607e94b02cd8f3596d988a9c660b3192094
MD5 2a0c72b1974985c18339d04a32982950
BLAKE2b-256 6d176132bf2218d0b7e43ac429cc68e71c74f98f7151fda14ee97c45e6846157

See more details on using hashes here.

File details

Details for the file amulet_core-2.0.10a0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amulet_core-2.0.10a0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b47d7e6493f7b9a3bdf97cbe494f20019e38d31146e11f80fc654aeaf60526ed
MD5 2f924135c4aaa4eb69dee582299b9072
BLAKE2b-256 3c8984adeed485eb24d43bd56d28c70f00fe58c497ee5cd2b874ce12cacf1163

See more details on using hashes here.

File details

Details for the file amulet_core-2.0.10a0-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for amulet_core-2.0.10a0-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4485d1052ece122893b06994c83a9cb7eb3cfaeb4952d9de3d3873defd352127
MD5 2026481bca2db77c178122794231258f
BLAKE2b-256 4e9802f9c6cc94998cec55d3d21da2501b4f77f6858e8c1ec222c754ae849919

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