{"id":20414472,"url":"https://github.com/codecov/python-standard","last_synced_at":"2025-06-22T17:37:31.561Z","repository":{"id":37471364,"uuid":"193794389","full_name":"codecov/python-standard","owner":"codecov","description":"Codecov coverage standard for Python","archived":false,"fork":false,"pushed_at":"2025-01-06T14:50:22.000Z","size":474,"stargazers_count":14,"open_issues_count":0,"forks_count":21,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-11T15:10:25.616Z","etag":null,"topics":["codecov","coverage-reports","python"],"latest_commit_sha":null,"homepage":"","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/codecov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-25T23:01:03.000Z","updated_at":"2025-01-06T14:50:25.000Z","dependencies_parsed_at":"2023-02-19T02:46:13.897Z","dependency_job_id":"f93c2a4f-9b15-4f32-91b2-4ff979d08eaf","html_url":"https://github.com/codecov/python-standard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fpython-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fpython-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fpython-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fpython-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/python-standard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248600301,"owners_count":21131455,"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":["codecov","coverage-reports","python"],"created_at":"2024-11-15T06:10:16.511Z","updated_at":"2025-04-12T16:44:41.866Z","avatar_url":"https://github.com/codecov.png","language":"Python","readme":"# Python-Standard\n\n[![Workflow for Python Standard Action](https://github.com/codecov/python-standard/actions/workflows/python-standard.yml/badge.svg)](https://github.com/codecov/python-standard/actions/workflows/python-standard.yml) [![codecov](https://codecov.io/gh/codecov/Python-Standard/branch/main/graph/badge.svg)](https://codecov.io/gh/codecov/Python-Standard)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fpython-standard.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fpython-standard?ref=badge_shield)\n\n### Last Updated: 09/14/23 00:12:41\n\n## What is this?\n\nThis is a **Python** application, with basic unit tests, for which coverage is uploaded to Codecov on a daily basis. It can also serve as an example for how to integrate Codecov into your Python project. If the build is passing for this project, then Codecov's Python report processing is functional and correct on codecov.io.\n\n## Configuration\n\nThis project is written in `Python 3.9`. Unit tests are written with the `pytest` framework and coverage reports are generated using the `pytest-cov` plugin.\n\nUnit tests: `/test_index.py`\n\nInside `.github/workflows/python-standard.yml` file:\n```yaml\n- name: Install dependencies\n  run: |\n    pip install pytest-cov\n    pip install requests\n- name: Run Script\n  run: |\n    pytest --cov=./ --cov-report=xml\n- name: Upload to Codecov\n  uses: codecov/codecov-action@v3    \n```\n\n## Usage\n\nRun unit tests inside a Docker container\n```bash\ndocker-compose up\n```\n\nGenerate coverage reports via `pytest`\n```bash\npytest --cov=./ --cov-report=xml\n```\n\nUploading reports to Codecov\n```bash\nbash \u003c(curl https://codecov.io/bash)\n\nOR\n\npip install codecov\ncodecov\n```\n\n## Reporting Issues\n\nIf you've discovered an issue with this repository or with Python processing in general, it is recommended to email support@codecov.io rather than post an issue here. This repository will not be checked regularly for open issues.\n\n## Contributing\n\nContributions are welcome! If you'd like to contribute to this repository, feel free to open a pull request or flag an issue. If you would like to contribute a new lanaguage standard, [you can get more information here](https://github.com/codecov/standards-scripts/blob/main/README.md#contributing). \n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fpython-standard.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fpython-standard?ref=badge_large)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fpython-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fpython-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fpython-standard/lists"}