opsgenie-sdk
Python SDK for Opsgenie REST API
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is stable, permissive-licensed, and carries no known vulnerabilities. Install friction is low and dependencies are mature. However, the package has been dormant since August 2021 (1838 days); before adopting it, verify that your Opsgenie API version and feature set align with what the 2.0.0 SDK supports, and confirm that no breaking changes have occurred in Opsgenie's service since the last release.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Opsgenie API key; European accounts must set configuration.host to 'https://api.eu.opsgenie.com'.
- Low friction install with stable, widely-used dependencies.
- Package is dormant (last release 2021-08-02, 1838 days ago) but carries no known vulnerabilities and remains in production-stable status.
License · maintenance · safety
permissive license (permissive) — Permissive Apache license allows commercial and private use with minimal restrictions.
last release 2021-08-02 (1838 days) · last repo commit 2024-01-08 · 50 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,323,013 downloads/mo, #1,931 on PyPI
Alternatives
Verify before relying
pip install opsgenie-sdk
import opsgenie_sdk
from opsgenie_sdk.rest import ApiException
configuration = opsgenie_sdk.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
api_instance = opsgenie_sdk.AlertApi(opsgenie_sdk.ApiClient(configuration))
alerts = api_instance.list_alerts()- Whether the package remains compatible with Opsgenie API changes since its last release in August 2021.
- Whether Python 2.7 support claim in description is still relevant or if only Python 3.4+ is actively maintained.
What it is and what it does
opsgenie-sdk is an auto-generated Python client for Opsgenie's REST API (version 2.0.0), built by the OpenAPI Generator project. It wraps HTTP communication with urllib3, certifi, and tenacity to provide typed Python classes for alert creation, acknowledgment, escalation, and closure; heartbeat management; incident operations; and account queries. The library handles API authentication via key-based configuration and supports both standard and European Opsgenie endpoints.
The package is designed for developers who need to integrate alert and incident management into Python applications—typically for automation, monitoring dashboards, or incident response workflows. It abstracts away REST endpoint details and error handling, letting you work with Opsgenie operations as Python method calls. The dormant maintenance status (last update August 2021) means the API surface is stable but may not reflect very recent Opsgenie service changes.
Use it for
- Automate alert creation and management from Python monitoring or logging systems.
- Build incident response workflows that programmatically escalate, assign, or close incidents.
- Implement heartbeat monitoring to detect service outages and trigger alerts.
- Query account information and alert history for reporting or audit purposes.
- Integrate Opsgenie operations into Python-based DevOps or SRE tooling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is stable, permissive-licensed, and carries no known vulnerabilities. Install friction is low and dependencies are mature. However, the package has been dormant since August 2021 (1838 days); before adopting it, verify that your Opsgenie API version and feature set align with what the 2.0.0 SDK supports, and confirm that no breaking changes have occurred in Opsgenie's service since the last release.
Install
opsgenie-sdk on PyPI
Before you install
Low friction install with stable, widely-used dependencies. Package is dormant (last release 2021-08-02, 1838 days ago) but carries no known vulnerabilities and remains in production-stable status.
Requires a valid Opsgenie API key; European accounts must set configuration.host to 'https://api.eu.opsgenie.com'.
License in practice
Permissive Apache license allows commercial and private use with minimal restrictions.
Quickstart
pip install opsgenie-sdk
import opsgenie_sdk
from opsgenie_sdk.rest import ApiException
configuration = opsgenie_sdk.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
api_instance = opsgenie_sdk.AlertApi(opsgenie_sdk.ApiClient(configuration))
alerts = api_instance.list_alerts()
Verify before relying
- Whether the package remains compatible with Opsgenie API changes since its last release in August 2021.
- Whether Python 2.7 support claim in description is still relevant or if only Python 3.4+ is actively maintained.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesurllib3sixcertifipython-dateutilsetuptoolstenacity |
| Maintenance | Dormant 1,838 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,323,013 / month, #1,931 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS Independent |
Evidence: opsgenie_sdk-2.1.5-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 › “opsgenie api client”
- opsgenie-sdkPython client library for the Opsgenie REST API, enabling…
- apache-airflow-providers-opsgenieIntegrates Apache Airflow with Opsgenie to send alerts and…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also apache-airflow-providers-opsgenie · datadog-api-client · pypd · pygerduty · orq-ai-sdk · whylabs-client · mixpeek · qase-api-client · azure-mgmt-securityinsight · authentik-client