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.12.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.12.0
File Size Uploaded
yamc-0.12.0.tar.gz 2.8 kB Details

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / yamc-0.12.0.tar.gz

Download URL yamc-0.12.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5f161d3fadfcc4b7d83587570cb4d0617df92c16370fc3820af58f592d77aa60
BLAKE2b-256 checksum
How to use checksums
22bb3fb4376e2f5f0bb20b01571cae9ce5a151ad02ebf27253c3287bbdd5a6e1
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 19, 2026.

Transparency log

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

Download URL yamc-0.12.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc520363fb48a9047df3d2eaca7e694628b6d01b693279de2e3282958b4d07cc
BLAKE2b-256 checksum
How to use checksums
ec109aa70e4f7a6624f58db50f53d7fcc1c536a3ab2b2f2fd5f206d216240735
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 19, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.0

2 release files

This release

0.12.0 This release

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