Skip to main content

A high-performance Minecraft schematic parser and utility library (generated bindings)

Project description

nucleation

A high-performance Minecraft schematic engine, powered by a native Rust core. Parse, edit, diff, fingerprint, and generate schematics from Python.

Wheels are published for CPython 3.12+ (stable ABI) on Linux, macOS, and Windows.

Install

pip install nucleation

Quick start

import nucleation

schematic = nucleation.Schematic.create("demo")
schematic.set_block(1, 2, 3, "minecraft:stone")
print(schematic.get_block_name(1, 2, 3))  # "minecraft:stone"

schematic.save_to_file("demo.litematic")
loaded = nucleation.Schematic.load_from_file("demo.litematic")

What is included

The published wheel contains the core feature set: schematic editing, all schematic formats, world import and export (including streaming), the schematic builder, the procedural building tool, definition regions, diff and fingerprinting, autostack, NBT helpers, SDF sampling, and the in-memory/filesystem store.

Redstone simulation, mesh generation, GPU rendering, and embedded scripting require building the package from source with the extra cargo features enabled (a Rust toolchain is required):

git clone https://github.com/Schem-at/Nucleation
cd Nucleation
pip install ./bindings/python

The source build defaults to the full feature set (bridge-full). Set the NUCLEATION_FEATURES environment variable to choose a different cargo feature list, for example NUCLEATION_FEATURES=bridge,simulation.

Documentation

License

MIT

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

nucleation-0.3.2-cp312-abi3-win_amd64.whl (7.6 MB view details)

Uploaded CPython 3.12+Windows x86-64

nucleation-0.3.2-cp312-abi3-manylinux_2_39_x86_64.whl (12.7 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.39+ x86-64

nucleation-0.3.2-cp312-abi3-macosx_26_0_arm64.whl (10.4 MB view details)

Uploaded CPython 3.12+macOS 26.0+ ARM64

File details

Details for the file nucleation-0.3.2-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: nucleation-0.3.2-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for nucleation-0.3.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 57ccaeb8896a58701d6789855edf2b023b16c7b4a5c0960bad4210843bc86a5f
MD5 8e0e0942d2b15749ba916ad54e197fcf
BLAKE2b-256 7a4625f2755f417bde05009790ad0bae5b798f35fa58dfe4de2fbc9de7162001

See more details on using hashes here.

File details

Details for the file nucleation-0.3.2-cp312-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for nucleation-0.3.2-cp312-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2fb34065e6dae1005a7ca4c4b0f3cee6c1755fe47035de463e499bb16d3a274b
MD5 810e9664a8e25e2894c39be6294d823a
BLAKE2b-256 a552e5caabc230e9ca4432550391377d851b8ba1907f725959c8065475e14cdb

See more details on using hashes here.

File details

Details for the file nucleation-0.3.2-cp312-abi3-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for nucleation-0.3.2-cp312-abi3-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 5f0021e29bcfc5a430ce680e9169924bfb6a6db9b9641b6ecf0297dee0dc18d7
MD5 bd2a79076d51e289e4c8cc01a3a01851
BLAKE2b-256 3510ce471559a1866298e34966a299e794e76d79593e100215308a4fcaf7ba44

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