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.3-cp312-abi3-win_amd64.whl (7.8 MB view details)

Uploaded CPython 3.12+Windows x86-64

nucleation-0.3.3-cp312-abi3-manylinux_2_39_x86_64.whl (12.9 MB view details)

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

nucleation-0.3.3-cp312-abi3-macosx_26_0_arm64.whl (10.5 MB view details)

Uploaded CPython 3.12+macOS 26.0+ ARM64

File details

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

File metadata

  • Download URL: nucleation-0.3.3-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 7.8 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.3-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ab92636d3be7e5d1f4c0c23ef6e9aa7b5c4b2ffa1be5ff2b30007da9967987d2
MD5 59ef2ef9edfbd1f4d5444d1f84564ff5
BLAKE2b-256 11407970cdf5699eae1d24557f61defa120350ce79de6b750ae1df2b7287f0bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nucleation-0.3.3-cp312-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 3e383a676809558cd4012994b48ed5023df21de3f8b173c1a4cc4b29933e611e
MD5 59ca561bfeb55d67ce07b486c5541bcf
BLAKE2b-256 20371db7a819adc66ba8f224c01836e495b3713d4a56c476f8864fa0e4c93e76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nucleation-0.3.3-cp312-abi3-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 fb826d65990fa491fe1122730d14ed7403af0d545f1806e7adc4ac915be2aaba
MD5 e4d9ef00a7bdff576b58c6193591e7d9
BLAKE2b-256 b3f68ee00038bee2d1676ef0d459ade20e697724d5dd650dbf5c0c286a7ba16c

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