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 Provenance Actions
gitfiles-1.0.0.tar.gz 3.2 kB Without provenance Details for gitfiles-1.0.0.tar.gz

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

Security for gitfiles 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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