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

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.5.0
File Size Uploaded
actinv-1.5.0.tar.gz 1.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for actinv 1.5.0
File
actinv-1.5.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
actinv-1.5.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.5.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
actinv-1.5.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
actinv-1.5.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 32.6 MB

Release files / actinv-1.5.0.tar.gz

Download URL actinv-1.5.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
8084e04cd0c7af275a46dae601cb69c1e0448529cc5390b2adf89e55396791c0
BLAKE2b-256 checksum
How to use checksums
e6998b277ca662374e4d057a87d6a34c72ed6091e0f7938af6f7634d95c9592f
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 Oct 16, 2026.

Transparency log

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

Download URL actinv-1.5.0-cp39-abi3-win_amd64.whl
Size 6.6 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d5d30fce5a354fe019ec667de126e0f0c8e636f639d90d92a1a3c67e523bc0d3
BLAKE2b-256 checksum
How to use checksums
60b0a5c5d24fd4144fb347eef018eea07ae71b450c9e13989476a574854bc953
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 Oct 16, 2026.

Transparency log

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

Download URL actinv-1.5.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
c71614230adf15f11f8a8e14005479be309e883102414052b887b25dd9dc1358
BLAKE2b-256 checksum
How to use checksums
41b618fb25ace3d848c97709d0b8dabfe1b1b1f432398cd67465fd7d8727d3d5
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 Oct 16, 2026.

Transparency log

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

Download URL actinv-1.5.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.0 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
476ed6d9ed0c2541fce9718f0cc634c716ee379c2c776104474f7819875b6b8d
BLAKE2b-256 checksum
How to use checksums
e107b6c25c85292a265b769350b969e03dac25d9371d0343bb159fe9d355c14a
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 Oct 16, 2026.

Transparency log

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

Download URL actinv-1.5.0-cp39-abi3-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
af71c7e763fdc3b68b044b1b33b8e1b38fc9a8408d7eadeb2be3b4d7a5994505
BLAKE2b-256 checksum
How to use checksums
aec78c148ee96ef216f1d387764024a7380b96aa9d7e4a0b4b7cdfddd065ce29
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 Oct 16, 2026.

Transparency log

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

Download URL actinv-1.5.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 6.3 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
da698305a8d894a6ff1863481498898c77a2ab3c38f39f44bf1ff06fe1961c24
BLAKE2b-256 checksum
How to use checksums
a1299aaf90af40c57ae3f80edb1bdcd61df7f43604a1a9736307151cd6aa93a2
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 Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.5.0 This release

6 release files

1.4.0

6 release files

1.3.1

6 release files

1.3.0

6 release files

1.2.1

6 release files

1.2.0

6 release files

1.1.2

6 release files

1.1.0

6 release files

1.0.1

6 release files

1.0.0

6 release files

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