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.

Metadata

Release files for actinv 1.1.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.1.2
File Size Uploaded
actinv-1.1.2.tar.gz 383.7 kB Details

Built distributions (wheels)

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

Total release size: 18.3 MB

Release files / actinv-1.1.2.tar.gz

Download URL actinv-1.1.2.tar.gz
Size 383.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b10c35d5a22030a055f1fba87acc7b1a7b53d9c1ca027cf7f65aa80199828377
BLAKE2b-256 checksum
How to use checksums
4bc84057137fb5a4c68e00654c9cc65d1086f205c24e1f7ce41f8705480b8d1c
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 16, 2026.

Transparency log

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

Download URL actinv-1.1.2-cp39-abi3-win_amd64.whl
Size 3.6 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
6569cb38ed5023f1708119e00ec0d06ca520fe97a0e74bfdfcb7a6490af6ce2c
BLAKE2b-256 checksum
How to use checksums
9794599bbb32340d77ddc54dd70cfdc8384037f1e81a530fec1b99956a0561c7
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 16, 2026.

Transparency log

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

Download URL actinv-1.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
c5f90849a783f66b09b99194d590cf223117ae73657a4f9a2254733466ca787f
BLAKE2b-256 checksum
How to use checksums
82a86b512860b66abb34918917e65bee162e955df7c2786415bb07e56b37211a
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 16, 2026.

Transparency log

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

Download URL actinv-1.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.5 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
244adfc0380f8f7ecefbd63fc260ae4db23682e4ea6932c2874caa9539ca5f0c
BLAKE2b-256 checksum
How to use checksums
d0ce541539ea590fa585d1e8c82a79a11b7d010d2eff7f0804d870336fae7215
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 16, 2026.

Transparency log

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

Download URL actinv-1.1.2-cp39-abi3-macosx_11_0_arm64.whl
Size 3.4 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aa3bea4a2de54f827675f7dc34da94ffa6a5b549e77d49aea1edf069da72d5df
BLAKE2b-256 checksum
How to use checksums
6349fb12bcdfdca7528ddfd6398fb888d3c7e01c37d545adaf220f6e651e7398
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 16, 2026.

Transparency log

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

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

Transparency log

Release history Release notifications | RSS feed

1.5.0

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

This release

1.1.2 This release

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