Published July 25, 2026 | Version 1.5.0

MontePy

Description

MontePy is a Python API for reading, editing, and writing MCNP input files. The library provides a semantic interface for working with input files (“MCNP problems”). It does not run MCNP, nor does it parse MCNP output files. It understands that the second entry on a cell card is the material number, and will link the cell with its material object.

 

Files

MontePy-1.5.0.zip

Files (2.7 MB)

Name Size Download all
md5:f39ce831528ff2003e3b9a68b893a715
1.3 MB Download
md5:3a45d6b0911a2840506618f04cccb603
1.4 MB Preview Download

Additional details

Related works

Is described by
Journal article: 10.21105/joss.07951 (DOI)
Is source of
Other: 10.11578/dc.20240115.1 (DOI)

Software

Repository URL
https://github.com/idaholab/MontePy
Programming language
Python
Development Status
Active

References

  • Gale, M. D., Labossiere-Hickman, T. J., Carbno, B. A., & Bascom, A. J. (2025). MontePy: a Python library for reading, editing, and writing MCNP input files.. Journal of Open Source Software, 10(108), 7951. https://doi.org/10.21105/joss.07951