docs: def camel_to_snake(name):
      """
      http://stackoverflow.com/questions/1175208/
      elegant-python-function-to-convert-camelcase-to-camel-case
      """
      s1 = FIRST_CAP_RE.sub(r'\1_\2', name)
      return ALL_CAP_RE.sub(r'\1_\2', s1).lower()