{"id":19700250,"url":"https://github.com/dbeley/github_stats","last_synced_at":"2026-05-11T13:34:52.846Z","repository":{"id":39841808,"uuid":"183901889","full_name":"dbeley/github_stats","owner":"dbeley","description":"Extract stats from github repos periodically","archived":false,"fork":false,"pushed_at":"2022-12-08T05:03:49.000Z","size":31,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T15:45:55.571Z","etag":null,"topics":["github"],"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/dbeley.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}},"created_at":"2019-04-28T11:53:58.000Z","updated_at":"2019-05-24T18:05:20.000Z","dependencies_parsed_at":"2022-08-23T02:51:06.801Z","dependency_job_id":null,"html_url":"https://github.com/dbeley/github_stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbeley/github_stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgithub_stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgithub_stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgithub_stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgithub_stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbeley","download_url":"https://codeload.github.com/dbeley/github_stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fgithub_stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32897161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github"],"created_at":"2024-11-11T21:04:55.502Z","updated_at":"2026-05-11T13:34:52.826Z","avatar_url":"https://github.com/dbeley.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github_stats\n\nExtract statistics from github repos to a csv file\n\n## Requirements\n\n- PyGithub\n- working github config.ini (see config_sample.ini)\n\n## Installation in a virtualenv\n\n```\npipenv install '-e .'\n```\n\n## Help\n\n```\ngithub_stats -h\n```\n\n```\nusage: github_stats [-h] [--debug] [-f FILE]\n\nScript extracting statistics from github repos\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --debug               Display debugging information\n  -f FILE, --file FILE  File containing the repos (default : sample file\n                        containing popular repos)\n```\n\n## Usage\n\nGiven a simple txt file repos_list.txt\n\n```\nfacebook/react\ntensorflow/tensorflow\n```\n\nYou can then call\n\n```\ngithub_stats -f repos_list.txt\n```\n\n## Autostarting\n\nA systemd service and its timer are provided in the systemd-service/ folder. You can tweak the service file to launch the script in another directory or to launch the script with other options.\n\nThe timer is set to launch the script every hour.\n\nThen copy the service and the timer files in ~/.config/systemd/user/\n\nYou can launch the timer with\n\n```\nsystemctl --user daemon-reload\nsystemctl --user enable --now github_stats.timer\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fgithub_stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbeley%2Fgithub_stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fgithub_stats/lists"}