def snakecase(camelcase_string):
    return _uppercase_letter_pattern.sub(lambda x: ('_' if x.start() else '') + x.group(0), camelcase_string).lower()
:type camelcase_string: str
dataset/ETHPy150Open sodastsai/taskr/taskr/contrib/converters.py/snakecase