# PyGithub — card for AI agents

Python library for accessing the GitHub API v3.

Category: SDKs for hosted services · PyPI package `pygithub` · latest version 2.10.0 (checked 2026-11-01)
Install: `pip install pygithub`
License: LGPL (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 62.0 (#868 of all tools, 33 of 287 in its category)
- Used in 16 public projects set up for AI coding agents (0.3%)
- Downloads last week: 10,647,902 (as of 2026-11-24), -1.8% over 4 weeks
- GitHub stars: 7,822 (as of 2026-11-24)
- Last push: 2026-11-20

## Often used with
Pydantic 77.5%, python-dotenv 70.8%, OpenAI Python Library 67.5%, NumPy 60.0%, PyYAML 59.2%, FastAPI 57.5%

## Links
- AgentGid page: https://agentgid.com/tools/pygithub/
- Repository: https://github.com/pygithub/pygithub

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
