How jsnowacki/xppy works
Project type and purpose
• Type: Open-source Python library (tool)
• Purpose: Provide a Python interface to Bard Ermentrout’s XPP simulator—parse and modify XPP ODE/SET files, launch simulations, wrap simulation outputs in Python objects, and supply plotting utilities.
File structure
• Top-level:
• setup.py, README.txt, COPYING.txt, MANIFEST.in, Doxyfile (build, packaging, docs)
• xppyDemo.py (example script)
• xppy/ (main package)
• xppy/parser/
• parse.py (read/.ode/.set files)
• run.py (invoke XPP executable, manage simulation lifecycle)
• xppy/utils/
• data.py, allinfo.py, solution.py (classes wrapping different XPP output types)
• output.py, allutils.py (I/O helpers, shared utilities)
• No network/UI layers; core is a library + wrapper around an external CLI tool.
README for additional insights
• External dependencies: NumPy (data arrays), Matplotlib (optional plotting).
• Must have XPP in PATH (external process to spawn).
• Doxygen folder (doc/) for API docs—indicates a documentation generation step.