igwn_ligolw.utils Package¶
Library of utility code for LIGO Light Weight XML applications.
Functions¶
|
Return a list of the filenames sorted in order from smallest file to largest file (or largest to smallest if reverse is set to True). |
|
For URLs that point to locations in the local filesystem, extract and return the filesystem path of the object to which they point. |
|
Parse the contents of the file object fileobj, and return the contents as a LIGO Light Weight document tree. |
|
Parse the contents of the file identified by filename, and return the contents as a LIGO Light Weight document tree. |
|
Parse the contents of file at the given URL and return the contents as a LIGO Light Weight document tree. |
|
Writes the LIGO Light Weight document tree rooted at xmldoc to the given file object. |
|
Writes the LIGO Light Weight document tree rooted at xmldoc to the file name filename. |
|
Writes the LIGO Light Weight document tree rooted at xmldoc to the URL name url. |