{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/4"}],"enrichment":{"capability":"Parses .gitignore files and matches file paths against the parsed rules using Git-compliant semantics.","skillfed_tags":["git-integration","file-filtering"],"use_cases":["Build tools or deployment scripts that need to exclude files matching .gitignore patterns","Linters or code analysis tools that should skip ignored files","File synchronization or backup utilities that respect .gitignore semantics","Testing frameworks that filter test files based on .gitignore rules"],"what_it_does":"Gitignorant is a Python library that reads and parses .gitignore files, then matches file paths against the rules using the same semantics Git uses (last matching rule wins). It requires Python 3.7 or newer, includes full type hints, and has no runtime dependencies. The library handles single .gitignore files directly; hierarchical .gitignore trees (where different directories have their own .gitignore files) are not built in but can be implemented by calling code.\n\nYou would use this when you need to programmatically determine whether a file should be ignored according to .gitignore rules\u2014for example, in build tools, linters, or file synchronization utilities that need to respect the same ignore patterns as Git itself.","worth_installing":"Yes, if you need to match files against .gitignore rules in Python code. The library is lightweight, has no dependencies, and carries a permissive license. Maintenance is dormant but the code is stable and unarchived; use it for straightforward single-file gitignore matching, but be aware that hierarchical .gitignore support requires custom integration."},"id":"gitignorant","links":{"html":"https://skillfed.io/packages/gitignorant","md":"https://skillfed.io/packages/gitignorant.md","pypi":"https://pypi.org/project/gitignorant/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-11-01","license_spdx":null,"license_treatment":"permissive","name":"gitignorant","python_support":"supports_current","summary":"A parser for gitignore files"},"popularity":{"monthly_downloads":143734,"position":11167,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
