Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Additional tools for Python coverage

Project Description

This package is a collection of command line tools for coverage to produce verbose reports and/or stats measurements of your test coverage.

Available tools include:

  • coverage-annotate - prints the source code and prefixes each line with + or - depending on wheather it was executed during testing or not;
  • coverage-combine - combines several .coverage data files into one;
  • coverage-diff - compares the annotated sources from two coverage data files to highlight the difference in test coverage between them;
  • coverage-report - report on arbitrary file(s);
  • pickle2json - convert .coverage files from pickle to JSON format; Needs coverage version 4.0 at least;


Use pip to install from PyPI:

pip install coverage-tools


Version 0.0.4

  • New tool coverage-report;
  • New tool pickle2json;

Version 0.0.3

  • New options for coverage-annotate
    • -N - show line numbers
    • -i - list of files to include in the report
    • -e - list of files to exclude from the report

--include and --exclude support shell globs. If none is specified all files in the coverage data file are shown. The include list is evaluated first, then the exclude list is evaluated.

  • New options for coverage-diff
    • -N - show line numbers
    • -i - list of files to include in the report
    • -e - list of files to exclude from the report

The same limitations apply to all options.

  • New tool coverage-combine which supports shell globs.

Version 0.0.2

  • First release on PyPI


Source code and issue tracker are at

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.8 kB) Copy SHA256 Hash SHA256
Source None Aug 11, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting