Skip to main content

Load, filter and match .gitingore files

Project description

gitfiles

PyPI Python Downloads Status Code style: black Issues

Load, filter and match .gitingore files.

Installation

Install the module with pip:

pip3 install gitfiles

Update existing installation: pip3 install gitfiles --upgrade

Examples

import gitfiles

print(gitfiles.match('file.so'))
import gitfiles

files = [
    '.venv',
    '.env',
    'app.py'
]
print(gitfiles.filter(files))

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

gitfiles-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file gitfiles-1.0.0.tar.gz.

File metadata

  • Download URL: gitfiles-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for gitfiles-1.0.0.tar.gz
Algorithm Hash digest
SHA256 40cbb23d729ebf9a2d60537ef99d6174f613b2bcc8cf7d1f5d5df3284479eeb7
MD5 2adbb48e1100ef03f75f70b412330865
BLAKE2b-256 3d727f78dbdb4ae9bc28d15ee42a11ecbe4b8b988b848e2a6f1a58ef9c552fa3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page