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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitignorant-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for gitignorant-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7eca71cbd4095db62c44930b9c132399a63d0724d5a688ced31d9c03e915b25b
MD5 33c59563c5e6071990b4a4fe3dac794d
BLAKE2b-256 41d7e87eea7afbf60afc26484d3bdf647919f5f34a7665a59f56896e1089372a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitignorant-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for gitignorant-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98168f39e52ff5bc475411dc16b67d1470b81ffe318f2426d8d48f743e5806b4
MD5 0a2debf151268ce85c38e9ae8f438a30
BLAKE2b-256 34fc9b75f0e575dd9c28f864b62ac4328ccb1b645bd1e18343f4e92e356f7556

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