Metadata-Version: 2.4
Name: pymcnp
Version: 0.10.0
Summary: Python-based MCNP tools.
Author-email: Mauricio Ayllon Unzueta <mauri.ayllon12@gmail.com>, Arun Persaud <apersaud@lbl.gov>, Devin Pease <dmpease@lbl.gov>
License-Expression: BSD-3-Clause-LBNL
Project-URL: Documentation, https://pymcnp.readthedocs.io/en/latest/
Project-URL: Homepage, https://github.com/FSIBT/PyMCNP
Project-URL: Issues, https://github.com/FSIBT/PyMCNP/issues
Project-URL: Changelog, https://github.com/FSIBT/PyMCNP/blob/main/CHANGELOG.md
Keywords: MCNP,Monte Carlo,particle transport,radiation transport,input files
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: docopt
Requires-Dist: fastparquet
Requires-Dist: matplotlib
Requires-Dist: molmass
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: pyvista
Requires-Dist: rich
Requires-Dist: scipy
Provides-Extra: docs
Requires-Dist: myst_parser; extra == "docs"
Requires-Dist: Sphinx; extra == "docs"
Requires-Dist: sphinx_rtd_theme; extra == "docs"
Provides-Extra: dev
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: ruff==0.17.0; extra == "dev"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-env; extra == "test"
Requires-Dist: pytest-testmon; extra == "test"
Dynamic: license-file

[![Documentation Status](https://readthedocs.org/projects/pymcnp/badge/?version=latest)](https://pymcnp.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/pymcnp.svg)](https://badge.fury.io/py/pymcnp)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)

# PyMCNP

PyMCNP supports running [Monte Carlo N-Particle (MCNP) simulations](https://mcnp.lanl.gov/). It parses MCNP files, enabling automation such as parameter scans, creates MCNP geometry visualization using [pyvista](https://pyvista.org). 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](https://pymcnp.readthedocs.io).

## Installation

PyMCNP is available on [PyPI](https://pypi.org/project/pymcnp/) 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](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.
