
fsibt/pymcnp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCNP용 Python 도구
개요
PyMCNP는 Monte Carlo N-Particle (MCNP) 시뮬레이션을 지원합니다. 그것은 MCNP 파일을 파, 매개 변수 스캔과 같은 자동화를 가능하게, pyvista를 사용하여 MCNP 형상 시각화를 만듭니다. PyMCNP는 MCNP 및 MCNP 파일과 상호 작용을 위한 MCNP 입력 및 출력 파일 및 명령행 인터페이스를 위한 Python API를 제공합니다. PyMCNP는 PyPI에서 사용할 수 있으며 "파이프가 설치 될 수 있습니다": 2026-10-14로, PyMCNP doe는 pyvista를 통해 PyMCNP Dependency vtk가 Python 3.15를 지원하지 않기 때문에 Python 3.15를 지원하지 않습니다. PyMCNP는 기술 파일, SKILL.md를 발송하여 API, 파싱 계약 및 Claude Code와 같은 AI 코딩 에이전트에 공통적인 pitfalls를 설명합니다. 설치된 기술 (클래드 부호를 위해, ~/.claude/skills/pymcnp/SKILL.md에 복사하십시오), 대리인은 짧은 묘사에서 당신을 위한, 검사, 뛰고, 도형 MCNP 모형을 쓸 수 있습니다, 그래서 자동화 MCNP는 복잡한 geometries를 위해 조차 쉽습니다.
개요(AI 번역)
PyMCNP는 Monte Carlo N-Particle (MCNP) 시뮬레이션을 지원합니다. 그것은 MCNP 파일을 파, 매개 변수 스캔과 같은 자동화를 가능하게, pyvista를 사용하여 MCNP 형상 시각화를 만듭니다. PyMCNP는 MCNP 및 MCNP 파일과 상호 작용을 위한 MCNP 입력 및 출력 파일 및 명령행 인터페이스를 위한 Python API를 제공합니다.
ReadTheDocs에 더 많은 정보를 찾으십시오.
설치
PyMCNP는 PyPI에서 사용할 수 있으며 “파이프가 설치 될 수 있습니다”:
pip 설치 pymcnp
PyMCNP는 Python 3.11에서 3.14을 지원합니다.
2026-10-14로, PyMCNP doe는 PyMCNP Dependency vtk]가 pyvista를 통해 Python 3.15를 지원하지 않습니다.
AI 코딩 에이전트 자동화
PyMCNP는 기술 파일, SKILL.md를 발송하여 API, 파싱 계약 및 Claude Code와 같은 AI 코딩 에이전트에 공통적인 pitfalls를 설명합니다.
기술 설치 (클래드 코드에 대 한, 복사 ~/.claude/skills/pymcnp/SKILL.md]), 에이전트는 짧은 설명에서 당신을 위해 MCNP 모델을 작성, 스캔, 실행, 및 플로트 MCNP 모델, 그래서 자동화 MCNP는 복잡한 형상에 쉽게.
readTheDocs의 예, 441의 철 디스크는 플럭스 플로트가있는 거친 콘크리트 바닥에, 짧은 프롬프트에서이 방법을 만들었습니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
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, PyMCNP doe snot support Python 3.15 since PyMCNP dependency vtk via pyvista does not support Python 3.15.
Automation with AI Coding Agents
PyMCNP ships a skill file, SKILL.md, that describes the API, the parsing contract, and the common pitfalls to an AI coding agent such as Claude Code.
With the skill installed (for Claude Code, copy it to ~/.claude/skills/pymcnp/SKILL.md), an agent can write, scan, run, and plot MCNP models for you from a short description, so automating MCNP becomes easy even for complex geometries.
The example on ReadTheDocs, 441 iron discs over a rough concrete floor with a flux plot, was created this way from a short prompt.
Always review generated models and results before relying on them.
Contributing
PyMCNP welcomes contributions, including issues, pull requests, and MCNP files that PyMCNP fails to parse or visualize.
For more information, see the CONTRIBUTING.md file.
Copyright and License
For copyright and license information, see the COPYRIGHT.md and LICENSE.md files.
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add fsibt/pymcnp