Package Ganga :: Package Lib :: Package LCG :: Module Utility
[hide private]
[frames] | no frames]

Module Utility

source code

Functions [hide private]
 
get_uuid(*args)
Generates a universally unique ID.
source code
 
urisplit(uri)
Basic URI Parser according to STD66 aka RFC3986
source code
 
readStrippedLines(fileName)
reads in a list of strings from a file
source code
 
filter_string_list(allList, filterList, type=0)
picks a list of strings from allList (mis-)matching the elementes in the filterList
source code
 
get_md5sum(fname, ignoreGzipTimestamp=False)
Calculates the MD5 checksum of a file
source code
Function Details [hide private]

urisplit(uri)

source code 

Basic URI Parser according to STD66 aka RFC3986

>>> urisplit("scheme://authority/path?query#fragment")
('scheme', 'authority', 'path', 'query', 'fragment')

filter_string_list(allList, filterList, type=0)

source code 

picks a list of strings from allList (mis-)matching the elementes in the filterList

  • type = 0 : including lists given by filterLists
  • type = 1 : excluding lists given by filterLists