# coverage-lcov
`coverage-lcov` is a simple CLI for converting `.coverage` files generated by [Coverage.py](https://github.com/nedbat/coveragepy) to the `LCOV` format.
## Credits
- This tools is based on code from [Coverage.py](https://github.com/nedbat/coveragepy/blob/master/coverage/report.py)
- This tool is forked from [coveragepy-lcov](https://github.com/chaychoong/coveragepy-lcov) by [Chay Choong](https://github.com/chaychoong) to add support for older python versions.
## Installation
Using pip:
```bash
pip install coverage-lcov
```
## Usage
```bash
# If the .coverage file is in your current working directory
coverage-lcov
# Point to a different .coverage file path
coverage-lcov --data_file_path example/.coverage
# Write the output to a different file path
coverage-lcov --output_file_path build/lcov.info
# Use relative paths in the LCOV output
coverage-lcov --relative_path
```
## Options
```text
Usage: coverage-lcov [OPTIONS]
Options:
--data_file_path TEXT Path to .coverage file
--output_file_path TEXT lcov.info output file path
--config_file TEXT Path to .coveragerc file
--relative_path Use relative path in LCOV output
--preview Preview LCOV output
--help Show this message and exit.
```
## Further reading
- [LCOV format](http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php)
- https://github.com/nedbat/coveragepy/issues/587
- https://github.com/chaychoong/coveragepy-lcov
Raw data
{
"_id": null,
"home_page": "https://github.com/TheCleric/coverage-lcov",
"name": "coverage-lcov",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6.3,<4.0.0",
"maintainer_email": "",
"keywords": "coverage",
"author": "Adam Weeden",
"author_email": "adamweeden@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d5/ed/36a8b5fcaca378e6139829ffd2438feff1bd725d34423495f2e7c9718baf/coverage-lcov-0.2.5.tar.gz",
"platform": null,
"description": "# coverage-lcov\n\n`coverage-lcov` is a simple CLI for converting `.coverage` files generated by [Coverage.py](https://github.com/nedbat/coveragepy) to the `LCOV` format.\n\n## Credits\n\n- This tools is based on code from [Coverage.py](https://github.com/nedbat/coveragepy/blob/master/coverage/report.py)\n- This tool is forked from [coveragepy-lcov](https://github.com/chaychoong/coveragepy-lcov) by [Chay Choong](https://github.com/chaychoong) to add support for older python versions.\n\n## Installation\n\nUsing pip:\n\n```bash\npip install coverage-lcov\n```\n\n## Usage\n\n```bash\n# If the .coverage file is in your current working directory\ncoverage-lcov\n\n# Point to a different .coverage file path\ncoverage-lcov --data_file_path example/.coverage\n\n# Write the output to a different file path\ncoverage-lcov --output_file_path build/lcov.info\n\n# Use relative paths in the LCOV output\ncoverage-lcov --relative_path\n```\n\n## Options\n\n```text\nUsage: coverage-lcov [OPTIONS]\n\nOptions:\n --data_file_path TEXT Path to .coverage file\n --output_file_path TEXT lcov.info output file path\n --config_file TEXT Path to .coveragerc file\n --relative_path Use relative path in LCOV output\n --preview Preview LCOV output\n --help Show this message and exit.\n```\n\n## Further reading\n\n- [LCOV format](http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php)\n- https://github.com/nedbat/coveragepy/issues/587\n- https://github.com/chaychoong/coveragepy-lcov\n",
"bugtrack_url": null,
"license": "",
"summary": "A simple .coverage to LCOV converter",
"version": "0.2.5",
"project_urls": {
"Homepage": "https://github.com/TheCleric/coverage-lcov",
"Repository": "https://github.com/TheCleric/coverage-lcov"
},
"split_keywords": [
"coverage"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dc584a0eefb0722c590c803aecde5c18968134cefce562430648a492903462bd",
"md5": "93cdee6676edc3bde187db51e5840d09",
"sha256": "841f58e4ceba3adb01662a2eb9490b10dd193fabaaf348f7469c55a5940d5d89"
},
"downloads": -1,
"filename": "coverage_lcov-0.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "93cdee6676edc3bde187db51e5840d09",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6.3,<4.0.0",
"size": 8056,
"upload_time": "2024-03-01T16:44:32",
"upload_time_iso_8601": "2024-03-01T16:44:32.208186Z",
"url": "https://files.pythonhosted.org/packages/dc/58/4a0eefb0722c590c803aecde5c18968134cefce562430648a492903462bd/coverage_lcov-0.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d5ed36a8b5fcaca378e6139829ffd2438feff1bd725d34423495f2e7c9718baf",
"md5": "f59901e650c1502be1902155e6d0c481",
"sha256": "ca66692a12c686f337582209d338238a1aafa74149f134387555e719eac4e1e8"
},
"downloads": -1,
"filename": "coverage-lcov-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "f59901e650c1502be1902155e6d0c481",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6.3,<4.0.0",
"size": 7694,
"upload_time": "2024-03-01T16:44:31",
"upload_time_iso_8601": "2024-03-01T16:44:31.416524Z",
"url": "https://files.pythonhosted.org/packages/d5/ed/36a8b5fcaca378e6139829ffd2438feff1bd725d34423495f2e7c9718baf/coverage-lcov-0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-01 16:44:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TheCleric",
"github_project": "coverage-lcov",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "coverage-lcov"
}