llvm-testing-tools
LLVM Testing Tools
What it is and what it does
llvm-testing-tools packages LLVM's FileCheck utility and split-file tool as a PyPI-installable Python package. These are low-level testing utilities commonly used in LLVM and compiler infrastructure projects to validate test output and manage test files. The package aims to let runtime builds and other projects use these tools without needing to bootstrap a full LLVM build system.
The package has no runtime dependencies, making it lightweight to install. It supports Python 3.8 and later. With 113886 monthly downloads and a position in the top 15000 packages, it appears to serve a real need in the LLVM ecosystem and related projects that depend on these testing tools.
Use it for:
- Validate compiler or interpreter test output using FileCheck pattern matching in CI/CD pipelines.
- Split and organize test files in LLVM-based projects without requiring a full LLVM build.
- Support testing infrastructure for language runtimes that depend on LLVM testing conventions.
- Automate test file management in projects that use LLVM's testing patterns but not the full toolchain.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides LLVM testing utilities like FileCheck and split-file as standalone Python tools, enabling runtime builds to access these testing features without requiring a full LLVM bootstrap build.
Yes, if you need FileCheck or split-file for testing. The package has low install friction, no dependencies, active maintenance, and serves a clear purpose in the LLVM ecosystem. The only caveat is that license treatment is marked unclear—review the Apache-2.0 WITH LLVM-exception terms for your use case before committing to it in a restricted context.
Install
llvm-testing-tools on PyPI
pip
pip install llvm-testing-toolsuv
uv add llvm-testing-toolspoetry
poetry add llvm-testing-toolsInstalling llvm-testing-tools
Before you install
Low install friction with no runtime dependencies. Active maintenance status and recent release. Requires Python 3.8 or later.
License in practice
Licensed under Apache-2.0 WITH LLVM-exception, a permissive license with LLVM-specific exception terms. License treatment is marked unclear in the metadata, so you may want to review the actual license text before use in proprietary or restricted contexts.
Quickstart
pip install llvm-testing-tools==23.0.0
from llvm_testing_tools import FileCheck
# Use FileCheck for pattern matching in test output
Requires Python 3.8 or later.
Verify before relying
- Whether FileCheck and split-file are exposed as importable modules or only as command-line entry points.
- What specific testing workflows or LLVM runtime builds this package is designed to support.
- Whether the package includes documentation or examples for typical usage patterns.
Package facts
| License | Apache-2.0 WITH LLVM-exception (unclear) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 140 days since the last release |
| First released | |
| Downloads | 113,886/month — #12,322 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llvm_testing_tools-23.0.0-py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
filecheckfilecheck is a Python implementation of LLVM's…
permissive · top 15,000 on PyPI
litlit is a portable test runner for executing…
permissive · top 5,000 on PyPI
clang-formatPackages the clang-format code formatter as a…
permissive · top 5,000 on PyPI
clang-tidyPackages the clang-tidy C++ linter and related…
permissive · top 15,000 on PyPI
llvmlitellvmlite provides a lightweight Python binding…
permissive · top 1,000 on PyPI
clangProvides Python bindings to libclang, allowing…
permissive · top 5,000 on PyPI
checkmk-dev-toolsProvides CLI tools for Checkmk developers to…
unclear · top 15,000 on PyPI
clangd-tidyclangd-tidy wraps clangd to provide faster…
permissive · top 15,000 on PyPI
puccinialinInstalls Rust and Cargo into a temporary cache…
permissive · top 5,000 on PyPI