scandir (pypi): scandir, a better directory iterator and faster os.walk()
Keywords: directory|iterator|performance|python|scandir