9.1.2.17. GeoHealthCheck.util
9.1.2.17.1. Module Contents
9.1.2.17.1.1. Functions
|
calculates average from a list |
|
common formatting datetime fields |
|
common formatting success boolean field |
|
common formatting object field |
|
|
|
|
|
calculates a percentage |
|
return sample interactive session |
|
convenience function to render template in a non-Flask context |
|
convenience function to send an email |
|
convenience function to geocode a value |
|
convenience function to transform a bbox array |
|
read file contents |
|
|
|
|
|
|
|
9.1.2.17.1.2. Attributes
- GeoHealthCheck.util.APP
- GeoHealthCheck.util.CONFIG
- GeoHealthCheck.util.LOGGER
- GeoHealthCheck.util.format_checked_datetime(run, default='-')[source]
common formatting datetime fields
- GeoHealthCheck.util.format_run_status(run, default='-')[source]
common formatting success boolean field
- GeoHealthCheck.util.render_template2(template, template_vars)[source]
convenience function to render template in a non-Flask context
- GeoHealthCheck.util.send_email(mail_config, fromaddr, toaddr, msg)[source]
convenience function to send an email
- GeoHealthCheck.util.geocode(value, spatial_keyword_type='hostname')[source]
convenience function to geocode a value
- GeoHealthCheck.util.transform_bbox(epsg1, epsg2, bbox)[source]
convenience function to transform a bbox array