pygerduty
Python Client Library for PagerDuty's REST API
Decision gist · record as of 2026-08-14
No—not recommended for new projects. The package is abandoned (last release 2020-04-22, no commits since 2023-05-09) and only partially supports PagerDuty's v2 API. While it has low install friction and a permissive MIT license, the lack of maintenance and incomplete API coverage make it a poor choice for production use. Consider using PagerDuty's official client libraries or a more actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid PagerDuty API key.
- The library supports Python 2.7 and Python 3.6+, though it is no longer actively maintained.
- Low install friction with a single runtime dependency (six).
License · maintenance · safety
MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
last release 2020-04-22 (2305 days) · last repo commit 2023-05-09 · 165 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 232,186 downloads/mo, #9,073 on PyPI
Alternatives
Verify before relying
pip install pygerduty
import pygerduty.v2
pager = pygerduty.v2.PagerDuty("SOMEAPIKEY123456")
for schedule in pager.schedules.list():
print(schedule.id, schedule.name)- Whether v2 API support is complete enough for current PagerDuty API versions
- Compatibility with modern Python versions beyond 3.6
- Whether the Events API module is fully functional
What it is and what it does
Pygerduty is a thin wrapper around PagerDuty's REST and Events APIs, allowing Python developers to programmatically manage schedules, users, incidents, and overrides. The library provides standard resource methods (list, show, create, update, delete) that map to PagerDuty's API endpoints. It was originally built for API v1 and has been partially updated for v2; the codebase is split into separate modules for v2 REST logic, Events API logic, and shared utilities.
The package is no longer actively maintained—the last release was in 2020 and the repository has seen no commits since 2023. While it remains functional for basic use cases, it is not updated to follow PagerDuty's current API evolution, and backwards compatibility is not guaranteed between versions. Developers should verify that the v2 implementation covers their specific use case before relying on it in production.
Use it for
- Automate on-call schedule management and retrieve user schedules from PagerDuty
- Programmatically create and manage schedule overrides for temporary coverage
- Query and acknowledge triggered incidents in bulk or by user
- Build internal tools that integrate PagerDuty incident data with other systems
- Send events to PagerDuty via the Events API for alerting workflows
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not recommended for new projects.
The package is abandoned (last release 2020-04-22, no commits since 2023-05-09) and only partially supports PagerDuty's v2 API. While it has low install friction and a permissive MIT license, the lack of maintenance and incomplete API coverage make it a poor choice for production use. Consider using PagerDuty's official client libraries or a more actively maintained alternative.
Install
pygerduty on PyPI
Before you install
Low install friction with a single runtime dependency (six). However, the package is abandoned—last release was 2020-04-22 and no commits since 2023-05-09. It was originally written for v1 API and is only partially updated for v2, with backwards compatibility not guaranteed.
Requires a valid PagerDuty API key. The library supports Python 2.7 and Python 3.6+, though it is no longer actively maintained.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
Quickstart
pip install pygerduty
import pygerduty.v2
pager = pygerduty.v2.PagerDuty("SOMEAPIKEY123456")
for schedule in pager.schedules.list():
print(schedule.id, schedule.name)
Verify before relying
- Whether v2 API support is complete enough for current PagerDuty API versions
- Compatibility with modern Python versions beyond 3.6
- Whether the Events API module is fully functional
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagesix |
| Maintenance | Abandoned 2,305 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 232,186 / month, #9,073 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: PythonTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pygerduty-0.38.3-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 › “on-call scheduling automation”
- pygerdutyPygerduty is a Python client library for PagerDuty's REST API and…
- pagerduty-mcpAn MCP (Model Context Protocol) server that connects AI assistants in…
- pagerdutyLightweight Python client library for PagerDuty's REST API v2 and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pagerduty · pdpyras · pypd · pulumi-pagerduty · apache-airflow-providers-pagerduty · opsgenie-sdk · pagerduty-mcp · dagster-pagerduty · datadog-api-client · py-dactyl