python2-scandir-1.10.0-1.1.x86_64.rpm


Advertisement

Description

python2-scandir - Scandir, a better directory iterator and faster oswalk

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python2-scandir-1.10.0-1.1.x86_64.rpm
Package name python2-scandir
Package version 1.10.0
Package release 1.1
Package architecture x86_64
Package type rpm
Category Development/Languages/Python
Homepage https://github.com/benhoyt/scandir
License BSD-3-Clause
Maintainer -
Download size 32.35 KB
Installed size 88.01 KB
``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).

Alternatives

Package Version Architecture Repository
python2-scandir-1.10.0-1.1.i586.rpm 1.10.0 i586 openSUSE Oss
python2-scandir - - -

Requires

Name Value
libc.so.6(GLIBC_2.4)(64bit) -
libpthread.so.0()(64bit) -
libpthread.so.0(GLIBC_2.2.5)(64bit) -
libpython2.7.so.1.0()(64bit) -
python(abi) = 2.7

Provides

Name Value
python-scandir = 1.10.0-1.1
python2-scandir = 1.10.0-1.1
python2-scandir(x86-64) = 1.10.0-1.1

Obsoletes

Name Value
python-scandir < 1.10.0-1.1

Download

Type URL
Mirror widehat.opensuse.org
Binary Package python2-scandir-1.10.0-1.1.x86_64.rpm
Source Package python-scandir-1.10.0-1.1.src.rpm

Install Howto

Install python2-scandir rpm package:

# zypper install python2-scandir

Files

Path
/usr/lib64/python2.7/site-packages/_scandir.so
/usr/lib64/python2.7/site-packages/scandir.py
/usr/lib64/python2.7/site-packages/scandir.pyc
/usr/lib64/python2.7/site-packages/scandir.pyo
/usr/lib64/python2.7/site-packages/scandir-1.10.0-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/scandir-1.10.0-py2.7.egg-info/SOURCES.txt
/usr/lib64/python2.7/site-packages/scandir-1.10.0-py2.7.egg-info/dependency_links.txt
/usr/lib64/python2.7/site-packages/scandir-1.10.0-py2.7.egg-info/top_level.txt
/usr/share/doc/packages/python2-scandir/README.rst
/usr/share/licenses/python2-scandir/LICENSE.txt

Changelog

2019-03-11 - Tomá? Chvátal <tchvatal@suse.com>
- Update to 1.10.0:
* remove support for pyton 2.6 and <3.3
2019-03-02 - John Vandenberg <jayvdb@gmail.com>
- Allow building on Python 3.5+, as it is useful for testing and it
should exist for when packages list it as a runtime dependency, and
it will add backports of enhancements to scandir since Python 3.5.
2018-11-01 - Tomá? Chvátal <tchvatal@suse.com>
- Update to 1.9.0:
* Mark C extension as optional for things like Jython. See #105.
* Fix build on Python 2.7 (#107). Fix dirent struct alignment on OpenBSD (#109).
- Do not build on python 3.5+ as it is part of the base
2018-04-23 - arun@gmx.de
- specfile:
* update copyright year
- update to version 1.7:
* Expose scandir.DirEntry (#93).
2017-11-03 - arun@gmx.de
- update to version 1.6:
* Fixed #11: inode should be unsigned
* Fixed unicode handling on PyPy due to Py_FileSystemDefaultEncoding
always being NULL there
* Improve tests on PyPy and Windows
* Add Travis and Appveyor CI testing
2017-07-15 - aloisio@gmx.com
- Converted to singlespec
2017-03-30 - toddrme2178@gmail.com
- Initial version

See Also

Package Description
python2-schedule-0.6.0-1.1.noarch.rpm Job scheduling module for Python
python2-schema-0.7.0-1.1.noarch.rpm Data validation library
python2-scikit-dsp-comm-0.0.5-1.2.noarch.rpm DSP and Comm package for Python
python2-scikit-image-0.14.2-1.2.i586.rpm Collection of algorithms for image processing in Python
python2-scikit-image-0.14.2-1.2.x86_64.rpm Collection of algorithms for image processing in Python
python2-scikit-learn-0.20.2-1.1.i586.rpm Python modules for machine learning and data mining
python2-scikit-learn-0.20.2-1.1.x86_64.rpm Python modules for machine learning and data mining
python2-scikit-sparse-0.4.4-1.3.x86_64.rpm Scikits sparse matrix package
python2-scikit-umfpack-0.3.2-1.3.i586.rpm Python interface to UMFPACK sparse direct solver
python2-scikit-umfpack-0.3.2-1.3.x86_64.rpm Python interface to UMFPACK sparse direct solver
python2-scikits.example-0.1-1.2.noarch.rpm Scikits example and base package
python2-scipy-1.2.1-2.1.i586.rpm Scientific Tools for Python
python2-scipy-1.2.1-2.1.x86_64.rpm Scientific Tools for Python
python2-scipy-gnu-hpc-1.2.1-2.1.x86_64.rpm Dependency package for python2-scipy_1_2_1-gnu-hpc
python2-scipy_1_2_1-gnu-hpc-1.2.1-2.1.x86_64.rpm Scientific Tools for Python
Advertisement
Advertisement