$npx skillfedfor your agent

azure-ai-textanalytics

Microsoft Azure Text Analytics Client Library for Python

Worth itPyPI LinguisticReleased Mar 2026744.1K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_ai_textanalytics-5.4.0-py3-none-any.whl
v5.4.0 · released 2026-03-05 · Python >=3.8 · 4 runtime deps: azure-core, azure-common, isodate, typing-extensions

Yes. This is a production-stable, actively maintained official Microsoft SDK with low install friction, permissive MIT licensing, no known vulnerabilities, and a large user base. Install it if you need to call Azure's NLP service from Python; it is the canonical way to do so. The only prerequisite is an Azure subscription and configured credentials.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an active Azure subscription and a Cognitive Services or Language service resource with endpoint and API key.
  • Low friction install with four stable runtime dependencies (azure-core, azure-common, isodate, typing-extensions).
  • Actively maintained with recent releases; last commit 2026-08-14.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you include the license notice.

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

0 known vulnerabilities (OSV.dev, 2026-08-14) · 744,111 downloads/mo, #5,173 on PyPI

Verify before relying

pip install azure-ai-textanalytics

from azure.core.credentials import AzureKeyCredential
from azure.ai.textanalytics import TextAnalyticsClient

client = TextAnalyticsClient(
    endpoint="https://<resource-name>.cognitiveservices.azure.com/",
    credential=AzureKeyCredential("<api_key>")
)
result = client.analyze_sentiment(["I love this product!"])
  • Whether all 12 NLP features are available in the current stable API version 2023-04-01.
  • Performance characteristics and rate limits for batch processing of documents.
  • Whether regional endpoints support Azure Active Directory authentication or only custom subdomains.
Same gist for agents: .md · .json

What it is and what it does

This package is the official Python client for Azure's cloud-hosted Natural Language Processing service. It wraps the Azure Cognitive Service for Language API, allowing you to submit text documents for analysis and retrieve structured results—sentiment scores, recognized entities, detected language, extracted key phrases, PII redaction, and text summaries. You authenticate with an API key or Azure Active Directory credential and instantiate a TextAnalyticsClient pointing to your Azure resource endpoint; then you call methods on batches of documents.

The package is built on azure-core and depends on azure-common, isodate, and typing-extensions. It targets Python 3.8 and later and defaults to API version 2023-04-01, though you can select older versions (3.0, 3.1, 2022-05-01) for backward compatibility. The library is actively maintained, production-stable, and widely used; it carries no known vulnerabilities.

Use it for

  • Analyze customer feedback or reviews to extract sentiment scores and key topics at scale via cloud API.
  • Identify and redact personally identifiable information (PII) from documents before storage or sharing.
  • Extract named entities (people, organizations, locations) from unstructured text for data enrichment.
  • Detect the language of incoming user-generated content to route it to appropriate downstream processors.
  • Summarize long documents or support tickets automatically using extractive or abstractive summarization.
  • Build a multi-language content moderation pipeline by combining language detection with sentiment analysis.

Worth the install?

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

Worth it

Yes.

This is a production-stable, actively maintained official Microsoft SDK with low install friction, permissive MIT licensing, no known vulnerabilities, and a large user base. Install it if you need to call Azure's NLP service from Python; it is the canonical way to do so. The only prerequisite is an Azure subscription and configured credentials.

Install

azure-ai-textanalytics on PyPI

Before you install

Low friction install with four stable runtime dependencies (azure-core, azure-common, isodate, typing-extensions). Actively maintained with recent releases; last commit 2026-08-14. Requires Python 3.8 or later.

Requires an active Azure subscription and a Cognitive Services or Language service resource with endpoint and API key.

License in practice

MIT License permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you include the license notice.

Quickstart

pip install azure-ai-textanalytics

from azure.core.credentials import AzureKeyCredential
from azure.ai.textanalytics import TextAnalyticsClient

client = TextAnalyticsClient(
    endpoint="https://<resource-name>.cognitiveservices.azure.com/",
    credential=AzureKeyCredential("<api_key>")
)
result = client.analyze_sentiment(["I love this product!"])

Verify before relying

  • Whether all 12 NLP features are available in the current stable API version 2023-04-01.
  • Performance characteristics and rate limits for batch processing of documents.
  • Whether regional endpoints support Azure Active Directory authentication or only custom subdomains.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
azure-coreazure-commonisodatetyping-extensions
MaintenanceActively maintained 162 days since the last release
Last repo commit
First released
Downloads744,111 / month, #5,173 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: azure_ai_textanalytics-5.4.0-py3-none-any.whl

Tags

Capabilities
azure text analytics pythonsentiment analysis nlpnamed entity recognitionlanguage detection apikey phrase extractionpii detectiontext summarization
Topics
nlpcloud-apiazure-sdk
PyPI keywords
azureazure sdktext analyticscognitive servicesnatural language processing

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 text analytics python”

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

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also azure-ai-contentsafety · azure-ai-documentintelligence · azure-ai-language-conversations · azure-ai-language-questionanswering · azure-ai-translation-text · azure-ai-formrecognizer · azure-ai-translation-document · azure-cognitiveservices-speech · jigsawstack · textblob