$npx skillfedfor your agent

lcov-cobertura

LCOV to Cobertura XML converter

With conditionsPyPI TestingReleased Feb 20251.1M downloads / moApache License, Version 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lcov_cobertura-2.1.1-py3-none-any.whl
v2.1.1 · released 2025-02-22 · Python >=3.8 · 1 runtime deps: importlib-metadata

Yes, if you use lcov-based coverage tools and need to feed results into a system that expects Cobertura XML. The package is lightweight, stable, and has no security vulnerabilities. The 538-day gap since last release is not a concern given the narrow, stable scope of format conversion.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Optional C++ demangling requires the c++filt system utility.
  • Low install friction with a single lightweight runtime dependency (importlib-metadata).

License · maintenance · safety

Apache License, Version 2.0 (permissive) — Licensed under Apache License, Version 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2025-02-22 (538 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,139,728 downloads/mo, #4,308 on PyPI

Verify before relying

pip install lcov_cobertura

from lcov_cobertura import LcovCobertura

LCOV_INPUT = 'SF:foo/file.ext\nDA:1,1\nDA:2,0\nend_of_record\n'
converter = LcovCobertura(LCOV_INPUT)
cobertura_xml = converter.convert()
print(cobertura_xml)
  • Actual maintenance activity and community engagement beyond the release date
  • Performance characteristics with large lcov files
  • Completeness of coverage metric support beyond documented metrics
Same gist for agents: .md · .json

What it is and what it does

lcov_cobertura is a format converter that reads code coverage data in lcov format and transforms it into Cobertura XML format. It preserves coverage metrics at multiple levels: package/folder, class/file, function, and individual line and branch coverage.

You can use it as a command-line tool to batch-convert coverage files, or import it as a Python module to integrate coverage transformation into your build pipeline. It supports filtering packages by regex, specifying custom source directories, and optionally demangling C++ function names. The package supports Python 3.8+.

Use it for

  • Convert lcov reports to Cobertura XML for CI server integration and build stability tracking
  • Aggregate coverage metrics from multiple test runs into a single standardized format
  • Filter and exclude test packages from coverage reports before submitting to CI systems
  • Demangle C++ function names in coverage reports for more readable dashboards
  • Integrate coverage conversion into build scripts without adding heavy external dependencies

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use lcov-based coverage tools and need to feed results into a system that expects Cobertura XML.

The package is lightweight, stable, and has no security vulnerabilities. The 538-day gap since last release is not a concern given the narrow, stable scope of format conversion.

Install

lcov-cobertura on PyPI

Before you install

Low install friction with a single lightweight runtime dependency (importlib-metadata). Package is aging (538 days since last release) but marked Production/Stable with latest release on 2025-02-22.

Requires Python 3.8 or later. Optional C++ demangling requires the c++filt system utility.

License in practice

Licensed under Apache License, Version 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install lcov_cobertura

from lcov_cobertura import LcovCobertura

LCOV_INPUT = 'SF:foo/file.ext\nDA:1,1\nDA:2,0\nend_of_record\n'
converter = LcovCobertura(LCOV_INPUT)
cobertura_xml = converter.convert()
print(cobertura_xml)

Verify before relying

  • Actual maintenance activity and community engagement beyond the release date
  • Performance characteristics with large lcov files
  • Completeness of coverage metric support beyond documented metrics

Package facts

LicenseApache License, Version 2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
importlib-metadata
MaintenanceAging 538 days since the last release
First released
Downloads1,139,728 / month, #4,308 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Evidence: lcov_cobertura-2.1.1-py3-none-any.whl

Tags

Capabilities
lcov to cobertura convertercode coverage format conversionlcov xml convertercoverage report aggregationcobertura xml generatorcoverage metrics transformationcoverage integration
Topics
coverage-reportingci-integrationbuild-tools
PyPI keywords
lcovcobertura

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “lcov to cobertura converter”

  • lcov-coberturaConverts code coverage reports from lcov format to Cobertura XML…
  • gcovrGcovr processes GCC code coverage data and generates human-readable…
  • pyucisPyUCIS provides a Python API and CLI tools for reading, writing,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also gcovr · pycobertura · fastcov · pyucis · nosexcover · junit2html · diff-cover · unittest-xml-reporting · urdf-usd-converter · junit-xml