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.6 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.1.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

gitignorant-0.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file gitignorant-0.1.2.tar.gz.

File metadata

  • Download URL: gitignorant-0.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gitignorant-0.1.2.tar.gz
Algorithm Hash digest
SHA256 43efc3433f46a7b3279b6bc2476e6b54a4c29343d36b7551409f9261092fcd4e
MD5 d6e1077b4a8a6573e9303ee5f70241cd
BLAKE2b-256 27a4f92c9dc1ce280e71294a799f3279e08808b0b6a09eccedcb32aaac8fd30b

See more details on using hashes here.

File details

Details for the file gitignorant-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gitignorant-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gitignorant-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 260854a03df862a1484001d413bfaa424618233d7cd129bf5e4ba7145c7f845d
MD5 28eec20eb230d7a9cd8f99246fa5dd72
BLAKE2b-256 728e1cbb1b59d8e51252b7ad531a6efccde9850c0735f5952d1f2b163c8de953

See more details on using hashes here.

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