geolib.utils

Common utility methods used within GEOLib.

Functions

geolib.utils.camel_to_snake(name)
Parameters:

name (str)

Return type:

str

geolib.utils.csv_as_namedtuples(fn, delimiter=';')
Parameters:

fn (Path)

geolib.utils.make_newline_validator(*field_name, req_newlines=2)

Get a dynamic validator for ensuring a set number of lines.

Parameters:
  • field_name (str)

  • req_newlines (int)

geolib.utils.snake_to_camel(name)
Parameters:

name (str)

Return type:

str