bitranox/igittigitt
31 stars · Last commit 2026-10-25
Git-compatible .gitignore parser and path filter for Python: library and streaming CLI, include/whitelist mode, shutil.copytree filter, memory-bounded for millions of paths. Ships as a Claude Code plugin too.
README preview
# igittigitt <!-- Badges --> [](https://github.com/bitranox/igittigitt/actions/workflows/default_cicd_public.yml) [](https://github.com/bitranox/igittigitt/actions/workflows/codeql.yml) [](LICENSE) [](https://codespaces.new/bitranox/igittigitt?quickstart=1) [](https://pypi.org/project/igittigitt/) [](https://pypi.org/project/igittigitt/) [](https://docs.astral.sh/ruff/) [](https://codecov.io/gh/bitranox/igittigitt) [](https://qlty.sh/gh/bitranox/projects/igittigitt) [](https://github.com/PyCQA/bandit) `igittigitt` is a spec-compliant `.gitignore` parser for Python - a library **and** a command-line tool. Point it at `.gitignore` rules (or pass rules as strings) and ask whether a path is ignored, or use it directly as the `ignore=` callback of `shutil.copytree`. ## Features