A parser for gitignore files
Project description
Gitignorant
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
Features
- Parses .gitignore (and .gitignore style) files
- Matches against list of parsed rules with the same semantics as Git ("last rule wins")
Unfeatures
- Trees of .gitignore files are not directly supported, but can be supported by client code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitignorant-0.4.0.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file gitignorant-0.4.0.tar.gz
.
File metadata
- Download URL: gitignorant-0.4.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cdf3f91d3c99929068cb3e84d64c1df2f06473252b5de6927314e8a7fcffc9ca
|
|
MD5 |
6bbb39c4a8bd05306c378ed7809302f5
|
|
BLAKE2b-256 |
d5c64795d97963f9a23b3eb3567ed5eb91a49691a9d20913336caf3fde2e7fd9
|
Provenance
The following attestation bundles were made for gitignorant-0.4.0.tar.gz
:
Publisher:
ci.yml
on valohai/gitignorant
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
gitignorant-0.4.0.tar.gz
-
Subject digest:
cdf3f91d3c99929068cb3e84d64c1df2f06473252b5de6927314e8a7fcffc9ca
- Sigstore transparency entry: 145810301
- Sigstore integration time:
-
Permalink:
valohai/gitignorant@603b3b748e88149f413bde52df78a0dcc296d816
-
Branch / Tag:
refs/tags/v0.4.0
- Owner: https://github.com/valohai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
ci.yml@603b3b748e88149f413bde52df78a0dcc296d816
-
Trigger Event:
push
-
Statement type:
File details
Details for the file gitignorant-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: gitignorant-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c237cd7525aa692014571a9be345173f2330545ce28790c2dc870dc2d79c96cc
|
|
MD5 |
e5dc34b9c9fb4974abb6bb67cd63138c
|
|
BLAKE2b-256 |
258ae4bffa10a5ee312bbcbe43491ea6f72ab1389832f6cf867291a0bdbb0cdb
|
Provenance
The following attestation bundles were made for gitignorant-0.4.0-py3-none-any.whl
:
Publisher:
ci.yml
on valohai/gitignorant
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
gitignorant-0.4.0-py3-none-any.whl
-
Subject digest:
c237cd7525aa692014571a9be345173f2330545ce28790c2dc870dc2d79c96cc
- Sigstore transparency entry: 145810307
- Sigstore integration time:
-
Permalink:
valohai/gitignorant@603b3b748e88149f413bde52df78a0dcc296d816
-
Branch / Tag:
refs/tags/v0.4.0
- Owner: https://github.com/valohai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
ci.yml@603b3b748e88149f413bde52df78a0dcc296d816
-
Trigger Event:
push
-
Statement type: