skillfed

azure-applicationinsights

Microsoft Azure Application Insights Client Library for Python

azure-applicationinsights v0.1.1 1.6M downloads/30d#3,707 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

azure-applicationinsights is a deprecated Python client library for the Azure Application Insights service. It was designed to enable querying and retrieving telemetry data from Application Insights instances, but Microsoft stopped maintaining it in early 2022 and explicitly recommends migrating to the azure-monitor-query package instead.

The package depends on msrest, azure-common, and azure-nspkg for authentication and Azure SDK integration. While it carries low install friction and has no known vulnerabilities, its unmaintained status means it will not receive bug fixes, security patches, or compatibility updates for newer Python versions or Azure service changes. New projects should avoid it in favor of the recommended replacement.

Use it for:

  • Querying historical Application Insights telemetry data from legacy Python applications that cannot yet migrate to azure-monitor-query.
  • Retrieving application performance metrics and custom events from Azure Application Insights in older codebases.
  • Accessing Application Insights analytics results programmatically in Python 2.7 or early Python 3 environments where newer SDKs may not be compatible.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python client library for querying Azure Application Insights data, though the package is no longer maintained and has been superseded by azure-monitor-query.

No. The package is explicitly unmaintained as of 2022-02-11 and Microsoft directs all users to migrate to azure-monitor-query. While it has low install friction and no known vulnerabilities, its inactive status means no future support, security updates, or compatibility fixes. Install only if you are maintaining legacy code that cannot yet be refactored; otherwise use azure-monitor-query.

Install

azure-applicationinsights on PyPI

pip

pip install azure-applicationinsights

uv

uv add azure-applicationinsights

poetry

poetry add azure-applicationinsights

Installing azure-applicationinsights

Before you install

Low install friction, but the package has not been updated since 2022-02-11 and is explicitly marked as no longer maintained. The repository remains active, but this package itself is inactive per its Development Status classifier.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions, making licensing a non-concern for adoption decisions.

Quickstart

pip install azure-applicationinsights

from azure.applicationinsights import ApplicationInsightsDataClient
from msrest.authentication import BasicAuthentication

# Requires Application Insights API key and app ID
client = ApplicationInsightsDataClient(credentials)

Requires valid Azure Application Insights credentials (API key and application ID) and the msrest authentication module to be properly configured.

Verify before relying

  • Whether the package still works reliably with current versions of its runtime dependencies (msrest, azure-common, azure-nspkg) despite being unmaintained.
  • Whether existing code using this package can be safely migrated to azure-monitor-query without breaking changes.

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — msrest, azure-common, azure-nspkg
Maintenance actively maintained — 1,645 days since the last release
Last repo commit
First released
Downloads 1,625,030/month — #3,707 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_applicationinsights-0.1.1-py2.py3-none-any.whl

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

azure application insights clientazure monitoring queryapplication insights python sdkazure telemetry data accessdeprecated azure monitoring library
deprecatedazure-sdklegacy

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

azure-loganalytics

Provides a Python client for querying Azure Log…

permissive · top 5,000 on PyPI

azure-monitor-query

Executes read-only queries against Azure…

permissive · top 5,000 on PyPI

applicationinsights

Sends telemetry events, metrics, and traces to…

permissive · top 5,000 on PyPI

azure-cognitiveservices-knowledge-qnamaker

Provides a Python client library for…

permissive · top 15,000 on PyPI

azure-mgmt-applicationinsights

Manages Azure Application Insights…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-policyinsights

Provides programmatic access to Azure Policy…

unclear · top 5,000 on PyPI

azure-mgmt-streamanalytics

Provides Python client library for managing…

permissive · top 15,000 on PyPI

azure-mgmt

This package is deprecated as of v5.0.0 and…

permissive · top 5,000 on PyPI

azure-monitor-opentelemetry

Bundles OpenTelemetry SDK and Azure Monitor…

permissive · top 5,000 on PyPI