BSD Ports

sysutils/py-scandir 1.10.0_3 FreeBSD

Fast and featureful directory iterator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
sysutils, python
Package size
26.9 KiB, 106.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDsysutils/py-scandir1.10.0_3
DragonFlysysutils/py-scandir1.10.0_3
MidnightBSDsysutils/py-scandir1.10.0_2

Install

Binary package:

pkg install py312-scandir

From the ports tree:

cd /usr/ports/sysutils/py-scandir/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-scandir>0:sysutils/py-scandir

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.10.0_31.10.0_31.10.0_11.10.0_31.10.0_3
FreeBSD:14:quarterly1.10.0_31.10.0_3n/a1.10.0_31.10.0_3
FreeBSD:15:latest1.10.0_31.10.0_3n/a1.10.0_31.10.0_3
FreeBSD:15:quarterly1.10.0_31.10.0_3n/an/an/a
FreeBSD:16:latest1.10.0_31.10.0_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
scandir-1.10.0.tar.gz333114d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.