FreeBSD.software
Home/sysutils/py311-scandir

py311-scandir

1.10.0_3sysutils

Fast and featureful directory iterator

scandir, a better directory iterator and faster os.walk() scandir() is a generator version of os.listdir() that returns an iterator over files in a directory, and also exposes the extra information most operating systems provide while iterating files in a directory (such as type and stat information). This module also includes a version of os.walk() that uses scandir() to speed it up significantly. NOTE: If you're using Python version 3.5+, os.scandir() and the speed improvements to os.walk() are already available in the standard library.

$pkg install py311-scandir
github.com/benhoyt/scandir
Origin
sysutils/py-scandir
Size
108KiB
License
BSD3CLAUSE
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)