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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitignorant-0.3.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gitignorant-0.3.1.tar.gz
Algorithm Hash digest
SHA256 eb51b3421761e41f594758ef1f93aa438f94856da8beea44ccd043f9c2373442
MD5 473b5fb0e6e97297cf41be11cd5e7de4
BLAKE2b-256 b03ec789602feb9a5edf75b296305fd7b25d2b6e44f3abba565374683c8cf0ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitignorant-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gitignorant-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b96ffe90eaf4fa2e1d68ad4e3f807213c8ec1e54a943a9e7105a9f7aaa4232
MD5 83ab08566cf7cc80111a4683d95fa167
BLAKE2b-256 5be08594e6d99c89c40010d572687d709d345061ff66583d51d443d4a74b472f

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