Module EdnaPluginList
[hide private]
[frames] | no frames]

Module EdnaPluginList

source code

This is a generator retrieving all plugin (by their name) and retrieve some basic statisitcs


Date: 2011-05-20

Authors:
J\xc3\xa9r\xc3\xb4me Kieffer, R\xc3\xa9gis Perdreau

Contact: Jerome.Kieffer@esrf.eu

Copyright: ESRF

License: GPLv3

Classes [hide private]
  EdnaPlugin
represents an EDNA Plugin: authore, date, doc, datamodel, ...
Functions [hide private]
 
getPlugins(strPath, htmlpath=None)
Returns: a dict with key=plugin and value=path
source code
 
prettyPrint(dictProjects, dictNumbers)
Returns: a string
source code
 
prettyHtml(dictProjects, dictNumbers)
Returns: a string
source code
 
unicode2html(_unicodeIn)
Converts an unicode input into a "html" like string
source code
 
edml2html(chaine)
Convert an EDML file to a piece of HTML string
source code
Variables [hide private]
  strEdnaHome = '/home/tester/edna'
  __package__ = None
hash(x)
Function Details [hide private]

getPlugins(strPath, htmlpath=None)

source code 
Returns:
a dict with key=plugin and value=path

prettyPrint(dictProjects, dictNumbers)

source code 
Parameters:
  • dictNumbers (dict)
  • dictProjects (dict)
Returns:
a string

prettyHtml(dictProjects, dictNumbers)

source code 
Returns:
a string

unicode2html(_unicodeIn)

source code 

Converts an unicode input into a "html" like string

Parameters:
  • _unicodeIn - input unicode
Returns:
html string

edml2html(chaine)

source code 

Convert an EDML file to a piece of HTML string

Parameters:
  • chaine (string) - input string (EDML format)