Skip to main content

Code coverage measurement for Python

Project description

Code coverage testing for Python.

License Python versions supported Package stability Documentation
Build status Windows build status Coverage!
PyPI status Kit format Packaging status
Tidelift Say thanks :) 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.


Professional support for is available as part of the Tidelift Subscription. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools. runs on many versions of Python:

  • CPython 2.6, 2.7 and 3.3 through beta 3.8.

  • PyPy2 6.0 and PyPy3 6.0.

  • Jython 2.7.1, though not for reporting.

  • IronPython 2.7.7, though not for reporting.

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

New in 4.5: Configurator plug-ins.

New in 4.4: Suppressable warnings, continuous coverage measurement.

New in 4.3: HTML --skip-covered, sys.excepthook support, tox.ini support.

New in 4.2: better support for multiprocessing and combining data.

New in 4.1: much-improved branch coverage.

New in 4.0: --concurrency, plugins for non-Python files, setup.cfg support, –skip-covered, HTML filtering, and more than 50 issues closed.

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.

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-4.5.4.tar.gz (385.2 kB view hashes)

Uploaded source

Built Distributions

coverage-4.5.4-cp37-cp37m-win_amd64.whl (183.7 kB view hashes)

Uploaded cp37

coverage-4.5.4-cp37-cp37m-win32.whl (182.5 kB view hashes)

Uploaded cp37

coverage-4.5.4-cp37-cp37m-manylinux1_i686.whl (202.6 kB view hashes)

Uploaded cp37

coverage-4.5.4-cp36-cp36m-win_amd64.whl (183.7 kB view hashes)

Uploaded cp36

coverage-4.5.4-cp36-cp36m-win32.whl (182.5 kB view hashes)

Uploaded cp36

coverage-4.5.4-cp36-cp36m-manylinux1_i686.whl (202.7 kB view hashes)

Uploaded cp36

coverage-4.5.4-cp35-cp35m-win_amd64.whl (183.7 kB view hashes)

Uploaded cp35

coverage-4.5.4-cp35-cp35m-win32.whl (182.5 kB view hashes)

Uploaded cp35

coverage-4.5.4-cp35-cp35m-manylinux1_i686.whl (202.7 kB view hashes)

Uploaded cp35

coverage-4.5.4-cp34-cp34m-win_amd64.whl (181.2 kB view hashes)

Uploaded cp34

coverage-4.5.4-cp34-cp34m-win32.whl (181.1 kB view hashes)

Uploaded cp34

coverage-4.5.4-cp34-cp34m-manylinux1_i686.whl (202.4 kB view hashes)

Uploaded cp34

coverage-4.5.4-cp27-cp27m-win_amd64.whl (181.3 kB view hashes)

Uploaded cp27

coverage-4.5.4-cp27-cp27m-win32.whl (181.0 kB view hashes)

Uploaded cp27

coverage-4.5.4-cp27-cp27m-manylinux1_i686.whl (200.7 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