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

Uploaded Source

Built Distribution

gitignorant-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitignorant-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 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.0.tar.gz
Algorithm Hash digest
SHA256 466f1a8cd9d4b49f7b50023ca40bc941328ce755bcfd447c0ad8d44795fa8c78
MD5 c6e5bdd6d76814410d67e0fa1a001cba
BLAKE2b-256 2c101d8fa3c220ee66f1bdefdf548bd4146b14b839e1a31a3aa413b5bf212e2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitignorant-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43074186c6b5c96c789d3c4f0a00ce782f6ae2fe1c0e92c72f3b209080520044
MD5 cc7ac87536a7353b220d80317854697d
BLAKE2b-256 f6e8e29d3cc44df88c1bcf35567c9821c4c7a2e4424f095fa1b041730cbde43d

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