Skip to main content

Code coverage measurement for Python

Project description

Code coverage testing for Python.

License Python versions supported Package stability
Build status Windows build status Documentation Coverage!
PyPI status Kit format Packaging status
Github stars Github forks Contributors
Tidelift 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 many versions of Python:

  • CPython 2.7.

  • CPython 3.5 through 3.8.

  • PyPy2 7.0 and PyPy3 7.0.

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

New in 5.0: SQLite data storage, JSON report, contexts, dropped support for Python 2.6, 3.3 and 3.4.

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.


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.

Project details

Release history Release notifications | RSS feed

Download files

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

Source Distribution

coverage-5.0a8.tar.gz (425.9 kB view hashes)

Uploaded source

Built Distributions

coverage-5.0a8-cp37-cp37m-win_amd64.whl (198.1 kB view hashes)

Uploaded cp37

coverage-5.0a8-cp37-cp37m-win32.whl (197.0 kB view hashes)

Uploaded cp37

coverage-5.0a8-cp36-cp36m-win_amd64.whl (198.1 kB view hashes)

Uploaded cp36

coverage-5.0a8-cp36-cp36m-win32.whl (197.0 kB view hashes)

Uploaded cp36

coverage-5.0a8-cp35-cp35m-win_amd64.whl (198.1 kB view hashes)

Uploaded cp35

coverage-5.0a8-cp35-cp35m-win32.whl (197.0 kB view hashes)

Uploaded cp35

coverage-5.0a8-cp27-cp27m-win_amd64.whl (195.8 kB view hashes)

Uploaded cp27

coverage-5.0a8-cp27-cp27m-win32.whl (195.5 kB view hashes)

Uploaded cp27

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