Registry / testing / slipcover

slipcover

JSON →
library1.0.18pypypi✓ verified 79d ago

Near zero-overhead Python code coverage tool that uses bytecode instrumentation to measure line and branch coverage with minimal performance impact. Current version 1.0.18, supports Python 3.8 to 3.14, maintained actively on GitHub.

pip install slipcover
INSTALL
IMPORT
SIG · SLIPCOVER
S
slipcover
testingpythonv1.0.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Slipcover
from slipcover import Slipcover
from slipcover import SlipCover

Basic usage: start/stop coverage and print summary

from slipcover import SlipCover sc = SlipCover() sc.start() # run code to be measured sc.stop() print(sc.report())
slipcover --version
Debug
Known issues
breakingPython 3.8 is required minimum, Python 3.15+ is not supported (requires_python: <3.15,>=3.8).
fix
Use Python 3.8 to 3.14.
affects: <3.8 or >=3.15
gotchaSlipCover uses a C extension (`probe.abi3.so`). On macOS >14.2, wheels may cause dlopen errors like 'bad bind opcode 0x00'. Upgrade to >=1.0.12.
fix
pip install --upgrade slipcover>=1.0.12
affects: <1.0.12 on macOS >14.2
gotchaThe `--omit` flag does not work with `--source` prior to v1.0.18. Combining them may omit nothing.
fix
Upgrade to >=1.0.18 or use separate `--source` and `--omit` invocations.
affects: <1.0.18
Upgrade
Version history
1.0.18latest on PyPI · released Mar 17, 2026
Audit
Dependencies
coverageoptionalSlipCover's output XML and JSON are compatible with coverage.py's report formats
pytest-xdistoptionalSlipCover supports parallel test execution with pytest-xdist since v1.0.18
Agent activity
2 hits · last 30 days
node
2
Resources
slipcover — pip install slipcover · libregistry