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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gitignorant-0.3.0rc0.tar.gz.

File metadata

  • Download URL: gitignorant-0.3.0rc0.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.0rc0.tar.gz
Algorithm Hash digest
SHA256 d9475b4bb3593a1c7b19a1ccdd882b28395eaa443a65a3676200fed86e4e5ac6
MD5 3900d615a1a272661018266f97be7129
BLAKE2b-256 2ba1f33ab6526d3b23219cbcabd6d022a829009fa0f5d0fbe23f68e7d34c2b24

See more details on using hashes here.

File details

Details for the file gitignorant-0.3.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitignorant-0.3.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 c71bce4bd6e77337b2fbb82244e65d575abc471a0702fbbbeed0612c88dfdc30
MD5 be3e4e3e6b5c790e8665e1443b0de038
BLAKE2b-256 d7e2bbecb4ae64820c05a0b03241e23af217e7dd52712ce9fd387df2b7cb1d16

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