PyMCNP
PyMCNP supports running Monte Carlo N-Particle (MCNP) simulations. It parses MCNP files, enabling automation such as parameter scans, creates MCNP geometry visualization using pyvista. PyMCNP provides a Python API for MCNP input and output files and a command line interface for interacting with MCNP and MCNP files.
Find more information on ReadTheDocs.
Installation
PyMCNP is available on PyPI and can be "pip installed":
pip install pymcnp
PyMCNP supports Python 3.11 to 3.14. As of 2026-10-14, Python 3.15 does not work yet because a dependency, vtk (through pyvista), does not publish wheels for it.
Contributing
Contributions are welcome: issues, pull requests, and in particular MCNP input files that PyMCNP fails to parse or visualize. See CONTRIBUTING.md for how to report bugs, set up a development environment, run the tests, and build the documentation.
Copyright and License
For copyright and license information, see the COPYRIGHT and LICENSE files in the top level directory.
Metadata
Release files for pymcnp 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymcnp-0.10.0.tar.gz | 5.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymcnp-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 MB
Release files / pymcnp-0.10.0.tar.gz
| Download URL | pymcnp-0.10.0.tar.gz |
|---|---|
| Size | 5.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
627235e32e904a4bf0befdb5cf904b29816846bf1608f4f02c1650df10b77bdd
|
|
BLAKE2b-256 checksum How to use checksums |
5359d1df87b02ed47a60d93f92f2b11c1a24cb96f584767a4497d34201242ac0
|
| 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 15, 2026.
Transparency logRelease files / pymcnp-0.10.0-py3-none-any.whl
| Download URL | pymcnp-0.10.0-py3-none-any.whl |
|---|---|
| Size | 491.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e30f500476d8302383319e6757abea380bccd58c87b551d5756986b9202ef069
|
|
BLAKE2b-256 checksum How to use checksums |
fc33d459704c186134259ce6087a24c7ab17fdc119fda115ba709d311deb2160
|
| 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 15, 2026.
Transparency log