Classes | Functions

bbcflib::frontend Namespace Reference

Classes

class  Frontend
class  Job

Functions

def parseConfig

Detailed Description

========================
Module: bbcflib.frontend
========================

This module provides access to Fabrice David's frontend code for
deploying web interfaces to workflows.  It provides a class
``Frontend`` which handles connections, and which returns objects of
type ``Job`` when queried.

A ``Frontend`` object must be given either a URL to the frontend, such
as ``http://htsstation.epfl.ch/rnaseq/``, or a ``ConfigParser``
object defining the field ``frontend_url`` in the appropriate section.

Basic usage is to create a ``Frontend`` object, then call its ``job``
method with a job key.::

    f = Frontend(url='http://htsstation.epfl.ch/rnaseq/')
    j = f.job(14)

.. autoclass:: Frontend

.. autoclass:: Job

Function Documentation

def bbcflib::frontend::parseConfig (   file,
  job = None,
  gl = None 
)
Constructs or updates a Job object from parsing a text config file with ConfigObj.
 All Classes Namespaces Functions