Skip to main content

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))

Metadata

Release files for gitfiles 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitfiles 1.0.0
File Size Uploaded
gitfiles-1.0.0.tar.gz 3.2 kB Details

Release files / gitfiles-1.0.0.tar.gz

Download URL gitfiles-1.0.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
40cbb23d729ebf9a2d60537ef99d6174f613b2bcc8cf7d1f5d5df3284479eeb7
BLAKE2b-256 checksum
How to use checksums
3d727f78dbdb4ae9bc28d15ee42a11ecbe4b8b988b848e2a6f1a58ef9c552fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page