Name | PyGithub JSON |
Version |
2.6.0
JSON |
| download |
home_page | None |
Summary | Use the full Github API v3 |
upload_time | 2025-02-15 18:07:35 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
github
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# PyGitHub
[](https://pypi.python.org/pypi/PyGithub)

[](https://pygithub.readthedocs.io/en/stable/?badge=stable)
[](https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License)
[](https://join.slack.com/t/pygithub-project/shared_invite/zt-duj89xtx-uKFZtgAg209o6Vweqm8xeQ)
[](https://www.codetriage.com/pygithub/pygithub)
[](https://codecov.io/gh/PyGithub/PyGithub)
[](https://github.com/psf/black)
PyGitHub is a Python library to access the [GitHub REST API].
This library enables you to manage [GitHub] resources such as repositories, user profiles, and organizations in your Python applications.
[GitHub REST API]: https://docs.github.com/en/rest
[GitHub]: https://github.com
## Install
```bash
pip install PyGithub
```
## Simple Demo
```python
from github import Github
# Authentication is defined via github.Auth
from github import Auth
# using an access token
auth = Auth.Token("access_token")
# First create a Github instance:
# Public Web Github
g = Github(auth=auth)
# Github Enterprise with custom hostname
g = Github(base_url="https://{hostname}/api/v3", auth=auth)
# Then play with your Github objects:
for repo in g.get_user().get_repos():
print(repo.name)
# To close connections after use
g.close()
```
## Documentation
More information can be found on the [PyGitHub documentation site.](https://pygithub.readthedocs.io/en/stable/introduction.html)
## Development
### Contributing
Long-term discussion and bug reports are maintained via GitHub Issues.
Code review is done via GitHub Pull Requests.
For more information read [CONTRIBUTING.md].
[CONTRIBUTING.md]: https://github.com/PyGithub/PyGithub/blob/main/CONTRIBUTING.md
### Maintainership
We're actively seeking maintainers that will triage issues and pull requests and cut releases.
If 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "PyGithub",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "github",
"author": null,
"author_email": "Vincent Jacques <vincent@vincent-jacques.net>",
"download_url": "https://files.pythonhosted.org/packages/60/7a/78a40edc07426052eb909f556deb8ae3158c234df49553bd4690bc6c4ba7/pygithub-2.6.0.tar.gz",
"platform": null,
"description": "# PyGitHub\n\n[](https://pypi.python.org/pypi/PyGithub)\n\n[](https://pygithub.readthedocs.io/en/stable/?badge=stable)\n[](https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License)\n[](https://join.slack.com/t/pygithub-project/shared_invite/zt-duj89xtx-uKFZtgAg209o6Vweqm8xeQ)\n[](https://www.codetriage.com/pygithub/pygithub)\n[](https://codecov.io/gh/PyGithub/PyGithub)\n[](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",
"bugtrack_url": null,
"license": null,
"summary": "Use the full Github API v3",
"version": "2.6.0",
"project_urls": {
"Documentation": "https://pygithub.readthedocs.io/en/stable/",
"Source": "https://github.com/pygithub/pygithub",
"Tracker": "https://github.com/pygithub/pygithub/issues"
},
"split_keywords": [
"github"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f39eba08aa9e1632f8752648126505598b95429fcb7bb884c1eb9de5b2370d8f",
"md5": "b97cc900833ca7975b5d3f87817fa020",
"sha256": "22635b245b885413c607bb86393603cadcfdcb67a9b81ce9a64634e64f308084"
},
"downloads": -1,
"filename": "PyGithub-2.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b97cc900833ca7975b5d3f87817fa020",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 409218,
"upload_time": "2025-02-15T18:07:32",
"upload_time_iso_8601": "2025-02-15T18:07:32.714848Z",
"url": "https://files.pythonhosted.org/packages/f3/9e/ba08aa9e1632f8752648126505598b95429fcb7bb884c1eb9de5b2370d8f/PyGithub-2.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "607a78a40edc07426052eb909f556deb8ae3158c234df49553bd4690bc6c4ba7",
"md5": "dedb07b1b0aa871d5e7434176f2d5c99",
"sha256": "04784fd6f4acfcaf91df5d3f08ef14153709395a34e706850f92337d9914548f"
},
"downloads": -1,
"filename": "pygithub-2.6.0.tar.gz",
"has_sig": false,
"md5_digest": "dedb07b1b0aa871d5e7434176f2d5c99",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3658095,
"upload_time": "2025-02-15T18:07:35",
"upload_time_iso_8601": "2025-02-15T18:07:35.356240Z",
"url": "https://files.pythonhosted.org/packages/60/7a/78a40edc07426052eb909f556deb8ae3158c234df49553bd4690bc6c4ba7/pygithub-2.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-15 18:07:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pygithub",
"github_project": "pygithub",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "pygithub"
}