def pep440_version(ver_dict):
    if 'tag' not in ver_dict:
        return VERSION_UNKNOWN
    tag = ver_dict['tag']
    local = '.'.join([ver_dict[x]
                      for x in ['commits', 'sha', 'dirty']
                      if x in ver_dict])
    if not local:
        return tag
    return '{}+{}'.format(tag, local)
Yields a list of trained features.
dataset/ETHPy150Open hypothesis/h/h/_version.py/pep440_version--crossover with--dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Classifier.features