Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

PyGithub

Python library for accessing the GitHub API v3.

SDKs for hosted servicesPYPI

GitHub

1. License

License from PyPI classifier.

github.com/pygithub/pygithub

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What PyGithub does

Python library for accessing the GitHub API v3.

PyGithub popularity

62 / 100
Gid Score, #868 overall
10.6M
downloads a week, pypi
7,822
GitHub stars
16
agent projects use it
PyGithub: downloads per weekPyPI, pygithub 10,655,099
PyGithub: GitHub starspygithub/pygithub 7,822

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How PyGithub is used

  • PyGithub is a dependency in 16 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 120 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use Pydantic (77.5%), python-dotenv (70.8%), OpenAI Python Library (67.5%).

By coding agent

8 projects, 0.2%
7 projects, 0.3%
7 projects, 0.2%

Often used with

In 77.5% of its projects
In 70.8% of its projects
In 67.5% of its projects
In 60.0% of its projects
In 59.2% of its projects
In 57.5% of its projects
In 55.8% of its projects
In 51.7% of its projects

More about PyGithub

Funding
  • GitHub Sponsors: https://github.com/sfdye
  • GitHub Sponsors: https://github.com/s-t-e-v-e-n-k
  • GitHub Sponsors: https://github.com/EnricoMi

See all

More in SDKs for hosted services

Alternatives

PyGithub This page

LGPLGid 6210.6M/wk

Compare PyGithub with another tool

Get started

Install it.

pip install pygithub

No step-by-step start for PyGithub yet: we have not written its hand-checked card.