Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: H3c-t0r
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Size: 19.9 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 4
  • Releases: 0
Created about 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog Funding License Code of conduct Citation Security

README.rst

.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
.. For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt

===========
Coverage.py
===========

Code coverage measurement for Python.

.. image:: https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg
    :target: https://vshymanskyy.github.io/StandWithUkraine
    :alt: Stand with Ukraine

-------------

|  |kit| |license| |versions|
|  |test-status| |quality-status| |docs| |metacov|
|  |tidelift| |sponsor| |stars| |mastodon-coveragepy| |mastodon-nedbat|

Coverage.py 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.

Coverage.py runs on these versions of Python:

.. PYVERSIONS

* Python 3.8 through 3.12, and 3.13.0b1 and up.
* PyPy3 versions 3.8 through 3.10.

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

.. _Read the Docs: https://coverage.readthedocs.io/
.. _GitHub: https://github.com/nedbat/coveragepy

**New in 7.x:**
initial function/class reporting;
experimental support for sys.monitoring;
dropped support for Python 3.7;
added ``Coverage.collect()`` context manager;
improved data combining;
``[run] exclude_also`` setting;
``report --format=``;
type annotations.

**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
--------------

.. |tideliftlogo| image:: https://nedbatchelder.com/pix/Tidelift_Logo_small.png
   :alt: Tidelift
   :target: https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme

.. list-table::
   :widths: 10 100

   * - |tideliftlogo|
     - `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
---------------

Looking to run ``coverage`` on your test suite? See the `Quick Start section`_
of the docs.

.. _Quick Start section: https://coverage.readthedocs.io/#quick-start


Change history
--------------

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

.. _change history page: https://coverage.readthedocs.io/en/latest/changes.html


Code of Conduct
---------------

Everyone participating in the coverage.py project is expected to treat other
people with respect and to follow the guidelines articulated in the `Python
Community Code of Conduct`_.

.. _Python Community Code of Conduct: https://www.python.org/psf/codeofconduct/


Contributing
------------

Found a bug? Want to help improve the code or documentation? See the
`Contributing section`_ of the docs.

.. _Contributing section: https://coverage.readthedocs.io/en/latest/contributing.html


Security
--------

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

.. _Tidelift security contact: https://tidelift.com/security


License
-------

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

.. _Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
.. _NOTICE.txt: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt


.. |test-status| image:: https://github.com/nedbat/coveragepy/actions/workflows/testsuite.yml/badge.svg?branch=master&event=push
    :target: https://github.com/nedbat/coveragepy/actions/workflows/testsuite.yml
    :alt: Test suite status
.. |quality-status| image:: https://github.com/nedbat/coveragepy/actions/workflows/quality.yml/badge.svg?branch=master&event=push
    :target: https://github.com/nedbat/coveragepy/actions/workflows/quality.yml
    :alt: Quality check status
.. |docs| image:: https://readthedocs.org/projects/coverage/badge/?version=latest&style=flat
    :target: https://coverage.readthedocs.io/
    :alt: Documentation
.. |kit| image:: https://img.shields.io/pypi/v/coverage
    :target: https://pypi.org/project/coverage/
    :alt: PyPI status
.. |versions| image:: https://img.shields.io/pypi/pyversions/coverage.svg?logo=python&logoColor=FBE072
    :target: https://pypi.org/project/coverage/
    :alt: Python versions supported
.. |license| image:: https://img.shields.io/pypi/l/coverage.svg
    :target: https://pypi.org/project/coverage/
    :alt: License
.. |metacov| image:: https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/nedbat/8c6980f77988a327348f9b02bbaf67f5/raw/metacov.json
    :target: https://nedbat.github.io/coverage-reports/latest.html
    :alt: Coverage reports
.. |tidelift| image:: https://tidelift.com/badges/package/pypi/coverage
    :target: https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme
    :alt: Tidelift
.. |stars| image:: https://img.shields.io/github/stars/nedbat/coveragepy.svg?logo=github
    :target: https://github.com/nedbat/coveragepy/stargazers
    :alt: GitHub stars
.. |mastodon-nedbat| image:: https://img.shields.io/badge/dynamic/json?style=flat&labelColor=450657&logo=mastodon&logoColor=ffffff&link=https%3A%2F%2Fhachyderm.io%2F%40nedbat&url=https%3A%2F%2Fhachyderm.io%2Fusers%2Fnedbat%2Ffollowers.json&query=totalItems&label=@nedbat
    :target: https://hachyderm.io/@nedbat
    :alt: nedbat on Mastodon
.. |mastodon-coveragepy| image:: https://img.shields.io/badge/dynamic/json?style=flat&labelColor=450657&logo=mastodon&logoColor=ffffff&link=https%3A%2F%2Fhachyderm.io%2F%40coveragepy&url=https%3A%2F%2Fhachyderm.io%2Fusers%2Fcoveragepy%2Ffollowers.json&query=totalItems&label=@coveragepy
    :target: https://hachyderm.io/@coveragepy
    :alt: coveragepy on Mastodon
.. |sponsor| image:: https://img.shields.io/badge/%E2%9D%A4-Sponsor%20me-brightgreen?style=flat&logo=GitHub
    :target: https://github.com/sponsors/nedbat
    :alt: Sponsor me on GitHub

Owner

  • Login: H3c-t0r
  • Kind: user

Citation (CITATION.cff)

# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt

cff-version: 1.2.0
title: "Coverage.py: The code coverage tool for Python"
message: >-
  If you use this software, please cite it using the metadata from this file.
type: software
authors:
  - family-names: Batchelder
    given-names: Ned
    orcid: https://orcid.org/0009-0006-2659-884X
  - name: "Contributors to Coverage.py"
repository-code: "https://github.com/nedbat/coveragepy"
url: "https://coverage.readthedocs.io/"
abstract: >-
  Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program,
  noting which parts of the code have been executed, then analyzes the source to identify code
  that could have been executed but was not.
  Coverage measurement is typically used to gauge the effectiveness of tests. It can show which
  parts of your code are being exercised by tests, and which are not.
license: Apache-2.0

GitHub Events

Total
Last Year

Dependencies

.github/workflows/codeql-analysis.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/analyze v3 composite
  • github/codeql-action/autobuild v3 composite
  • github/codeql-action/init v3 composite
.github/workflows/coverage.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • schneegans/dynamic-badges-action e9a478b16159b4d31420099ba146cdc50f134483 composite
.github/workflows/dependency-review.yml actions
  • actions/checkout v4 composite
  • actions/dependency-review-action v4 composite
.github/workflows/kit.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • docker/setup-qemu-action 68827325e0b33c7199eb31dd4e31fbe9023e06e3 composite
  • sigstore/gh-action-sigstore-python v2.1.1 composite
.github/workflows/python-nightly.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • deadsnakes/action 6c8b9b82fe0b4344f4b98f2775fcc395df45e494 composite
.github/workflows/quality.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/semgrep.yml actions
  • actions/checkout v3 composite
.github/workflows/testsuite.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • re-actors/alls-green 05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe composite
doc/requirements.in pypi
  • cogapp *
  • doc8 *
  • pyenchant *
  • scriv *
  • sphinx *
  • sphinx-autobuild *
  • sphinx-code-tabs *
  • sphinx-lint *
  • sphinx_rtd_theme *
  • sphinxcontrib-restbuilder *
  • sphinxcontrib-spelling *
doc/requirements.pip pypi
  • alabaster ==0.7.16
  • anyio ==4.3.0
  • attrs ==23.2.0
  • babel ==2.15.0
  • certifi ==2024.2.2
  • charset-normalizer ==3.3.2
  • click ==8.1.7
  • click-log ==0.4.0
  • cogapp ==3.4.1
  • colorama ==0.4.6
  • doc8 ==1.1.1
  • docutils ==0.20.1
  • h11 ==0.14.0
  • idna ==3.7
  • imagesize ==1.4.1
  • jinja2 ==3.1.4
  • markdown-it-py ==3.0.0
  • markupsafe ==2.1.5
  • mdurl ==0.1.2
  • packaging ==24.0
  • pbr ==6.0.0
  • polib ==1.2.0
  • pyenchant ==3.2.2
  • pygments ==2.18.0
  • regex ==2024.4.28
  • requests ==2.31.0
  • restructuredtext-lint ==1.4.0
  • scriv ==1.5.1
  • sniffio ==1.3.1
  • snowballstemmer ==2.2.0
  • sphinx ==7.3.7
  • sphinx-autobuild ==2024.4.16
  • sphinx-code-tabs ==0.5.5
  • sphinx-lint ==0.9.1
  • sphinx-rtd-theme ==2.0.0
  • sphinxcontrib-applehelp ==1.0.8
  • sphinxcontrib-devhelp ==1.0.6
  • sphinxcontrib-htmlhelp ==2.0.5
  • sphinxcontrib-jquery ==4.1
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-qthelp ==1.0.7
  • sphinxcontrib-restbuilder ==0.3
  • sphinxcontrib-serializinghtml ==1.1.10
  • sphinxcontrib-spelling ==8.0.0
  • starlette ==0.37.2
  • stevedore ==5.2.0
  • urllib3 ==2.2.1
  • uvicorn ==0.29.0
  • watchfiles ==0.21.0
  • websockets ==12.0
pyproject.toml pypi
requirements/dev.in pypi
  • check-manifest * development
  • cogapp * development
  • greenlet * development
  • libsass * development
  • pudb * development
  • pylint * development
  • readme_renderer * development
  • requests * development
  • tabulate * development
  • twine * development
requirements/dev.pip pypi
  • astroid ==3.2.2 development
  • attrs ==23.2.0 development
  • backports-tarfile ==1.2.0 development
  • build ==1.2.1 development
  • cachetools ==5.3.3 development
  • certifi ==2024.6.2 development
  • chardet ==5.2.0 development
  • charset-normalizer ==3.3.2 development
  • check-manifest ==0.49 development
  • cogapp ==3.4.1 development
  • colorama ==0.4.6 development
  • dill ==0.3.8 development
  • distlib ==0.3.8 development
  • docutils ==0.20.1 development
  • exceptiongroup ==1.2.1 development
  • execnet ==2.1.1 development
  • filelock ==3.14.0 development
  • flaky ==3.8.1 development
  • greenlet ==3.0.3 development
  • hypothesis ==6.103.1 development
  • idna ==3.7 development
  • importlib-metadata ==7.1.0 development
  • importlib-resources ==6.4.0 development
  • iniconfig ==2.0.0 development
  • isort ==5.13.2 development
  • jaraco-classes ==3.4.0 development
  • jaraco-context ==5.3.0 development
  • jaraco-functools ==4.0.1 development
  • jedi ==0.19.1 development
  • keyring ==25.2.1 development
  • libsass ==0.23.0 development
  • markdown-it-py ==3.0.0 development
  • mccabe ==0.7.0 development
  • mdurl ==0.1.2 development
  • more-itertools ==10.3.0 development
  • nh3 ==0.2.17 development
  • packaging ==24.1 development
  • parso ==0.8.4 development
  • pip ==24.1b2 development
  • pkginfo ==1.11.1 development
  • platformdirs ==4.2.2 development
  • pluggy ==1.5.0 development
  • pudb ==2024.1 development
  • pygments ==2.18.0 development
  • pylint ==3.2.3 development
  • pyproject-api ==1.6.1 development
  • pyproject-hooks ==1.1.0 development
  • pytest ==8.2.2 development
  • pytest-xdist ==3.6.1 development
  • readme-renderer ==43.0 development
  • requests ==2.32.3 development
  • requests-toolbelt ==1.0.0 development
  • rfc3986 ==2.0.0 development
  • rich ==13.7.1 development
  • setuptools ==70.0.0 development
  • sortedcontainers ==2.4.0 development
  • tabulate ==0.9.0 development
  • tomli ==2.0.1 development
  • tomlkit ==0.12.5 development
  • tox ==4.15.1 development
  • tox-gh ==1.3.1 development
  • twine ==5.1.0 development
  • typing-extensions ==4.12.2 development
  • urllib3 ==2.2.1 development
  • urwid ==2.6.13 development
  • urwid-readline ==0.14 development
  • virtualenv ==20.26.2 development
  • wcwidth ==0.2.13 development
  • zipp ==3.19.2 development
requirements/kit.in pypi
  • auditwheel *
  • build *
  • cibuildwheel *
  • colorama *
  • setuptools *
  • wheel *
requirements/kit.pip pypi
  • auditwheel ==6.0.0
  • bashlex ==0.18
  • bracex ==2.4
  • build ==1.2.1
  • certifi ==2024.6.2
  • cibuildwheel ==2.19.0
  • colorama ==0.4.6
  • filelock ==3.14.0
  • importlib-metadata ==7.1.0
  • packaging ==24.1
  • platformdirs ==4.2.2
  • pyelftools ==0.31
  • pyproject-hooks ==1.1.0
  • setuptools ==70.0.0
  • tomli ==2.0.1
  • typing-extensions ==4.12.2
  • wheel ==0.43.0
  • zipp ==3.19.2
requirements/light-threads.in pypi
  • cffi >=1.12.2
  • eventlet *
  • gevent *
  • greenlet *
requirements/light-threads.pip pypi
  • cffi ==1.16.0
  • dnspython ==2.6.1
  • eventlet ==0.36.1
  • gevent ==24.2.1
  • greenlet ==3.0.3
  • pycparser ==2.22
  • setuptools ==70.0.0
  • zope-event ==5.0
  • zope-interface ==6.4.post2
requirements/mypy.in pypi
  • mypy *
requirements/mypy.pip pypi
  • attrs ==23.2.0
  • colorama ==0.4.6
  • exceptiongroup ==1.2.1
  • execnet ==2.1.1
  • flaky ==3.8.1
  • hypothesis ==6.103.1
  • iniconfig ==2.0.0
  • mypy ==1.10.0
  • mypy-extensions ==1.0.0
  • packaging ==24.1
  • pluggy ==1.5.0
  • pygments ==2.18.0
  • pytest ==8.2.2
  • pytest-xdist ==3.6.1
  • sortedcontainers ==2.4.0
  • tomli ==2.0.1
  • typing-extensions ==4.12.2
requirements/pins.pip pypi
requirements/pip-tools.in pypi
  • pip-tools *
requirements/pip-tools.pip pypi
  • build ==1.2.1
  • click ==8.1.7
  • importlib-metadata ==7.1.0
  • packaging ==24.1
  • pip ==24.0
  • pip-tools ==7.4.1
  • pyproject-hooks ==1.1.0
  • setuptools ==70.0.0
  • tomli ==2.0.1
  • wheel ==0.43.0
  • zipp ==3.19.2
requirements/pip.in pypi
  • pip *
  • setuptools *
  • virtualenv *
requirements/pip.pip pypi
  • distlib ==0.3.8
  • filelock ==3.14.0
  • pip ==24.1b2
  • platformdirs ==4.2.2
  • setuptools ==70.0.0
  • virtualenv ==20.26.2
requirements/pytest.in pypi
  • colorama * test
  • flaky * test
  • hypothesis * test
  • pygments * test
  • pytest * test
  • pytest-xdist * test
requirements/pytest.pip pypi
  • attrs ==23.2.0 test
  • colorama ==0.4.6 test
  • exceptiongroup ==1.2.1 test
  • execnet ==2.1.1 test
  • flaky ==3.8.1 test
  • hypothesis ==6.103.1 test
  • iniconfig ==2.0.0 test
  • packaging ==24.1 test
  • pluggy ==1.5.0 test
  • pygments ==2.18.0 test
  • pytest ==8.2.2 test
  • pytest-xdist ==3.6.1 test
  • sortedcontainers ==2.4.0 test
  • tomli ==2.0.1 test
requirements/tox.in pypi
  • colorama >=0.4.1
  • tox *
  • tox-gh *
requirements/tox.pip pypi
  • cachetools ==5.3.3
  • chardet ==5.2.0
  • colorama ==0.4.6
  • distlib ==0.3.8
  • filelock ==3.14.0
  • packaging ==24.1
  • platformdirs ==4.2.2
  • pluggy ==1.5.0
  • pyproject-api ==1.6.1
  • tomli ==2.0.1
  • tox ==4.15.1
  • tox-gh ==1.3.1
  • virtualenv ==20.26.2
setup.py pypi