Skip to main content

Code coverage measurement for Python

Project description

Code coverage testing for Python.

License Python versions supported Package stability
Test suite status Quality check status Documentation Coverage!
PyPI status Kit format Packaging status Weekly PyPI downloads
Github stars Github forks Contributors
Tidelift 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.6 through 3.10.

  • PyPy3 7.3.3.

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

New in 6.x: dropped support for Python 2.7 and 3.5; added support for 3.10 match/case statements.

For Enterprise


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.

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coverage-6.0.tar.gz (719.5 kB view hashes)

Uploaded source

Built Distributions

coverage-6.0-pp37-none-any.whl (210.2 kB view hashes)

Uploaded pp37

coverage-6.0-pp36-none-any.whl (210.2 kB view hashes)

Uploaded pp36

coverage-6.0-cp310-cp310-win_amd64.whl (221.8 kB view hashes)

Uploaded cp310

coverage-6.0-cp310-cp310-win32.whl (220.5 kB view hashes)

Uploaded cp310

coverage-6.0-cp39-cp39-win_amd64.whl (221.8 kB view hashes)

Uploaded cp39

coverage-6.0-cp39-cp39-win32.whl (220.5 kB view hashes)

Uploaded cp39

coverage-6.0-cp38-cp38-win_amd64.whl (221.8 kB view hashes)

Uploaded cp38

coverage-6.0-cp38-cp38-win32.whl (220.5 kB view hashes)

Uploaded cp38

coverage-6.0-cp37-cp37m-win_amd64.whl (221.7 kB view hashes)

Uploaded cp37

coverage-6.0-cp37-cp37m-win32.whl (220.6 kB view hashes)

Uploaded cp37

coverage-6.0-cp36-cp36m-win_amd64.whl (221.7 kB view hashes)

Uploaded cp36

coverage-6.0-cp36-cp36m-win32.whl (220.6 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page