ironnest
Deterministic, embeddable, true-shape 2D nesting engine for irregular parts — a Rust core (a jagua-rs fork at f64) exposed to Python via PyO3.
The differentiator is determinism: the same inputs produce byte-identical placements on every platform (macOS-arm64 / Windows-x64 / linux-x64), proven by a cross-platform CI golden — so a re-nest reproduces a byte-identical downstream cut program for a machine audit trail.
Install
pip install ironnest
One abi3 wheel per platform (macOS-arm64 / Windows-x64 / linux-x64) serves CPython 3.13+.
Usage
import ironnest
# one outline per part type, in item-local coords
items = [[(0.0, 0.0), (10.0, 0.0), (10.0, 10.0), (0.0, 10.0)]]
container = [(0.0, 0.0), (100.0, 0.0), (100.0, 100.0), (0.0, 100.0)]
placements, unplaced = ironnest.nest(
items,
qty=[25],
container=container,
holes=[], # interior keep-out zones ([] = none)
min_sep=0.0, # 0.0 keeps output byte-identical across platforms
rotations=[0.0, 90.0, 180.0, 270.0],
seed=1, # explicit — no entropy fallback, ever
budget=2000, # a fixed sample budget, never a wall clock
)
# placements: list[(item, x, y, rotation_deg)] with placed = Rot(rotation_deg)·original + (x, y)
# unplaced: list[int] (item-type index per instance that did not fit)
holes are interior keep-out polygons on the sheet (nesting around voids / inside parts). To pack
across several sheets in order, use nest_multi(items, qty, sheets, min_sep, rotations, seed, budget)
where each sheet is an (outline, holes) pair.
The engine is a pure placement oracle: it knows nothing about kerf, lead-ins, pierces, cut sequencing, or G-code — those belong to the consuming CAD/CAM application, which re-validates every layout. See the project repository for the full design.
Licensed under MPL-2.0.
Metadata
Release files for ironnest 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ironnest-0.6.2.tar.gz | 218.4 kB | With provenance | Details for ironnest-0.6.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ironnest-0.6.2-cp313-abi3-win_amd64.whl | CPython 3.13 | abi3 | Windows x86-64 | Details for ironnest-0.6.2-cp313-abi3-win_amd64.whl |
| ironnest-0.6.2-cp313-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.13 | abi3 | Linux glibc 2.17+ x86-64 | Details for ironnest-0.6.2-cp313-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| ironnest-0.6.2-cp313-abi3-macosx_11_0_arm64.whl | CPython 3.13 | abi3 | macOS 11.0+ ARM64 | Details for ironnest-0.6.2-cp313-abi3-macosx_11_0_arm64.whl |
Total release size: 2.0 MB
Release files / ironnest-0.6.2.tar.gz
| Download URL | ironnest-0.6.2.tar.gz |
|---|---|
| Size | 218.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ff412e4ec4f7e7ef445b2fb2599d5a501eb8758b0fd743281d17c2f57d5194c
|
|
BLAKE2b-256 checksum How to use checksums |
4e3c253435ac82cb831d3a5c35b0b7da35a6e4650205e228fd356b8fc88a0159
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logRelease files / ironnest-0.6.2-cp313-abi3-win_amd64.whl
| Download URL | ironnest-0.6.2-cp313-abi3-win_amd64.whl |
|---|---|
| Size | 540.4 kB |
| Tags | CPython 3.13 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c8c388d6069b01a299bd8f0fd48c4e9f45f2d30377a0c1fbae333d060cac6c3f
|
|
BLAKE2b-256 checksum How to use checksums |
a53c19f6116433683cfb32fe1ea2621bdd1c8874b8021ab4a0e6007a6fa83a5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logRelease files / ironnest-0.6.2-cp313-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ironnest-0.6.2-cp313-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 680.9 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7656f9dcb0ea01e76115c89b3f7cfb88e5d62841781fbcde6013dad8ad268096
|
|
BLAKE2b-256 checksum How to use checksums |
be4fda925aaa8385df55e3375f3a780081ee53b3809eaf741a9338a88ccd545a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logRelease files / ironnest-0.6.2-cp313-abi3-macosx_11_0_arm64.whl
| Download URL | ironnest-0.6.2-cp313-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 608.3 kB |
| Tags | CPython 3.13 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
08cb4edec5839644be30084740897e0bf3357ec7e1ec4e0236ec988926464a0f
|
|
BLAKE2b-256 checksum How to use checksums |
f7101c2ee9176167beeca366b83dada9ba36a54fb21fa532c3beafcd867371d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logSecurity for ironnest 0.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for ironnest-0.6.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.