findfmt Documentation

findfmt Logo

CI Status CodeQL Analysis Documentation Status pre-commit.ci status Coverage OpenSSF Best Practices

PyPI Version Python Versions PyPI Wheel GHCR Container License: MIT

uv Ruff Type-checked: ty Docstring Coverage: 100% Conventional Commits Accessibility WCAG 2.1 AA

findfmt is a high-performance, .gitignore-aware file discovery and classification suite. It locates files by content format, shebang, and MIME tag rather than relying strictly on file extensions.

1. Core Capabilities

  • Intelligent Classification: Powered by the identify engine and content heuristics to identify file types (e.g. Python, Shell, YAML, JSON, Executable) even when filenames lack extensions.

  • Git-Aware Traversal: Automatically prunes directories and files matched by .gitignore and .git/info/exclude rules early in traversal.

  • Deterministic Output: Always produces clean, relative, alphabetically sorted file paths ready for Unix pipelines and xargs.

  • Modern Python Architecture: Built with a strict uv-first methodology, 100% test coverage, and strict static type checking.

API Documentation

Quality & Architecture

Community & Governance


2. Community & Feedback