This is a small Python web client made to test the BDR Gateway API which is used to absorb data into the Biodiversity Data Repository being built for the Department of Agriculture, Water and the Environment.
This tool is mostly for internal testing but may be copied by others for their use.
-
validate_egs.py
- attempts to validate each example message file using all the validators combined -
validate_egs_rdf.py
- just checks each example is valid RDF-
useful if new problematic example files need testing as at least syntactically before full use in validation tests
-
-
create_sampling.py
- creates instances of Sampling and Sample from data (Python dict) and packages it within a BDRCreateMessage