{"id":15745285,"url":"https://github.com/jimver/github-comment-counter","last_synced_at":"2026-04-29T18:32:21.729Z","repository":{"id":104840267,"uuid":"251342081","full_name":"Jimver/github-comment-counter","owner":"Jimver","description":"GitHub comment counter for Pull requests / Issues filtered by labels","archived":false,"fork":false,"pushed_at":"2020-03-31T10:39:50.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T10:19:05.490Z","etag":null,"topics":["comment","counter","github","issues","pull-requests"],"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/Jimver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-03-30T15:09:59.000Z","updated_at":"2020-03-31T10:39:52.000Z","dependencies_parsed_at":"2023-07-19T22:16:41.336Z","dependency_job_id":null,"html_url":"https://github.com/Jimver/github-comment-counter","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"ec1ca9aa4d8c8735022f24c9a67ce6d7b12e9300"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2Fgithub-comment-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2Fgithub-comment-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2Fgithub-comment-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2Fgithub-comment-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jimver","download_url":"https://codeload.github.com/Jimver/github-comment-counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423509,"owners_count":20774800,"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":["comment","counter","github","issues","pull-requests"],"created_at":"2024-10-04T04:02:45.288Z","updated_at":"2026-04-29T18:32:16.682Z","avatar_url":"https://github.com/Jimver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub comment counter\n\nThis repo contains a small script that counts the comments on a repository on GitHub. \nIt can count the amount of comments in issues, PRs or both combined. It also has the ability\nto filter the issues/PRs based on a label. Multiple labels can be given to give an overview of \ncomment counts across different labels.\n\n## Usage\n\nFirst clone or download this repository locally.\n\nGo to the root of the repository and install required packages using `pip`:\n\n`pip install -r requirements.txt`\n\nThen run the program by invoking it using:\n\n`github-comment-counter.py [OPTIONS]`\n\nThe [OPTIONS] contain the CLI arguments:\n- `--repo_name REPO_NAME` The repository name, for example `numpy`.\n- `--repo_owner` The owner of the repository, in the case of NumPy this is also `numpy`.\n- `--label` The label of the issues / PRs to filter on. To analyse multiple labels you can put more of them after each other. (See example below) \n- `--issues/--no-issues` flag that controls whether to take issues into account.\n- `--pull_requests/--no-pull_requests` flag that controls whether to take PRs into account.\n- `--help` for instructions.\n\nNote that you should put strings with spaces between double quotes (\") for proper argument parsing.\n\nExample command:\n```\ngithub-comment-counter.py --repo_name numpy --repo_owner numpy -label \"component: numpy.core\" -label \"component: numpy.fft\" -issues -pull_requests\n```\n\nExample output in csv (first 6 rows):\n```csv\nusername,component: numpy.core,component: numpy.fft\nseberg,222,23\nmattip,148,14\ncharris,121,118\neric-wieser,114,10\nrgommers,50,38\nmhvk,49,14\n```\n \nAnd a more readable version in markdown for this README.\n\n| username    | component: numpy.core | component: numpy.fft |\n|-------------|-----------------------|----------------------|\n| seberg      | 222                   | 23                   |\n| mattip      | 148                   | 14                   |\n| charris     | 121                   | 118                  |\n| eric-wieser | 114                   | 10                   |\n| rgommers    | 50                    | 38                   |\n| mhvk        | 49                    | 14                   |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimver%2Fgithub-comment-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimver%2Fgithub-comment-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimver%2Fgithub-comment-counter/lists"}