Skip to main content

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


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)

Uploaded Source

Built Distribution

gitignorant-0.4.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for gitignorant-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cdf3f91d3c99929068cb3e84d64c1df2f06473252b5de6927314e8a7fcffc9ca
MD5 6bbb39c4a8bd05306c378ed7809302f5
BLAKE2b-256 d5c64795d97963f9a23b3eb3567ed5eb91a49691a9d20913336caf3fde2e7fd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitignorant-0.4.0.tar.gz:

Publisher: ci.yml on valohai/gitignorant

Attestations:

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

Hashes for gitignorant-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c237cd7525aa692014571a9be345173f2330545ce28790c2dc870dc2d79c96cc
MD5 e5dc34b9c9fb4974abb6bb67cd63138c
BLAKE2b-256 258ae4bffa10a5ee312bbcbe43491ea6f72ab1389832f6cf867291a0bdbb0cdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitignorant-0.4.0-py3-none-any.whl:

Publisher: ci.yml on valohai/gitignorant

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page