A framework for writing and running Computational Science experiments
A framework for writing and running Computational Science experiments.
experipy provides a composable grammar for automating experiment script generation and a tool which can then execute those scripts. Supports PBS and Slurm script based queueing.
A Simple Example
from experipy.exp import Experiment from experipy.grammar import Executable exp = Experiment(Executable("echo", ["Hello World"]), expname="test", destdir="results") exp.run()
This will run the program echo with the argument Hello World in a directory in /tmp, writing the output and error, along with timing information, to the directory results. Directories will be created as needed. A complete example showing how to write an experiment for a Python script can be found in test/runtest.py.
experipy can be installed from PyPI, and has no other dependencies.
?> pip install experipy
Full documentation for experipy can be found at https://experipy.readthedocs.io.
Features In The Works
Expand experipy.system to include more standard command line tools
Beef up PBS script options
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for experipy-0.4.1-py2.py3-none-any.whl