Skip to main content

A framework for writing and running Computational Science experiments

Project description

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.

Components

experipy.grammar

Contains abstractions for describing program executables, their argurments, and relationships between them such as pipelines.

experipy.system

Contains a number of standard tools such as cp, mkdir, and the Python interpreter described as elements within the grammar.

experipy.exp

Contains the Experiment class, instances of which accepts a composition in the grammar, and can generate and execute a shell script from it.

corsys

Tools used by the Corsys research group at UTK, will likely be separated at some point, but serves as a useful example (Heavily WIP)

Features In The Works

  • Develop a means for defining configurations

  • 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.1.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

experipy-0.1.2-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file experipy-0.1.2.tar.gz.

File metadata

  • Download URL: experipy-0.1.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for experipy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f483c37a9fae3c654062e57fe8c8eeda20c2841b820f421a1bf03cee5948a575
MD5 283c175b2d58f8487a3087dc2036b9a8
BLAKE2b-256 3fd2fcffe5c9e101876b9b76dbf4f9f70a9a17e784de9bbd8b1c1900beb86ab9

See more details on using hashes here.

File details

Details for the file experipy-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for experipy-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 10587fbf06346448787b0fc3f8228682a9d142e7a105f479b56f7e21b3ea282d
MD5 b3edab20e6e8bd54d7aa0022093edace
BLAKE2b-256 aa21df310c53e8774f7b5ef498d75daed5b9864f260e371c4ce8383ca489f03a

See more details on using hashes here.

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