You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ned Batchelder 1d25d0de76 build: bump version 5 days ago
.github build: last action to set permissions on 6 days ago
ci build: clean up ci helpers, use them more uniformly 2 months ago
coverage build: bump version 5 days ago
doc docs: latest sample 5 days ago
lab test(benchmark): more error checking before running long tests 1 month ago
requirements chore: make upgrade 2 months ago
tests docs: keep CHANGES up to date 5 days ago
.editorconfig Sometime git needs trailing spaces for diffs to work properly 4 years ago
.gitignore test: when we measure our coverage, get a json report also 9 months ago
.readthedocs.yml Build all the doc formats 2 years ago
.treerc test(feat): track test times, and balance xdist workers 9 months ago
CHANGES.rst build: bump version 5 days ago
CONTRIBUTORS.txt docs: keep CHANGES up to date 5 days ago
LICENSE.txt Switch license to Apache 7 years ago build: include lab/* in the sdist 7 months ago
Makefile build: clean up ci helpers, use them more uniformly 2 months ago
NOTICE.txt build: prepping for 6.3 7 months ago
README.rst docs: prep for 6.4.3 5 days ago Update NOTICE link to GitHub. 4 years ago
howto.txt build: bump version 4 weeks ago build: more low-tech release automation 2 months ago
metacov.ini test(build): skip metacov on mac pypy3, it slows us down 9 months ago
pylintrc style: pylint changed to 2.14, adapt. 2 months ago
setup.cfg test: 3.11.0b3 is out, so remove the workaround 2 months ago fix: use tomli for [toml] under more precise conditions. #1390 2 months ago
tox.ini test(benchmark): results are presented in markdown table, with ratios 2 months ago


Code coverage testing for Python.

Stand with Ukraine

 License Python versions supported Package stability
 Test suite status Quality check status Documentation Coverage reports
 PyPI status Weekly PyPI downloads Kit format Packaging status
 Github stars Github forks Contributors
 Tidelift Sponsor me on GitHub on Twitter nedbat on Twitter measures code coverage, typically during test execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. runs on these versions of Python:

  • CPython 3.7 through 3.11.0b5.
  • PyPy3 7.3.8.

Documentation is on Read the Docs. Code repository and issue tracker are on GitHub.

New in 6.x: dropped support for Python 2.7, 3.5, and 3.6; write data on SIGTERM; added support for 3.10 match/case statements.

For Enterprise

Tidelift Available as part of the Tidelift Subscription. Coverage and thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. If you want the flexibility of open source and the confidence of commercial-grade software, this is for you. Learn more.

Getting Started

See the Quick Start section of the docs.

Change history

The complete history of changes is on the change history page.


See the Contributing section of the docs.


To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.


Licensed under the Apache 2.0 License. For details, see NOTICE.txt.