$npx skillfedfor your agent

py-walk

Filter filesystem paths based on gitignore-like patterns

With conditionsPyPI UtilitiesReleased Oct 20241.4M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_walk-0.3.3-py3-none-any.whl
v0.3.3 · released 2024-10-26 · Python >=3.7 · 1 runtime deps: sly

Yes, if you need gitignore-compatible pattern matching and can tolerate dormant maintenance. The library is lightweight, has no known vulnerabilities, and solves a specific problem well. However, if you expect active bug fixes or compatibility updates as Git evolves, consider whether the dormant status (657 days since last release) aligns with your project's needs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (sly).
  • Maintenance is dormant—last commit was 2024-10-26 and no release in 657 days—but the repository remains active and unarchived.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive); you can use, modify, and distribute this package freely with minimal restrictions.

last release 2024-10-26 (657 days) · last repo commit 2024-10-26 · 8 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,410,155 downloads/mo, #3,941 on PyPI

Verify before relying

pip install py-walk

from py_walk import walk

for path in walk('some/directory', ignore=['*.pyc', '__pycache__/']):
    print(path)
  • Whether the 500+ tests mentioned in the description are still passing against current Git versions.
  • Whether dormant status means bug fixes or pattern compatibility updates are unlikely going forward.
Same gist for agents: .md · .json

What it is and what it does

py-walk is a Python library that interprets gitignore-style patterns to filter filesystem paths. It provides two main workflows: walking a directory tree and returning only paths that match or don't match a set of patterns, or creating a parser object to test individual paths against patterns on demand. The library aims for Git wildmatch compatibility and includes tests derived from Git's own test suite.

You pass patterns as text, a list, or a .gitignore file, optionally specifying a base directory. The walk function returns a generator of Path objects; you can also filter by file vs. directory mode, or combine ignore and match rules (with ignore taking precedence). It depends only on sly for parsing and supports Python 3.7 through 3.12.

Use it for

  • Build tools or linters that need to offer users a .gitignore-style configuration file to exclude or include paths.
  • Interactive scripts that need to quickly retrieve sets of files matching complex constraints without reimplementing gitignore logic.
  • Test runners or deployment tools that must respect .gitignore patterns to avoid processing excluded directories.
  • File synchronization or backup utilities that want to honor gitignore rules without calling out to Git itself.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need gitignore-compatible pattern matching and can tolerate dormant maintenance.

The library is lightweight, has no known vulnerabilities, and solves a specific problem well. However, if you expect active bug fixes or compatibility updates as Git evolves, consider whether the dormant status (657 days since last release) aligns with your project's needs.

Install

py-walk on PyPI

Before you install

Low install friction with a single runtime dependency (sly). Maintenance is dormant—last commit was 2024-10-26 and no release in 657 days—but the repository remains active and unarchived.

License in practice

MIT license (permissive); you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install py-walk

from py_walk import walk

for path in walk('some/directory', ignore=['*.pyc', '__pycache__/']):
    print(path)

Verify before relying

  • Whether the 500+ tests mentioned in the description are still passing against current Git versions.
  • Whether dormant status means bug fixes or pattern compatibility updates are unlikely going forward.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
sly
MaintenanceDormant 657 days since the last release
Last repo commit
First released
Downloads1,410,155 / month, #3,941 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: py_walk-0.3.3-py3-none-any.whl

Tags

Capabilities
gitignore pattern matchingfilesystem path filteringdirectory walk with patternsgitignore-compatible rulespath matching library
Topics
path-filteringgitignore-compatible

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “filesystem path filtering”

  • py-walkFilters filesystem paths using gitignore-style pattern matching,…
  • pathtoolsProvides pattern matching and utility functions for working with file…
  • scantreeRecursively scans directories with flexible filtering, wildcard…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also gitmatch · trailrunner · pathspec · igittigitt · gitignorefile · ignore-python · rignore · gitignore-parser · ignore · gitignorant