azure-ai-documentintelligence
Microsoft Azure AI Document Intelligence Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is a production-stable, actively maintained official Azure SDK with low install friction, permissive licensing, no known vulnerabilities, and a clear use case for anyone building document analysis into an Azure-backed application. Install it if you need to integrate Document Intelligence into a Python project; skip it if you don't use Azure or need a different document processing backend.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later and an active Azure subscription with a Document Intelligence resource provisioned; async operations require aiohttp installed separately.
- Low friction: pure Python wheel with only three runtime dependencies (isodate, azure-core, typing-extensions).
- Actively maintained with recent releases; repository shows 5588 stars and last commit on 2026-08-14.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive): you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions, provided you retain the license notice.
last release 2025-03-27 (505 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,073,052 downloads/mo, #1,486 on PyPI
Alternatives
Verify before relying
pip install azure-ai-documentintelligence
from azure.core.credentials import AzureKeyCredential
from azure.ai.documentintelligence import DocumentIntelligenceClient
endpoint = "https://<resource>.cognitiveservices.azure.com/"
credential = AzureKeyCredential("<api_key>")
client = DocumentIntelligenceClient(endpoint, credential)- Whether the package's async transport (aiohttp) is commonly needed for typical use cases or mainly for specialized workloads.
- Performance characteristics when processing large batches or high-resolution documents with add-on capabilities enabled.
What it is and what it does
This is the official Python SDK for Azure AI Document Intelligence, Microsoft's cloud-based document analysis service. It provides a client to submit documents for analysis using either prebuilt models (for receipts, invoices, business cards, ID documents, W-2 forms, and other common types) or custom models you train on your own data. The service extracts layout, text, key-value pairs, tables, barcodes, QR codes, formulas, and font/style information depending on the model and add-on capabilities you enable.
The package wraps the Azure REST API and handles authentication (API key or Azure Active Directory), request marshaling, and response parsing. It depends on azure-core for common Azure SDK patterns and isodate for date handling. The library supports both synchronous and asynchronous operations, though async requires aiohttp to be installed separately. It is actively maintained, production-stable, and widely used in the top 5000 PyPI packages by download volume.
Use it for
- Extract structured data from receipts and invoices for expense tracking or accounting automation.
- Build a custom model to extract domain-specific fields from contracts, medical forms, or insurance documents.
- Classify incoming documents by type (e.g., invoice vs. receipt vs. purchase order) before routing to different processing pipelines.
- Read and extract text and layout from scanned PDFs or images as part of a document digitization workflow.
- Detect and extract barcodes or QR codes from documents using add-on capabilities.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable, actively maintained official Azure SDK with low install friction, permissive licensing, no known vulnerabilities, and a clear use case for anyone building document analysis into an Azure-backed application. Install it if you need to integrate Document Intelligence into a Python project; skip it if you don't use Azure or need a different document processing backend.
Install
azure-ai-documentintelligence on PyPI
Before you install
Low friction: pure Python wheel with only three runtime dependencies (isodate, azure-core, typing-extensions). Actively maintained with recent releases; repository shows 5588 stars and last commit on 2026-08-14. No known vulnerabilities.
Requires Python 3.8 or later and an active Azure subscription with a Document Intelligence resource provisioned; async operations require aiohttp installed separately.
License in practice
MIT License (permissive): you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions, provided you retain the license notice.
Quickstart
pip install azure-ai-documentintelligence
from azure.core.credentials import AzureKeyCredential
from azure.ai.documentintelligence import DocumentIntelligenceClient
endpoint = "https://<resource>.cognitiveservices.azure.com/"
credential = AzureKeyCredential("<api_key>")
client = DocumentIntelligenceClient(endpoint, credential)
Verify before relying
- Whether the package's async transport (aiohttp) is commonly needed for typical use cases or mainly for specialized workloads.
- Performance characteristics when processing large batches or high-resolution documents with add-on capabilities enabled.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesisodateazure-coretyping-extensions |
| Maintenance | Actively maintained 505 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 10,073,052 / month, #1,486 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 :: 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_documentintelligence-1.0.2-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 › “document analysis azure”
- azure-ai-documentintelligencePython client for Azure AI Document Intelligence, a cloud service…
- azure-ai-formrecognizerExtracts text, structure, and key-value pairs from documents using…
- azure-ai-contentunderstandingExtracts structured content from documents, video, audio, and images…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also azure-ai-contentunderstanding · azure-ai-formrecognizer · azure-ai-textanalytics · azure-ai-translation-document · azure-ai-contentsafety · azure-ai-vision-imageanalysis · azure-search-documents · azure-ai-translation-text · azure-ai-language-conversations · azure-ai-language-questionanswering