pypd
A python client for PagerDuty API
What it is and what it does
pypd is a Python wrapper around PagerDuty's v2 API that lets you query and manipulate incidents, escalation policies, users, and events programmatically. You set an API key and then use object-oriented methods like Incident.find(), User.find_one(), and incident.snooze() to interact with your PagerDuty account. The library handles HTTP communication via requests and provides convenient access to nested resources—for example, fetching log entries or alerts attached to an incident.
However, this project has been deprecated. The repository is archived, with the last commit on 2020-06-23 and no releases since 2018-03-26. Installing pypd means accepting an unmaintained codebase that will not receive security patches, bug fixes, or API updates.
Use it for:
- Automate incident response workflows by querying and updating incidents programmatically
- Create events and alerts in PagerDuty from monitoring or logging systems
- Build internal dashboards or reports that pull incident and escalation policy data
- Integrate PagerDuty on-call rotations with other tools via the API
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client for PagerDuty's v2 API that provides object-oriented access to incidents, escalation policies, users, and events.
No. The package is explicitly deprecated and abandoned. Although it has low install friction and a permissive MIT license, the last release was in 2018 and the repository has been archived since 2020. Installing an unmaintained package for a critical service like incident management introduces security and compatibility risks with no path forward for updates.
Install
pypd on PyPI
pip
pip install pypduv
uv add pypdpoetry
poetry add pypdInstalling pypd
Before you install
Low install friction with only two runtime dependencies (requests and six), but the package is abandoned as of 2020 with no maintenance since June 2020.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install pypd
import pypd
pypd.api_key = "SOMESECRETAPIKEY"
incidents = pypd.Incident.find(maximum=10)
ep = pypd.EscalationPolicy.find_one()
print(ep['id'])
Requires a valid PagerDuty API key; package is unmaintained and may not work with current PagerDuty API versions
Verify before relying
- Current compatibility with modern PagerDuty API versions and Python 3.x
- Security implications of using an unmaintained package in production
- Whether the recommended successor is a direct replacement
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, six |
| Maintenance | abandoned — 3,063 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 545,801/month — #6,074 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pypd-1.1.0-py2-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pagerdutyLightweight Python client library for…
unclear · top 5,000 on PyPI
pdpyrasA REST API client library for PagerDuty that…
permissive · top 5,000 on PyPI
pygerdutyPygerduty is a Python client library for…
permissive · top 15,000 on PyPI
pulumi-pagerdutyA Pulumi resource provider that lets you…
permissive · top 15,000 on PyPI
pagerduty-mcpAn MCP (Model Context Protocol) server that…
unclear · top 15,000 on PyPI
apache-airflow-providers-pagerdutyIntegrates PagerDuty incident management with…
permissive · top 5,000 on PyPI
opsgenie-sdkPython client library for the Opsgenie REST…
permissive · top 5,000 on PyPI
dagster-pagerdutyIntegrates PagerDuty incident management with…
permissive · top 15,000 on PyPI
datadog-api-clientPython client library for the Datadog API,…
permissive · top 1,000 on PyPI
python-mpd2Provides a Python client library to communicate…
copyleft · top 15,000 on PyPI