A framework for writing and running Computational Science experiments
Project description
# experipy
A framework for writing and running Computational Science experiments.
Experipy provides a composable grammar for automatically writing scripts and a tool which can then execute them. Support for PBS script based queueing is (mostly) implemented.
## 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`.
A framework for writing and running Computational Science experiments.
Experipy provides a composable grammar for automatically writing scripts and a tool which can then execute them. Support for PBS script based queueing is (mostly) implemented.
## 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`.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
experipy-0.1.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for experipy-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36968d4143aac23ffb9c1f01fffd9c168fc9f5c52f008df67d320a5d6cd3678b |
|
MD5 | 0e0c8c99c50b93919d5f7cbc18bce895 |
|
BLAKE2b-256 | 25f671ae499d858a6f8bd955a3550dcd683d9e51d072dedb815a2148b7da9fb3 |