Skip to content

NuCoMP/serpy

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 20, 2023 22:30
October 20, 2023 22:09
December 8, 2022 22:08
October 20, 2023 22:25
October 20, 2023 13:55
October 20, 2023 14:02
October 20, 2023 22:27

SerPy: The Python API for Serpent

The API for Serpent2. Currently, SerPy includes basic features to support interactions with MCNPy.

Dependencies

  • py4j.
  • h5py
  • psutil
  • numpy
  • metapy
  • Everything else should come with a standard Python install

How to Install

  1. Clone the repository: git clone https://github.rpi.edu/NuCoMP/serpy.git.
  2. Ensure you are running the desired Python environment.
    • Try conda activate ENV_NAME to switch.
  3. Run pip install /path/to/cloned/repo/dist/serpy-X.whl where X is the version.
    • All dependencies except metapy will be downloaded if needed.
    • metapy must be installed from the metapy repository.
  4. Done!

Building a New Wheel

  1. Use pip uninstall serpy to uninstall current version.
  2. Run python /path/to/cloned/repo/setup.py to build the wheel.

About

A metamodel-driven API to read, write, and edit Serpent files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages