GitHubKit
GitHub SDK for Python
Decision gist · record as of 2026-08-14
Yes. GitHubKit is actively maintained, has no known vulnerabilities, installs with low friction, and provides a modern, fully typed interface to GitHub's APIs. It's a solid choice if you're building Python tools that interact with GitHub and want type safety and async support. The MIT license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- You must provide a GitHub Personal Access Token (PAT) to authenticate.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 341 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,024,752 downloads/mo, #4,484 on PyPI
Alternatives
Verify before relying
pip install githubkit
from githubkit import GitHub
from githubkit_schemas.latest.models import FullRepository
github = GitHub("<your_token_here>")
resp = github.rest.repos.get("owner", "repo")
repo: FullRepository = resp.parsed_data
print(repo.full_name)- Whether the built-in HTTP cache and auto-retry behavior can be configured or disabled for specific use cases.
- Performance characteristics when handling large numbers of paginated API calls.
- Compatibility with GitHub Enterprise Cloud (GHEC) versioning in practice.
What it is and what it does
GitHubKit is a modern Python SDK for interacting with GitHub's APIs. It wraps GitHub's REST and GraphQL endpoints with full type hints, making it easier to write IDE-friendly code that catches errors at development time rather than runtime. The package handles authentication (including OAuth flows), pagination, webhook event validation via Pydantic, and HTTP caching automatically.
You create a GitHub instance with a token, then call methods like `github.rest.repos.get()` to fetch data with full type information. It supports both synchronous and asynchronous calls, so you can use it in blocking scripts or async applications. The SDK stays current with GitHub's API through generated schemas and includes optional data validation for webhook events and API responses.
Use it for
- Automating repository management tasks like creating issues, managing pull requests, or updating repository settings.
- Building GitHub-integrated bots or CI/CD tools that need to query repository data or post status updates.
- Fetching and processing webhook events from GitHub with automatic type validation and deserialization.
- Writing async applications that interact with multiple GitHub repositories or organizations concurrently.
- Building internal tools that need to query GitHub's REST API with full IDE autocomplete and type safety.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
GitHubKit is actively maintained, has no known vulnerabilities, installs with low friction, and provides a modern, fully typed interface to GitHub's APIs. It's a solid choice if you're building Python tools that interact with GitHub and want type safety and async support. The MIT license poses no restrictions.
Install
githubkit on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a release on 2026-08-14 and 341 repository stars. Depends on six runtime packages including httpx, pydantic, and hishel, all of which are well-maintained.
Requires Python 3.10 or later. You must provide a GitHub Personal Access Token (PAT) to authenticate.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install githubkit
from githubkit import GitHub
from githubkit_schemas.latest.models import FullRepository
github = GitHub("<your_token_here>")
resp = github.rest.repos.get("owner", "repo")
repo: FullRepository = resp.parsed_data
print(repo.full_name)
Verify before relying
- Whether the built-in HTTP cache and auto-retry behavior can be configured or disabled for specific use cases.
- Performance characteristics when handling large numbers of paginated API calls.
- Compatibility with GitHub Enterprise Cloud (GHEC) versioning in practice.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesanyiohttpxhisheltyping-extensionspydanticgithubkit-schemas |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,024,752 / month, #4,484 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: githubkit-0.16.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “github graphql python”
- GitHubKitA fully typed Python SDK for GitHub's REST and GraphQL APIs with…
- sgqlcsgqlc is a Python client library for querying GraphQL APIs using…
- python-graphql-clientSends GraphQL queries, mutations, and subscriptions to a GraphQL…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also GitHubKit-schemas · GitHubKit-schemas-2026-03-10 · polar-sdk · python-upwork-oauth2 · ghapi · types-requests-oauthlib · enigma-api-client · django-graphql-jwt · python-graphql-client · gql