Rust simulation core for Isobenefit Urbanism (arrays-in / arrays-out).
Project description
isobenefit
The Rust simulation core for the Isobenefit Urbanism QGIS plugin.
It is a pure compute engine: arrays in, arrays out. It never imports QGIS or performs any GIS IO — the plugin handles reading layers, reprojection, rasterization and writing rasters, then hands plain numpy arrays to this core.
Layout
src/neighbours.rs— neighbour iteration, contiguity counting, green-span checkssrc/access.rs— heap-based bounded Dijkstra accessibility (parallel map-reduce)src/density.rs— deterministic per-work-item RNG + density drawssrc/sim.rs— theSimulationstate machine andrun_ensemblesrc/lib.rs/src/py_bindings.rs— PyO3 bindings (built only with--features python)
Development
cargo test # pure-Rust algorithm tests (no Python needed)
maturin develop --release # build + install the extension into the active venv
pytest tests_py # Python-level golden + property tests
Parallelism (rayon) and determinism are first-class: results are independent of
thread count. Reproducibility comes from per-work-item seeding
(ChaCha8Rng derived from (seed, work_id)) and order-independent integer-sum
reductions in the accessibility kernels.
Licensed under AGPL-3.0-or-later.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isobenefit-0.8.0.tar.gz.
File metadata
- Download URL: isobenefit-0.8.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef379e7f214df4264a7a6eb9c356483e00d349d588ead2bc301ab78877b8cd70
|
|
| MD5 |
22e90cbd6ba798a4bd6ec5c6fa82cd80
|
|
| BLAKE2b-256 |
257164dc8fed33ba1b987bb79e3591816e8c696f2d756d30a4d2d39ca65c9ea8
|
Provenance
The following attestation bundles were made for isobenefit-0.8.0.tar.gz:
Publisher:
ci.yml on UCL/BSP-isobenefit-qgis-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isobenefit-0.8.0.tar.gz -
Subject digest:
ef379e7f214df4264a7a6eb9c356483e00d349d588ead2bc301ab78877b8cd70 - Sigstore transparency entry: 1840108646
- Sigstore integration time:
-
Permalink:
UCL/BSP-isobenefit-qgis-plugin@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/UCL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Trigger Event:
push
-
Statement type:
File details
Details for the file isobenefit-0.8.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: isobenefit-0.8.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 244.8 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
011443ae023a47329e8e8ab57fda268f0c89f0e02ff6a422bf30e6d3e8d0c0b1
|
|
| MD5 |
b500d00e84b74e734ddc2a9570d244ab
|
|
| BLAKE2b-256 |
8bd99ea541d539bb2080a643985553588c095616afbbed1abf42acde87c5c6b0
|
Provenance
The following attestation bundles were made for isobenefit-0.8.0-cp39-abi3-win_amd64.whl:
Publisher:
ci.yml on UCL/BSP-isobenefit-qgis-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isobenefit-0.8.0-cp39-abi3-win_amd64.whl -
Subject digest:
011443ae023a47329e8e8ab57fda268f0c89f0e02ff6a422bf30e6d3e8d0c0b1 - Sigstore transparency entry: 1840108692
- Sigstore integration time:
-
Permalink:
UCL/BSP-isobenefit-qgis-plugin@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/UCL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Trigger Event:
push
-
Statement type:
File details
Details for the file isobenefit-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: isobenefit-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 366.4 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ef8f6586f83524bc2a9d167b6824b7aaa8e7c2fc65244896f346474a71bde86
|
|
| MD5 |
646b08391424dd2adf1c1ce2d58f16c3
|
|
| BLAKE2b-256 |
ea0f89e58ddf2f6010e2c2478903166ae356385f85d99d702742b958858a7595
|
Provenance
The following attestation bundles were made for isobenefit-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
ci.yml on UCL/BSP-isobenefit-qgis-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isobenefit-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
9ef8f6586f83524bc2a9d167b6824b7aaa8e7c2fc65244896f346474a71bde86 - Sigstore transparency entry: 1840108724
- Sigstore integration time:
-
Permalink:
UCL/BSP-isobenefit-qgis-plugin@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/UCL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Trigger Event:
push
-
Statement type:
File details
Details for the file isobenefit-0.8.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: isobenefit-0.8.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 648.0 kB
- Tags: CPython 3.9+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c5c721058c1a3190a1bec50c27bea946155fe4e0728c15962d345ffa91a3853
|
|
| MD5 |
932a8d0c2f34d4539a86cd3572eba38a
|
|
| BLAKE2b-256 |
be3d741622ae30fb4f745236e1e28fdd9ddb3acc7d7be40502ce9fab0a1ec5c1
|
Provenance
The following attestation bundles were made for isobenefit-0.8.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
ci.yml on UCL/BSP-isobenefit-qgis-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isobenefit-0.8.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
2c5c721058c1a3190a1bec50c27bea946155fe4e0728c15962d345ffa91a3853 - Sigstore transparency entry: 1840108669
- Sigstore integration time:
-
Permalink:
UCL/BSP-isobenefit-qgis-plugin@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/UCL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3d3009946fabe0bd3ee53ee32a4598377559b66d -
Trigger Event:
push
-
Statement type: