Skip to main content

asyncpd

asyncio compatible PagerDuty REST API client with dataclass-typed response models.

ci PyPI version

Usage

Here is an example usage snippet for interacting with the PagerDuty API with this package:

import asyncio

from asyncpd import APIClient


async def main():
    client = APIClient(
        token="my_pagerduty_oauth_token",
    )

    print(await client.abilities.list())
    print(await client.abilities.is_enabled("sso"))


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

Supported APIs

The following list displays what API resources are available in this package.

  • Abilities
  • Addons
  • Analytics
  • Audit
  • Automation Actions
  • Paused Incident Reports
  • Business Services
  • Custom Fields
  • Change Events
  • Escalation Policies
  • Event Orchestrations
  • Extension Schemas
  • Extensions
  • Incidents
  • Incident Workflows
  • Licenses
  • Log Entries
  • Maintenance Windows
  • Notifications
  • On-Calls
  • Priorities
  • Response Plays
  • Rulesets
  • Schedules
  • Service Dependencies
  • Services
  • Webhooks
  • Standards
  • Status Dashboards
  • Tags
  • Teams
  • Templates
  • Users
  • Vendors
  • EventsV2

Metadata

Release files for asyncpd 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asyncpd 0.0.2
File Size Uploaded
asyncpd-0.0.2.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asyncpd 0.0.2
File Interpreter ABI Platform
asyncpd-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 35.0 kB

Release files / asyncpd-0.0.2.tar.gz

Download URL asyncpd-0.0.2.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
82587ce2f0d66d97fa0b020154d4b7f2e3b128e4e5e9ee1c32fef47327e9567e
BLAKE2b-256 checksum
How to use checksums
a80c5539c358b2cc0b93e0dca86921851a727adfd2512db7ef706c86c3aa56d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / asyncpd-0.0.2-py3-none-any.whl

Download URL asyncpd-0.0.2-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dd7362e4dce124bd85bf47f617a6d6d49d9f2ae50d6d03184985e335a912b72
BLAKE2b-256 checksum
How to use checksums
0cc9898878302ed642c8ac801a9c372a6ba4cb6301236e967f7fbd2e9cf8a56b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page