Skip to main content

YAMC

Yet Another Monte Carlo: an open-source Monte Carlo particle transport code for neutron and photon simulations, with a focus on fusion neutronics workflows.

Documentation 📝 | PyPI 🐍

pip install yamc
import yamc

yamc.cross_section_data = "endf-b8.1"

steel = yamc.Material({"Fe56": 1.0}, density=7.87)
sphere = yamc.Sphere(radius=10.0, boundary="vacuum")
cell = yamc.Cell(region=sphere.below, material=steel)
geometry = yamc.Geometry([cell])

source = yamc.NeutronSource(energy=yamc.sources.Discrete([14.06e6], [1.0]))
tally = yamc.Tally(scores=["flux"])

model = yamc.Model(geometry=geometry, source=source, tallies=[tally])
results = model.simulate_transport(total_particles=10_000)
print(results[tally].mean)

What it does

Continuous-energy neutron and photon transport over CSG or unstructured mesh geometry, on CPU or GPU, with tallies, variance reduction, transport-coupled transmutation and shutdown dose rates. The solver is Rust; the wheel needs no compiler and no external toolchain.

Transmutation without transport

If you already have a spectrum and want none of the transport stack, install yani instead: same materials, same schedules, same nuclear data, no geometry.

Metadata

Release files for yamc 0.13.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 yamc 0.13.0
File Size Uploaded
yamc-0.13.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yamc 0.13.0
File Interpreter ABI Platform
yamc-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / yamc-0.13.0.tar.gz

Download URL yamc-0.13.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dd8394f63b5d31c1f7d6bb186d085c7b36d731682f1a62609e8abb2a8214cdb0
BLAKE2b-256 checksum
How to use checksums
16e78e6c0ed345571afe87e0f45e627c6ab27dc70afaaa0e5c302bbaba14907a
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 21, 2026.

Transparency log

Release files / yamc-0.13.0-py3-none-any.whl

Download URL yamc-0.13.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57397c3bce2a85e59c5b1226a97374b1c90c757a290d7c5ee13ede7aab2a7b52
BLAKE2b-256 checksum
How to use checksums
db27f9d489f54229bc21235ca8feaa33da460fb164676a55304b1b89ea999013
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 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.12.0

2 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