mementoweb.validator package¶
Subpackages¶
- mementoweb.validator.errors package
- mementoweb.validator.pipelines package
- Submodules
- mementoweb.validator.pipelines.default module
- mementoweb.validator.pipelines.memento module
- mementoweb.validator.pipelines.original module
- mementoweb.validator.pipelines.timebundle module
- mementoweb.validator.pipelines.timegate module
- mementoweb.validator.pipelines.timemap module
- Module contents
- mementoweb.validator.tests package
- Submodules
- mementoweb.validator.tests.content_type_header_test module
- mementoweb.validator.tests.datetime_negotiation_test module
- mementoweb.validator.tests.header_test module
- mementoweb.validator.tests.link_header_memento_test module
- mementoweb.validator.tests.link_header_original_test module
- mementoweb.validator.tests.link_header_test module
- mementoweb.validator.tests.link_header_timegate_test module
- mementoweb.validator.tests.link_header_timemap_test module
- mementoweb.validator.tests.memento_redirect_test module
- mementoweb.validator.tests.test module
- mementoweb.validator.tests.timegate_redirect_test module
- mementoweb.validator.tests.timemap_parse_test module
- mementoweb.validator.tests.timemap_redirect_test module
- mementoweb.validator.tests.uri_test module
- Module contents
- mementoweb.validator.util package
Submodules¶
mementoweb.validator.config module¶
- class mementoweb.validator.config.Config¶
Bases:
object
Provides access to the configuration parameters from config.xml.
The configuration only supports xml.
- file_path = 'config.xml'¶
- static get_env(xpath: str) List[xml.etree.ElementTree.Element] ¶
Get specified configuration parameter from “config.xml” using the specified xpath. :param xpath: xpath of the element :return: list of matching elements in document order