{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"},{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"},{"label":"Git","url":"https://skillfed.io/packages/category/software-development-version-control-git"}],"enrichment":{"capability":"Parses `.gitignore` files according to Git's specification and checks whether file paths match the ignore rules, with support for caching and custom ignore file sources.","skillfed_tags":["git-tooling","file-filtering"],"use_cases":["Filter files during directory copy operations to respect .gitignore rules without invoking git itself","Build tools or scripts that need to skip ignored files when scanning a project directory","Implement custom file-processing pipelines that must honor gitignore semantics","Test whether a file path would be ignored by Git without running git commands"],"what_it_does":"gitignorefile is a Python library that reads and interprets `.gitignore` files according to Git's specification. It provides functions to check whether individual file paths match ignore rules, either by parsing a single `.gitignore` file or by walking a directory tree to discover and apply all `.gitignore` and `.git/info/exclude` files in the hierarchy. The library also integrates with `shutil.copytree()` as an ignore callback and offers a caching layer to avoid re-parsing rules for repeated checks.\n\nThe package has no external runtime dependencies and supports Python 3.6 through 3.12. However, it is marked as abandoned\u2014the last commit was in May 2023 and no releases have occurred since September 2022, so it will not receive updates for new Git features or bug fixes.","worth_installing":"Yes, if you need lightweight gitignore parsing with no external dependencies and your use case does not require ongoing maintenance or support for new Git features. The library is stable and works on modern Python versions, but its abandoned status means no fixes or updates will be released. Suitable for stable, self-contained projects; avoid if you need active maintenance or expect gitignore spec changes to affect your workflow."},"id":"gitignorefile","links":{"html":"https://skillfed.io/packages/gitignorefile","md":"https://skillfed.io/packages/gitignorefile.md","pypi":"https://pypi.org/project/gitignorefile/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-09-04","license_spdx":null,"license_treatment":"permissive","name":"gitignorefile","python_support":"unspecified","summary":"A spec-compliant `.gitignore` parser for Python"},"popularity":{"monthly_downloads":105375,"position":12703,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
