ACTINV for Python
ACTINV calculates how a material's nuclide inventory changes during irradiation and cooling. It reports inventories, activities, decay heat, photon sources, selected radiological indices, NRT damage observables (dpa), uncertainty information, and an explicit ledger of incomplete input data.
Installation is one command:
pip install actinv
That installation provides both import actinv and the actinv terminal command. No Rust compiler is needed when a
wheel is available for the platform.
import actinv
import json
with open("problem.json", encoding="utf-8") as source:
result = json.loads(actinv.run(source.read()))
print(result["steps"][-1]["heat_W_per_g"]["total"])
Nuclear-data libraries are distributed separately from the Python wheel. Install and verify the recommended versioned
bundle with actinv data fetch and actinv data verify; each calculation records hashes for
the selected files. See the project README for the quick start, download
instructions, examples, validation evidence, and qualification boundary.
ACTINV is research-grade software. It is not approved for licensing, safety, or regulatory decisions.
Object interface
from pathlib import Path
from actinv import Problem, Material, Schedule, solve
problem = Problem.example(data_dir=Path("actinv-data"))
problem["material"] = Material({"Fe": 100}, mass_g=10)
problem["schedule"] = Schedule().irradiate("5 min").cool("1 h")
problem.save("iron.json")
result = solve(problem) # Also accepts Path("iron.json") or a plain dictionary.
print(result.heat()) # (seconds, W/g)
print(result.activity()) # (seconds, total Bq/g)
result.save("iron-result.json")
Problem.from_file(path) resolves data references against the problem's directory; supply base= for older
repository-relative files. Plain mappings use the current working directory. Spectrum(values, structure=…, total=…, descending=…) provides explicit spectrum construction. Complete result fields remain accessible by key.
Existing run(json_text) still returns JSON text; run_json is an explicit alias. solve returns Result.
Schedule steps may carry continuous feed and first-order removal:
problem["schedule"] = Schedule().irradiate("5 min", feed={"Co60": 1e12}, removal={"Mn56": 1e-3}).cool("1 h")
actinv.reverse(problem, measurements, segments=False) — or actinv-reverse on the command line — recovers a flux
multiplier (or per-segment multipliers) from measured activities in the linear regime. Damage observables are
requested with options.outputs containing "damage" plus a damage section pinning an
actinv-damage-table-1 file and per-element displacement energies.
actinv.decide(decision, base_dir=None) runs the decision loop: an actinv-decide-1 mapping (or file path)
naming a banded run spec plus response constraints at declared band edges returns the certified
actinv-decision-1 document — verdict, binding constraints, completeness, and ranked measurement targets.
actinv.optimize(optspec_path, outdir=None, resume=False) runs an actinv-optimize-1 design search and
returns the optimize_result document (the ledger lands in outdir). Certified screening is a spec option:
problem["options"]["screen"] = {"bmin_atoms_per_g": 1e-4} adds the screen certificate to any solve.
Metadata
Release files for actinv 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| actinv-1.3.0.tar.gz | 593.7 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| actinv-1.3.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| actinv-1.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| actinv-1.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| actinv-1.3.0-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
| actinv-1.3.0-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 23.6 MB
Release files / actinv-1.3.0.tar.gz
| Download URL | actinv-1.3.0.tar.gz |
|---|---|
| Size | 593.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc57ff6295108283919aa42fd7aa730bd578d7f828258eb825e0125ce7fd15d3
|
|
BLAKE2b-256 checksum How to use checksums |
50ba39b4274cf603a09d7f8109afb09efe4ffcd80f42d6b8f62e90708ca807eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency logRelease files / actinv-1.3.0-cp39-abi3-win_amd64.whl
| Download URL | actinv-1.3.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a270a1892d6699599870d92710f95a68244f6bfbf0d995509a5d659c7566bdfb
|
|
BLAKE2b-256 checksum How to use checksums |
34123c792995ff16508ebc8bb3ef0518237cd83b58bf7b7bb9cb8e719d614450
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency logRelease files / actinv-1.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | actinv-1.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
95b8080ae1bfee8e72c2955185233cf95d902aa537a960cd17d087b317c4d3eb
|
|
BLAKE2b-256 checksum How to use checksums |
cf80608b0452f584eb46e0741d334b2c9cab796e658d31d6a3ca92383253d57a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency logRelease files / actinv-1.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | actinv-1.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c6984331bb5caaeed3f27b96d59e4e06ff989084f3d89d28be000bde11a783b5
|
|
BLAKE2b-256 checksum How to use checksums |
9435f9bfc7c959f3d5c0b97da42f1ec159fc2a92ad2bde9ce22ff92b2761d0f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency logRelease files / actinv-1.3.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | actinv-1.3.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ef07e20a9d6d1f9e256411406c18ff4fa9f8a232d904e741cc2aa581977f275e
|
|
BLAKE2b-256 checksum How to use checksums |
67c2d529cfabe3617227e508cea51118b3a3deb79e07771d33e6b3a69dc01bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency logRelease files / actinv-1.3.0-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | actinv-1.3.0-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9c8102d7128001935e67a1e82d223bab7d2c343c14e8ddaac86d6bf6a6f278e7
|
|
BLAKE2b-256 checksum How to use checksums |
76acbeacee409022fe796bbade60990b3097e9abe117c1b60f472702d7a50b37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 28, 2026.
Transparency log