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 details)
Built Distribution
File details
Details for the file experipy-0.1.0.tar.gz
.
File metadata
- Download URL: experipy-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb2238c545bee9a1809f81693195f3d07345a63b882db97cd06b9538daf86ac |
|
MD5 | 06e1df9c6e70c5617d370d5f20edd1e2 |
|
BLAKE2b-256 | c72268e7daada5deb1f7339d133132b2c39f71c4ae2e5bec09a52cf3a8021578 |
File details
Details for the file experipy-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: experipy-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36968d4143aac23ffb9c1f01fffd9c168fc9f5c52f008df67d320a5d6cd3678b |
|
MD5 | 0e0c8c99c50b93919d5f7cbc18bce895 |
|
BLAKE2b-256 | 25f671ae499d858a6f8bd955a3550dcd683d9e51d072dedb815a2148b7da9fb3 |