Metadata-Version: 2.4
Name: scpn-fusion-rs
Version: 4.0.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Physics
Summary: Native Rust acceleration for SCPN Fusion Core
Keywords: fusion,plasma,rust,pyo3,tokamak
Home-Page: https://github.com/anulum/scpn-fusion-core
Author-email: Miroslav Sotek <protoscience@anulum.li>
License-Expression: AGPL-3.0-or-later
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Bug Tracker, https://github.com/anulum/scpn-fusion-core/issues
Project-URL: Documentation, https://anulum.github.io/scpn-fusion-core/
Project-URL: Homepage, https://github.com/anulum/scpn-fusion-core
Project-URL: Repository, https://github.com/anulum/scpn-fusion-core

<!--
SPDX-License-Identifier: AGPL-3.0-or-later
Commercial license available
© Concepts 1996–2026 Miroslav Šotek. All rights reserved.
© Code 2020–2026 Miroslav Šotek. All rights reserved.
ORCID: 0009-0009-3560-0851
Contact: www.anulum.li | protoscience@anulum.li
-->

# scpn-fusion-rs

`scpn-fusion-rs` is the independently installable native extension for
[SCPN Fusion Core](https://github.com/anulum/scpn-fusion-core). It exposes
selected equilibrium, control, transport, phase, diagnostic, nuclear, and
machine-learning kernels through the `scpn_fusion_rs` Python module.

Install the Python package and native extension together:

```bash
python -m pip install scpn-fusion scpn-fusion-rs
```

Confirm the extension and its release identity:

```bash
python -c "import scpn_fusion_rs; print(scpn_fusion_rs.__version__)"
```

The extension is optional. `scpn-fusion` retains NumPy/SciPy fallback paths
when a compatible native wheel is unavailable. Backend availability is not a
blanket performance claim; use the repository's checksummed benchmark reports
for equivalent workload and hardware comparisons.

## Source build

From the repository root:

```bash
python -m pip install 'maturin>=1.14.1,<2.0'
cd scpn-fusion-rs/crates/fusion-python
maturin develop --release
```

Python 3.10–3.12 are supported by the 4.0.0 distribution line.

## Licensing

The open-source path is `AGPL-3.0-or-later`. Separate commercial licences are
available for proprietary use; contact `protoscience@anulum.li`.

