pygeofilter package

Subpackages

Submodules

pygeofilter.ast module

pygeofilter.cql2 module

pygeofilter.util module

pygeofilter.util.like_pattern_to_re(like, nocase, wildcard, single_char, escape_char)
pygeofilter.util.like_pattern_to_re_pattern(like, wildcard, single_char, escape_char)
pygeofilter.util.parse_datetime(value: str) datetime
pygeofilter.util.parse_duration(value: str) timedelta

Parses an ISO 8601 duration string into a python timedelta object. Raises a ValueError if a conversion was not possible.

Parameters:

value (str) – the ISO8601 duration string to parse

Returns:

the parsed duration

Return type:

datetime.timedelta

pygeofilter.values module

Module contents