Upstream software project

python-scandir

Scandir, a better directory iterator and faster oswalk

About python-scandir

Scandir, a better directory iterator and faster oswalk

This project links 2 native package records across 1 recorded operating-system release. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

python-scandir repository preview from GitHub
Project repository preview, supplied by GitHub. Open source repository
openSUSE Leap 15.6: 2 package records. Catalog coverage diagram, not an application screenshot.python-scandir: recorded package coverageopenSUSE Leap 15.62 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
python-scandir
Publisher
Not authoritatively mapped
Native package records
2
Operating systems
opensuse-leap-15-6
License expression
BSD-3-Clause
Source repository
Open source repository

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

``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. ``scandir`` has been included in the Python 3.5 standard library as ``os.scandir()``, and the related performance improvements to ``os.walk()`` have also been included. So if you're lucky enough to be using Python 3.5 (release date September 13, 2015) you get the benefit immediately, otherwise just `download this module from PyPI <https://pypi.python.org/pypi/scandir>`_, install it with ``pip install scandir``, and then do something like this in your code:: try: from os import scandir, walk except ImportError: from scandir import scandir, walk `PEP 471 <https://www.python.org/dev/peps/pep-0471/>`_, which is the PEP that proposes including ``scandir`` in the Python standard library, was `accepted <https://mail.python.org/pipermail/python-dev/2014-July/135561.html>`_ in July 2014 by Victor Stinner, the BDFL-delegate for the PEP. This ``scandir`` module is intended to work on Python 2.6+ and Python 3.2+ (and it has been tested on those versions).

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package python311-scandir

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Scandir, a better directory iterator and faster oswalk

    1.10.0-150400.10.3.1: aarch64 ppc64le s390x x86_64

    Source: python-scandir

  2. Package python3-scandir

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Scandir, a better directory iterator and faster oswalk

    1.10.0-3.16.1: aarch64 ppc64le s390x x86_64

    Source: python-scandir

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.