Skip to main content

A framework for writing and running Computational Science experiments

Project description

https://travis-ci.org/Elemnir/experipy.svg?branch=master

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.

Installation

experipy can be installed from PyPI, and has no other dependencies.

?> pip install experipy

Documentation

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

Project details


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.4.1.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

experipy-0.4.1-py2.py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page