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

Uploaded CPython 3.12+Windows x86-64

nucleation-0.3.16-cp312-abi3-manylinux_2_39_x86_64.whl (13.2 MB view details)

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

nucleation-0.3.16-cp312-abi3-macosx_26_0_arm64.whl (10.7 MB view details)

Uploaded CPython 3.12+macOS 26.0+ ARM64

File details

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

File metadata

  • Download URL: nucleation-0.3.16-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.5 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.16-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c77d5893a9847b912441b34df48f4a4d4aaa717ed9dd8d9cac0b6238f523c3cc
MD5 62fdb988eb03cde399b9dde83e034f8f
BLAKE2b-256 44c7852a9925b33617d041d0b56500f3d002b330c3092a9e95a1169556955f5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nucleation-0.3.16-cp312-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7b1d23b6b79d68c3d7bdcc3025aaa12f3e3225dde069c61ab3a0d53be894f461
MD5 ad06e3bcdf11f59eeee1dcfc56f56110
BLAKE2b-256 83b168f33310d9130ba10012de5a358520b6b6df546b0d3685ec32d44ed1a6e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nucleation-0.3.16-cp312-abi3-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 162f79a0da71010887b860c088aaf5eb45c346e2a469d689167211485e5d6a9b
MD5 94981f928ac6d3e6e384c4c05ab9cea0
BLAKE2b-256 e33eb99adcda90c3bd98ffef1e3ab0cf3e049d0c74acaa8b2d288308619e3893

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