prefect-github
Prefect integrations interacting with GitHub
Decision gist · record as of 2026-08-14
Yes, if you are already using Prefect and need to integrate GitHub operations into your workflows. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with low friction. It is a first-party integration backed by the Prefect project, making it a reliable choice for GitHub automation within Prefect.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; prefect must be installed and configured with valid GitHub credentials or authentication token.
- Low install friction with a pure-Python wheel.
- Actively maintained with a recent release; last commit on 2026-08-14.
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-06-12 (63 days) · last repo commit 2026-08-14 · 23,623 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,143,012 downloads/mo, #4,304 on PyPI
Alternatives
Verify before relying
pip install prefect-github
from prefect_github import GitHubRepository
repo = GitHubRepository.load(name="my-repo")- Specific GitHub API operations supported (e.g., pull request management, issue tracking, workflow dispatch).
- Whether authentication is handled via environment variables, Prefect secrets, or GitHub app credentials.
- Performance characteristics when working with large repositories or high-frequency GitHub operations.
What it is and what it does
prefect-github is an official Prefect integration that wraps GitHub API interactions into Prefect-native tasks and blocks, allowing you to orchestrate GitHub operations as part of larger data or automation workflows. It sits on top of sgqlc for GraphQL queries and integrates with Prefect's task and block system, letting you read repository data, trigger workflows, manage pull requests, or perform other GitHub operations within a Prefect flow.
The package is designed for developers building workflow automation that needs to interact with GitHub—whether that's monitoring repositories, triggering CI/CD pipelines, or syncing repository state into other systems. It abstracts away direct API calls and credential management, delegating those concerns to Prefect's standard authentication and block infrastructure.
Use it for
- Trigger GitHub Actions workflows from Prefect flows in response to data pipeline events.
- Monitor GitHub repositories for changes and automatically sync repository metadata into a data warehouse.
- Automate pull request creation or updates as part of a code-generation or data-validation workflow.
- Fetch GitHub issue or discussion data for analytics or reporting within a Prefect orchestration.
- Coordinate multi-repository operations across a GitHub organization as a single Prefect workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Prefect and need to integrate GitHub operations into your workflows.
The package is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with low friction. It is a first-party integration backed by the Prefect project, making it a reliable choice for GitHub automation within Prefect.
Install
prefect-github on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a recent release; last commit on 2026-08-14. Depends on sgqlc and prefect, both of which are standard workflow dependencies.
Requires Python 3.10 or later; prefect must be installed and configured with valid GitHub credentials or authentication token.
License in practice
Licensed under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install prefect-github
from prefect_github import GitHubRepository
repo = GitHubRepository.load(name="my-repo")
Verify before relying
- Specific GitHub API operations supported (e.g., pull request management, issue tracking, workflow dispatch).
- Whether authentication is handled via environment variables, Prefect secrets, or GitHub app credentials.
- Performance characteristics when working with large repositories or high-frequency GitHub operations.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagessgqlcprefect |
| Maintenance | Actively maintained 63 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,143,012 / month, #4,304 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries |
Evidence: prefect_github-0.4.4-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 › “prefect github integration”
- prefect-githubProvides Prefect workflow tasks and blocks for interacting with…
- prefect-emailProvides Prefect workflow integration for sending emails, enabling…
- prefect-rayIntegrates Ray distributed computing with Prefect workflow…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries 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.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also prefect-email · prefect-gitlab · prefect-snowflake · prefect-sqlalchemy · prefect-shell · prefect-slack · prefect-redis · prefect-docker · prefect-aws · prefect