Skip to main content

shortwalk

os.walk that can go no deeper than you want it to, and can jump over obstacles.

Install

pip install shortwalk

Use

from shortwalk import walk

for root, dirs, files in walk(path, maxdepth=2, skip=['.git', '*.egg-info']):
    for file in files:
        do_stuff_with(file)

Metadata

Release files for shortwalk 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shortwalk 0.0.3
File Size Uploaded Provenance
shortwalk-0.0.3.tar.gz 3.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for shortwalk 0.0.3
File Interpreter ABI Platform
shortwalk-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / shortwalk-0.0.3.tar.gz

Download URL shortwalk-0.0.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
92a3a2a2f720869222836ff5bc26ec63a6fb39a9fa67ce3922acf6f24bd54c33
BLAKE2b-256 checksum
How to use checksums
6b212e9352373c320e40615d98e6590bd509ba07712275bd59258b26055338c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / shortwalk-0.0.3-py3-none-any.whl

Download URL shortwalk-0.0.3-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85d0594202121c36976f6e7fbc77e6bd9d26159aac36c73f1c35c0b6a53c7465
BLAKE2b-256 checksum
How to use checksums
0fa1e0f151b2d1e57068040dec12f2113081267252f1558862489575e1bc1244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for shortwalk 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page