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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitignorant-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.tar.gz
Algorithm Hash digest
SHA256 8e37932fff3a55da6b484706bdd2be14568b667e4300db538ca773cb11bd3e14
MD5 9a72b3db82901e3053a7739e16b53665
BLAKE2b-256 8b4f9355bf2d630919f27174ac920d35856063d35084f27dc67646325626cfe8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitignorant-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39a950cde46de1d996b875949ffbc61eda104ef0230fed17d230d0306922adf3
MD5 eecb2f3e4409bc0031065172f98ad094
BLAKE2b-256 8d6b924c19f528780e54a8aeb98e646110614911edfce7c5cf785a5134bd1148

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