gcov-parse
pip install gcovparse
from gcovparse import gcovparse
report = gcovparse("<gcov raw-file-chunk>")
Example Report
[
{
"name": "file/name.c",
"test": "Test 1",
"lines": [
{
"line": 256,
"hit": 10
}
]
}
]