$npx skillfedfor your agent

azure-mgmt-policyinsights

Microsoft Azure Policyinsights Management Client Library for Python

Worth itPyPI MonitoringReleased May 20266.9M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_mgmt_policyinsights-1.0.1-py3-none-any.whl
v1.0.1 · released 2026-05-19 · Python >=3.9 · 3 runtime deps: isodate, azure-mgmt-core, typing-extensions

Yes. This is the official Azure SDK client for policy insights, actively maintained with no known vulnerabilities, low install friction, and broad Python version support. Install it if you need to programmatically query Azure policy compliance, events, or restrictions. The only caveat is that license treatment is unclear in the metadata.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+.
  • Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
  • Low friction: pure Python wheel with only three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions).

License · maintenance · safety

(unclear)

last release 2026-05-19 (87 days) · last repo commit 2026-08-14 · 5,588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,908,048 downloads/mo, #1,815 on PyPI

Verify before relying

pip install azure-mgmt-policyinsights

from azure.mgmt.policyinsights import PolicyInsightsClient
from azure.identity import DefaultAzureCredential
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = PolicyInsightsClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
  • Whether additional Azure SDK components are required for full functionality in production scenarios.
  • Performance characteristics when querying large numbers of policy compliance records or events.
  • Actual license terms, as license treatment is marked unclear in metadata.
Same gist for agents: .md · .json

What it is and what it does

azure-mgmt-policyinsights is the official Microsoft Azure SDK client library for querying and managing Azure Policy Insights. It exposes operations to retrieve policy compliance data, policy events, and policy restrictions across your Azure infrastructure. The library handles authentication via Azure Active Directory and provides a Pythonic interface to the Azure Policy Insights REST API.

The package is built on azure-mgmt-core and integrates with the broader Azure SDK ecosystem. It requires Python 3.9 or later and depends on isodate for date handling and typing-extensions for type hints. The library is actively maintained as part of the official Azure SDK for Python, with support for current Python versions.

Use it for

  • Query policy compliance states and summaries across subscriptions, resource groups, or individual resources.
  • Retrieve policy events to audit when and why resources were evaluated against Azure policies.
  • Check policy restrictions to determine what actions are allowed on resources before attempting them.
  • Integrate policy insights into compliance dashboards or automated governance workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is the official Azure SDK client for policy insights, actively maintained with no known vulnerabilities, low install friction, and broad Python version support. Install it if you need to programmatically query Azure policy compliance, events, or restrictions. The only caveat is that license treatment is unclear in the metadata.

Install

azure-mgmt-policyinsights on PyPI

Before you install

Low friction: pure Python wheel with only three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Active maintenance with a recent release 87 days ago.

Requires Python 3.9+. Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.

Quickstart

pip install azure-mgmt-policyinsights

from azure.mgmt.policyinsights import PolicyInsightsClient
from azure.identity import DefaultAzureCredential
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = PolicyInsightsClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Verify before relying

  • Whether additional Azure SDK components are required for full functionality in production scenarios.
  • Performance characteristics when querying large numbers of policy compliance records or events.
  • Actual license terms, as license treatment is marked unclear in metadata.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
isodateazure-mgmt-coretyping-extensions
MaintenanceActively maintained 87 days since the last release
Last repo commit
First released
Downloads6,908,048 / month, #1,815 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: azure_mgmt_policyinsights-1.0.1-py3-none-any.whl

Tags

Capabilities
azure policy compliance queryazure policy insights clientazure policy state managementazure policy events apiazure policy restrictions check
Topics
azure-sdkpolicy-compliance
PyPI keywords
azureazure sdk

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 › “azure policy compliance query”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

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.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also azure-mgmt-applicationinsights · azure-mgmt-monitor · azure-mgmt-managementpartner · azure-mgmt-msi · azure-mgmt-iothubprovisioningservices · azure-mgmt-resourcegraph · azure-mgmt-managedservices · azure-mgmt-commerce · azure-mgmt-advisor · azure-applicationinsights