{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"A spec-compliant .gitignore parser that matches git's algorithm exactly, available as both a library and CLI tool for checking whether paths are ignored or filtering file trees.","skillfed_tags":["gitignore","file-filtering","cli-tool"],"use_cases":["Copy a project directory while excluding all ignored files (e.g., build artifacts, node_modules) using shutil.copytree.","Check whether specific paths would be ignored by git without invoking the git binary.","Filter a stream of file paths (from find or similar) to keep only non-ignored files in a pipeline.","Build a whitelist of files to include in a distribution or archive, excluding everything else.","Implement .gitignore-aware file operations in Python tools without shelling out to git.","Validate or test .gitignore rules programmatically against a set of paths."],"what_it_does":"igittigitt is a Python library and command-line tool that parses .gitignore files and determines whether paths match the ignore rules. It reproduces git's matching algorithm exactly, including negations, per-directory precedence, anchors, and glob patterns (**, *, ?, character classes). The library ships with type hints and no runtime dependency on the git binary itself.\n\nYou can use it three ways: as a library to query whether a path is ignored, as a filter callback for shutil.copytree to copy directory trees while respecting .gitignore rules, or as a CLI tool that mirrors git check-ignore or acts as a Unix filter (reading paths from stdin and printing survivors). It also offers an IncludeParser mode that inverts the logic to whitelist files instead. Memory usage scales with the number of rules, not the number of files, making it suitable for large directory trees.","worth_installing":"Yes. Active, well-maintained library with no known vulnerabilities, low install friction, and permissive licensing. Solves a real problem (git-compatible ignore matching in pure Python) with a proven algorithm. Suitable for both library and CLI use. Install if you need to respect .gitignore rules in Python code or need a standalone CLI tool for filtering paths."},"id":"igittigitt","links":{"html":"https://skillfed.io/packages/igittigitt","md":"https://skillfed.io/packages/igittigitt.md","pypi":"https://pypi.org/project/igittigitt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-30","license_spdx":null,"license_treatment":"permissive","name":"igittigitt","python_support":"supports_current","summary":"A spec-compliant .gitignore parser and path filter, 100% git-compatible, with an include/whitelist mode and a streaming, memory-bounded CLI"},"popularity":{"monthly_downloads":134024,"position":11489,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.3"}
