{"id":20918426,"url":"https://github.com/twm/coverage-p","last_synced_at":"2025-05-13T12:31:19.835Z","repository":{"id":246989659,"uuid":"824757550","full_name":"twm/coverage-p","owner":"twm","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-01T23:23:14.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T04:39:43.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twm.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-05T21:50:58.000Z","updated_at":"2025-02-01T23:21:03.000Z","dependencies_parsed_at":"2024-11-18T04:32:17.946Z","dependency_job_id":"db4824ce-6ec2-4127-bea2-872641bd6702","html_url":"https://github.com/twm/coverage-p","commit_stats":null,"previous_names":["twm/coverage.pth","twm/coverage-p","twm/coverage-proc"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcoverage-p","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcoverage-p/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcoverage-p/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twm%2Fcoverage-p/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twm","download_url":"https://codeload.github.com/twm/coverage-p/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253942268,"owners_count":21988020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T16:38:51.278Z","updated_at":"2025-05-13T12:31:19.827Z","avatar_url":"https://github.com/twm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"coverage-p\n=============\n\n.. |pypi| image:: https://img.shields.io/pypi/v/coverage-p.svg\n    :alt: PyPI\n    :target: https://pypi.org/project/coverage-p/\n\n.. |calver| image:: https://img.shields.io/badge/calver-YY.MM.MICRO-22bfda.svg\n    :alt: calver: YY.MM.MICRO\n    :target: https://calver.org/\n\n.. |ci| image:: https://github.com/twm/coverage-p/actions/workflows/ci.yml/badge.svg\n    :alt: CI\n    :target: https://github.com/twm/coverage-p/actions/workflows/ci.yml\n\n\n|pypi|\n|calver|\n|ci|\n\nThis package contains a ``.pth`` file that calls ``coverage.process_startup()``.\n\n.. contents::\n\nUsage\n-----\n\nInstall it with Pip::\n\n    $ pip install coverage-p\n\nThen run your tests like::\n\n    $ COVERAGE_PROCESS_START=\"$PWD/.coveragerc\" coverage run -p -m unittest ...\n\nEach Python processes your tests spawn will generate a ``.coverage`` file.\nMerge these by running ``coverage combine``.\n\nSee the Coverage.py document `Measuring sub-processes \u003chttps://coverage.readthedocs.io/en/latest/subprocess.html\u003e`__ for more information.\n\n.. note::\n\n   ``coverage.process_startup()`` is a no-op unless the ``COVERAGE_PROCESS_START`` environment variable is set.\n   The ``coverage run`` command does *not* set this variable!\n\nWhy not ``coverage_pth``?\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe `coverage_pth package \u003chttps://pypi.org/project/coverage_pth/\u003e`__ attempts to do the same thing,\nbut the wheels it provides only work on Python 3.6.\nIt also `appears unmaintained \u003chttps://github.com/dougn/coverage_pth/commits/master/\u003e`__.\n\nCompatiblity Policy\n-------------------\n\nAny version of CPython `supported upstream \u003chttps://devguide.python.org/versions/\u003e`_ and by Coverage.py is considered supported and should be tested in CI.\nAdditionally, CI covers supported 3.x releases of `PyPy \u003chttps://pypy.org/\u003e`_, subject to availability in GitHub Actions.\n\ncoverage-p is tested against the current version of Coverage.py.\nThe API coverage-p invokes has been stable for many years, so compatibility issues are not expected.\n\nChangelog\n---------\n\nv25.2.0 (2025-02-01)\n~~~~~~~~~~~~~~~~~~~~\n\n- Add License-Expression metadata\n- Repackage with Hatchling\n\nv24.7.0 (2024-07-06)\n~~~~~~~~~~~~~~~~~~~~\n\n- Initial release\n\n\nContributing\n------------\n\nFile issues and PRs `on GitHub \u003chttps://github.com/twm/coverage-p/issues\u003e`__.\nSee `CONTRIBUTING.rst \u003c./CONTRIBUTING.rst\u003e`__ for more.\nPlease follow the `Twisted code of conduct \u003chttps://github.com/twisted/.github/blob/trunk/code_of_conduct.md\u003e`__.\n\n\nLicense\n-------\n\ncoverage-p is made available under the `MIT license \u003c./LICENSE\u003e`__.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwm%2Fcoverage-p","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwm%2Fcoverage-p","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwm%2Fcoverage-p/lists"}