scandir, a better directory iterator and faster os.walk()
Project description
scandir() is a generator version of os.listdir() that returns an iterator over files in a directory, and also exposes the extra information most OSes 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scandir-1.0.zip.
File metadata
- Download URL: scandir-1.0.zip
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24153e3f20f073f051ba07f1b733e683430ba6485a163f49efab5e0928737e88
|
|
| MD5 |
4e44ef1c79fac0ca11721f72d6df1a60
|
|
| BLAKE2b-256 |
d80c149d490018ec0132e470613ef0bd4340d3d610d97a04d468660e2669c718
|
File details
Details for the file scandir-1.0.tar.gz.
File metadata
- Download URL: scandir-1.0.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3757b6872e6ab57844605eff3f1cbbf6e08a4acf5c17e7794ef715f04a4f4d4
|
|
| MD5 |
0dde467c89434d11341b7502c31768ed
|
|
| BLAKE2b-256 |
9c9a6c60c4e1afb37f8e32c40eb95d036109b4e61aea60374f7f176f907efaad
|
File details
Details for the file scandir-1.0.win-amd64-py2.7.exe.
File metadata
- Download URL: scandir-1.0.win-amd64-py2.7.exe
- Upload date:
- Size: 240.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbc94bd18fd69ae05770e0bd55d2e4170985da99dd80fc1eb961ab09e9301ead
|
|
| MD5 |
ee4caadc93e4c37d8f5a8a3adaa8aaf0
|
|
| BLAKE2b-256 |
d5bd75ce0af85b5b7062bfadc4d2f1b968f6d991ad56608af0a684761f9e074e
|