pvWebMonitor Package: utils
Module#
pvWebMonitor.utils
- pvWebMonitor.utils.copyToWebServer(local_file, web_site_path)[source]#
copy local file to web server directory (on a local file system)
This copy routine assumes that it is not necessary to use scp to copy the file.
- pvWebMonitor.utils.validate(xml_tree, xml_schema_file)[source]#
validate an XML document tree against an XML Schema file
- Parameters:
xml_tree (obj) – instance of etree._ElementTree
xml_schema_file (str) – name of XML Schema file (local to package directory)