Gitignorant is (aspires to be)
- a spec-compliant .gitignore file parser and matcher
- for Python 3.7 and newer
- with full type hinting and test coverage
- and nothing you don't need
- Parses .gitignore (and .gitignore style) files
- Matches against list of parsed rules with the same semantics as Git ("last rule wins")
- Trees of .gitignore files are not directly supported, but can be supported by client code.