Skip to main content

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 or actinv-damage-table-2 file (the catalog's tendl-2025-neutron-damage is table-2, from build-damage --method kinematic) 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. actinv.budget(budget, *, base_dir=None, verify=True) runs an actinv-budget-1 mapping (or file path) — an impurity budget for the IAEA clearance index — and returns the actinv-budget-result-1 document; a failed verification is returned, not raised (the CLI's exit code 3 has no Python equivalent).

Metadata

Release files for actinv 1.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for actinv 1.7.2
File Size Uploaded Provenance Actions
actinv-1.7.2.tar.gz 1.5 MB With provenance Details for actinv-1.7.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for actinv 1.7.2
File Actions
actinv-1.7.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for actinv-1.7.2-cp39-abi3-win_amd64.whl
actinv-1.7.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for actinv-1.7.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
actinv-1.7.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for actinv-1.7.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
actinv-1.7.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for actinv-1.7.2-cp39-abi3-macosx_11_0_arm64.whl
actinv-1.7.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for actinv-1.7.2-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 39.5 MB

Release files / actinv-1.7.2.tar.gz

Download URL actinv-1.7.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
12846693b72f01619d88822cd8f47f020c61ab2161b5f64d1461059baaaae927
BLAKE2b-256 checksum
How to use checksums
d05d30b67e547bb8ea97e65665623a912afcc85be859fd2c6d0a2985d4425bc3
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 Nov 2, 2026.

Transparency log

Release files / actinv-1.7.2-cp39-abi3-win_amd64.whl

Download URL actinv-1.7.2-cp39-abi3-win_amd64.whl
Size 8.0 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2390a187d33b60b2539e7ba8a8fe9c6a1fde22d1418dbafc07304bd751ca41f9
BLAKE2b-256 checksum
How to use checksums
6a5025a6639473a9883aa25bf1aac26e17e7712f9552796f13709c3a495b4c10
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 Nov 2, 2026.

Transparency log

Release files / actinv-1.7.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL actinv-1.7.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 7.9 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
304a08c32827fedc69479b271bbf42e6841593bc593be7bf4bfc250060215ef3
BLAKE2b-256 checksum
How to use checksums
60c80de8345fd4af95650b93bd9dd2d29508a62e763e3f642f7d2e9d41324660
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 Nov 2, 2026.

Transparency log

Release files / actinv-1.7.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL actinv-1.7.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 7.2 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1e6dfb0e2244aabab097e99082fd14f73c4b7ded2853ee2188c92430eab8ab33
BLAKE2b-256 checksum
How to use checksums
2ac1a222e369c295d9faa71d5fa8da64daf5f8d13e5cf00f7ebb5c3ccf11ecde
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 Nov 2, 2026.

Transparency log

Release files / actinv-1.7.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL actinv-1.7.2-cp39-abi3-macosx_11_0_arm64.whl
Size 7.1 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a5fff4dd1208b3aa4467f67fdc3f828a1b3a33f36a712d974d09ddf4492b14e1
BLAKE2b-256 checksum
How to use checksums
5c417ec7378c7fa497652f76d5555272bd0540af39783a19d12bcfd8405c5fc3
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 Nov 2, 2026.

Transparency log

Release files / actinv-1.7.2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL actinv-1.7.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 7.6 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
16c540d8a994ba702c3e6034a3280ca6d6e929c9c4a6ad094d4c3219f1571ce0
BLAKE2b-256 checksum
How to use checksums
3e203ef9d9c48c54c5c27bb23e59c4d82b62c8665c099e5c53352db030d17034
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 Nov 2, 2026.

Transparency log

Security for actinv 1.7.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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for actinv-1.7.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 Nov 2, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page