{"id":13405573,"url":"https://github.com/PyGithub/PyGithub","last_synced_at":"2025-03-14T10:30:54.687Z","repository":{"id":2564982,"uuid":"3544490","full_name":"PyGithub/PyGithub","owner":"PyGithub","description":"Typed interactions with the GitHub API v3","archived":false,"fork":false,"pushed_at":"2024-10-29T09:28:58.000Z","size":16254,"stargazers_count":6998,"open_issues_count":346,"forks_count":1781,"subscribers_count":111,"default_branch":"main","last_synced_at":"2024-10-29T11:42:44.523Z","etag":null,"topics":["github","github-api","pygithub","python"],"latest_commit_sha":null,"homepage":"https://pygithub.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PyGithub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"github":["sfdye","s-t-e-v-e-n-k","enricomi"]}},"created_at":"2012-02-25T12:53:47.000Z","updated_at":"2024-10-29T10:57:07.000Z","dependencies_parsed_at":"2023-07-06T15:32:30.539Z","dependency_job_id":"d304f61a-09bb-45b4-af55-25d1c1140c0e","html_url":"https://github.com/PyGithub/PyGithub","commit_stats":{"total_commits":2054,"total_committers":382,"mean_commits":5.37696335078534,"dds":0.541869522882181,"last_synced_commit":"323e28282fd2bfdd4f00ad7119d7ac127ece8b56"},"previous_names":["jacquev6/pygithub"],"tags_count":109,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyGithub%2FPyGithub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyGithub%2FPyGithub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyGithub%2FPyGithub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyGithub%2FPyGithub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PyGithub","download_url":"https://codeload.github.com/PyGithub/PyGithub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242768076,"owners_count":20182098,"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":["github","github-api","pygithub","python"],"created_at":"2024-07-30T19:02:05.729Z","updated_at":"2025-03-14T10:30:54.638Z","avatar_url":"https://github.com/PyGithub.png","language":"Python","readme":"# PyGitHub\n\n[![PyPI](https://img.shields.io/pypi/v/PyGithub.svg)](https://pypi.python.org/pypi/PyGithub)\n![CI](https://github.com/PyGithub/PyGithub/workflows/CI/badge.svg)\n[![readthedocs](https://img.shields.io/badge/docs-stable-brightgreen.svg?style=flat)](https://pygithub.readthedocs.io/en/stable/?badge=stable)\n[![License](https://img.shields.io/badge/license-LGPL-blue.svg)](https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License)\n[![Slack](https://img.shields.io/badge/Slack%20channel-%20%20-blue.svg)](https://join.slack.com/t/pygithub-project/shared_invite/zt-duj89xtx-uKFZtgAg209o6Vweqm8xeQ)\n[![Open Source Helpers](https://www.codetriage.com/pygithub/pygithub/badges/users.svg)](https://www.codetriage.com/pygithub/pygithub)\n[![codecov](https://codecov.io/gh/PyGithub/PyGithub/branch/master/graph/badge.svg)](https://codecov.io/gh/PyGithub/PyGithub)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nPyGitHub is a Python library to access the [GitHub REST API].\nThis library enables you to manage [GitHub] resources such as repositories, user profiles, and organizations in your Python applications.\n\n[GitHub REST API]: https://docs.github.com/en/rest\n[GitHub]: https://github.com\n\n## Install\n\n```bash\npip install PyGithub\n```\n\n## Simple Demo\n\n```python\nfrom github import Github\n\n# Authentication is defined via github.Auth\nfrom github import Auth\n\n# using an access token\nauth = Auth.Token(\"access_token\")\n\n# First create a Github instance:\n\n# Public Web Github\ng = Github(auth=auth)\n\n# Github Enterprise with custom hostname\ng = Github(base_url=\"https://{hostname}/api/v3\", auth=auth)\n\n# Then play with your Github objects:\nfor repo in g.get_user().get_repos():\n    print(repo.name)\n\n# To close connections after use\ng.close()\n```\n\n## Documentation\n\nMore information can be found on the [PyGitHub documentation site.](https://pygithub.readthedocs.io/en/stable/introduction.html)\n\n## Development\n\n### Contributing\n\nLong-term discussion and bug reports are maintained via GitHub Issues.\nCode review is done via GitHub Pull Requests.\n\nFor more information read [CONTRIBUTING.md].\n\n[CONTRIBUTING.md]: https://github.com/PyGithub/PyGithub/blob/main/CONTRIBUTING.md\n\n### Maintainership\n\nWe're actively seeking maintainers that will triage issues and pull requests and cut releases.\nIf you work on a project that leverages PyGitHub and have a vested interest in keeping the code alive and well, send an email to someone in the MAINTAINERS file.\n","funding_links":["https://github.com/sponsors/sfdye","https://github.com/sponsors/s-t-e-v-e-n-k","https://github.com/sponsors/enricomi"],"categories":["Python","HarmonyOS","网络服务","Third-party Web APIs","APIs \u0026 SDKs"],"sub_categories":["Windows Manager","网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPyGithub%2FPyGithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPyGithub%2FPyGithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPyGithub%2FPyGithub/lists"}