skillfed

rignore

Python Bindings for the ignore crate

rignore Permissive license MIT Active v0.8.1 released

Install

rignore on PyPI

pip

pip install rignore

uv

uv add rignore

poetry

poetry add rignore

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 9 days since the last release
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: rignore-0.8.1-cp310-cp310-macosx_10_12_x86_64.whl; rignore-0.8.1-cp310-cp310-macosx_11_0_arm64.whl; rignore-0.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rignore-0.8.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; rignore-0.8.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; rignore-0.8.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; rignore-0.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rignore-0.8.1-cp310-cp310-manylinux_2_31_riscv64.whl; rignore-0.8.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; rignore-0.8.1-cp310-cp310-musllinux_1_2_aarch64.whl; rignore-0.8.1-cp310-cp310-musllinux_1_2_armv7l.whl; rignore-0.8.1-cp310-cp310-musllinux_1_2_i686.whl; rignore-0.8.1-cp310-cp310-musllinux_1_2_x86_64.whl; rignore-0.8.1-cp310-cp310-win32.whl; rignore-0.8.1-cp310-cp310-win_amd64.whl; rignore-0.8.1-cp311-cp311-macosx_10_12_x86_64.whl; rignore-0.8.1-cp311-cp311-macosx_11_0_arm64.whl; rignore-0.8.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rignore-0.8.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; rignore-0.8.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust

About rignore

from the package's own PyPI description — quoted content, verbatim

rignore 🚀🐍

rignore is a Python module that provides a high-performance, Rust-powered file system traversal functionality. It wraps the Rust ignore crate using PyO3, offering an efficient way to walk through directories while respecting various ignore rules.

✨ Features

  • 🚀 Fast directory traversal powered by Rust
  • 🙈 Respects .gitignore rules
  • 🛠️ Customizable ignore patterns
  • 💾 Efficient memory usage
  • 🐍 Easy-to-use Python API

📦 Installation

You can install rignore using pip:

pip install rignore

🚀 Usage

The main function provided by rignore is walk, which returns an iterator of file paths:

import rignore

for file_path in rignore.walk("/path/to/directory"):
    print(file_path)
🔧 Advanced Usage

The walk function accepts several optional parameters to customize its behavior:

```python rignore.walk( path, ignore_hidden=None, read_ignore_files=None, read_parents_ignores=None, read_git_ignore=None, read_global_git_ignore=None, read_git_exclude=None, require_git=None, additional_ignores=None, additional_ignore_paths=None, overrides=None, max_depth=None,...

Read as markdown · JSON record

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

rignore provides high-performance directory traversal with support for .gitignore rules and custom ignore patterns, powered by Rust bindings via PyO3.

Medium install friction due to compiled wheels across many platforms (CPython 3.10–3.11, multiple architectures). Active maintenance with a recent release (9 days old) and no runtime dependencies simplify deployment.

MIT permissive license allows commercial and private use with minimal restrictions; attribution required.

Usage

import rignore

for file_path in rignore.walk("/path/to/directory"):
    print(file_path)

Requires Python >=3.8; platform-specific wheels available for CPython 3.10–3.11 on Linux, macOS, Windows, and other architectures.

Verdict: rignore is a well-maintained, actively developed package offering Rust-backed performance for directory traversal with gitignore support. No known vulnerabilities, permissive MIT license, and zero runtime dependencies make it a low-friction addition; medium install friction is typical for compiled extensions and manageable across major platforms.

Needs verification

  • Whether PyPy wheels are actually built and available (classifier present but not evident in friction evidence)
  • Performance benchmarks vs. pure-Python alternatives to validate claimed speed advantage
  • Stability and API compatibility guarantees given the very recent first release (2024-07-16)
fast directory traversal pythongitignore pattern matchingrust-powered file walkingefficient directory iterationignore file handlingrecursive file listingperformance file system walk

Similar packages