Path to this page:
./
devel/py-scandir,
Better directory iterator and faster os.walk()
Branch: pkgsrc-2021Q1,
Version: 1.10.0,
Package name: py27-scandir-1.10.0,
Maintainer: pkgsrc-usersscandir() is a directory iteration function like os.listdir(),
except that instead of returning a list of bare filenames, it yields
DirEntry objects that include file type and stat information along
with the name. Using scandir() increases the speed of os.walk() by
2-20 times (depending on the platform and file system) by avoiding
unnecessary calls to os.stat() in most cases.
Master sites:
SHA1: 460c739b514872233c573dded3490718348ec820
RMD160: e2380a39b8e1d7f65a81bb89c1eabd12c79a32e1
Filesize: 32.53 KB
Version history: (Expand)
- (2021-03-30) Package added to pkgsrc.se, version py27-scandir-1.10.0 (created)