skillfed

pypd

A python client for PagerDuty API

pypd v1.1.0 545.8K downloads/30d#6,074 on PyPI81
Permissive license MIT Abandoned released

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 pypd

uv

uv add pypd

poetry

poetry add pypd

Installing 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

Programming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Tags

pagerduty api client pythonpagerduty incident managementpagerduty python sdkon-call alerting integrationpagerduty rest api wrapper
deprecatedpagerduty-integration

More Software Development packages