devel/py-scandir - The NetBSD Packages Collection

Better directory iterator and faster os.walk()

scandir() 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.

Build dependencies

devel/py-setuptools44 pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python27 lang/python27

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py27-scandir-1.10.0nb1.tgz
NetBSD 10.0aarch64py27-scandir-1.10.0nb1.tgz
NetBSD 10.0aarch64ebpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0aarch64ebpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0alphapy27-scandir-1.10.0nb1.tgz
NetBSD 10.0alphapy27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv4py27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv4py27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv6hfpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv6hfpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv6hfpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv7hfpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv7hfpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0earmv7hfpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0i386py27-scandir-1.10.0nb1.tgz
NetBSD 10.0i386py27-scandir-1.10.0nb1.tgz
NetBSD 10.0mips64ebpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0mips64ebpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0powerpcpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0powerpcpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0powerpcpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0sh3elpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0sh3elpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0sparc64py27-scandir-1.10.0nb1.tgz
NetBSD 10.0sparc64py27-scandir-1.10.0nb1.tgz
NetBSD 10.0sparcpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0sparcpy27-scandir-1.10.0nb1.tgz
NetBSD 10.0x86_64py27-scandir-1.10.0nb1.tgz
NetBSD 10.0x86_64py27-scandir-1.10.0nb1.tgz
NetBSD 9.0aarch64py27-scandir-1.10.0nb1.tgz
NetBSD 9.0aarch64py27-scandir-1.10.0nb1.tgz
NetBSD 9.0alphapy27-scandir-1.10.0nb1.tgz
NetBSD 9.0alphapy27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv4py27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv4py27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv6hfpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv6hfpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv6hfpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv7hfpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv7hfpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0earmv7hfpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0i386py27-scandir-1.10.0nb1.tgz
NetBSD 9.0i386py27-scandir-1.10.0nb1.tgz
NetBSD 9.0m68kpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0powerpcpy27-scandir-1.10.0.tgz
NetBSD 9.0powerpcpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0powerpcpy27-scandir-1.10.0.tgz
NetBSD 9.0powerpcpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0powerpcpy27-scandir-1.10.0.tgz
NetBSD 9.0powerpcpy27-scandir-1.10.0nb1.tgz
NetBSD 9.0sparc64py27-scandir-1.10.0nb1.tgz
NetBSD 9.0x86_64py27-scandir-1.10.0nb1.tgz
NetBSD 9.0x86_64py27-scandir-1.10.0nb1.tgz
NetBSD 9.3x86_64py27-scandir-1.10.0nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.