
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
This is a Python library that binds to the Rust crate ignore.
ignore's Python bindings can be used for building a fast recursive
directory iterator that respects various filters such as globs, file
types and .gitignore
files.
This example shows the most basic usage of this package. This code
will recursively traverse the current directory while automatically
filtering out files and directories according to ignore globs found in
files like .ignore
and .gitignore
:
from ignore import Walk
for entry in Walk("./"):
print(entry.path())
By default, the recursive directory iterator will ignore hidden files and directories. This can be disabled by building the iterator with WalkBuilder
:
from ignore import WalkBuilder
for entry in WalkBuilder("./").hidden(False).build():
print(entry.path())
Refer to the API documentation for more information.
pip install ignore-python
# or
python -m pip install ignore-python
This assumes that you have rust and cargo installed. I use the workflow recommended by pyo3 and maturin.
FAQs
Rust ignore crate Python bindings
We found that ignore-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.