skillfed

azure-ai-translation-document

Microsoft Azure Ai Translation Document Client Library for Python

azure-ai-translation-document v2.0.0 377.3K downloads/30d#7,125 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This package is a Python client for Azure's Document Translation service, a cloud-based API that translates multiple documents stored in Azure Blob Storage containers while maintaining their original structure and formatting. It handles the orchestration of translation jobs across languages and dialects, allowing you to specify source and target storage containers and monitor translation progress document-by-document.

The client abstracts away the complexity of calling Azure's translation REST API directly. It depends on azure-core for credential handling and HTTP communication, isodate for date parsing, and typing-extensions for type hints. You authenticate with either an API key or Azure Active Directory, then call begin_translation() to start a batch job, optionally applying custom translation models or glossaries to tailor results to your domain.

Use it for:

  • Translate a batch of PDFs or Word documents from one language to another while keeping formatting intact for downstream processing.
  • Build a multilingual content pipeline that automatically translates documents uploaded to a source blob container and writes results to a target container.
  • Monitor the progress of individual documents within a large translation operation to track completion and identify failures.
  • Apply domain-specific glossaries or custom translation models to ensure terminology consistency in technical or specialized documents.
  • Enumerate past and current translation operations to audit translation history and retrieve previously translated documents.

Worth the install?

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

Translates documents stored in Azure Blob Storage across languages while preserving structure and format, with support for custom translation models and glossaries.

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with Azure's ecosystem. It is suitable for any Python project that needs to translate documents at scale while preserving formatting. No known vulnerabilities. Requires an Azure subscription and Translator resource to be useful.

Install

azure-ai-translation-document on PyPI

pip

pip install azure-ai-translation-document

uv

uv add azure-ai-translation-document

poetry

poetry add azure-ai-translation-document

Installing azure-ai-translation-document

Before you install

Low install friction with a pure Python wheel. Actively maintained with a release 16 days old; repository shows consistent activity and no archived status.

License in practice

MIT License permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install azure-ai-translation-document

from azure.core.credentials import AzureKeyCredential
from azure.ai.translation.document import DocumentTranslationClient

client = DocumentTranslationClient(endpoint, AzureKeyCredential(key))
poller = client.begin_translation(source_url, target_url, target_language)

Requires Python 3.9 or later. Requires an active Azure subscription and Translator resource with endpoint and API key or Azure Active Directory credentials.

Verify before relying

  • Whether custom translation models and glossaries are fully integrated or require separate setup steps beyond this client library.
  • Performance characteristics and throughput limits for large-scale batch document translation operations.
  • Whether the service version 2026-03-01 mentioned in the description is current or if newer versions are available.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-core, typing-extensions
Maintenance actively maintained — 16 days since the last release
Last repo commit
First released
Downloads 377,315/month — #7,125 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_ai_translation_document-2.0.0-py3-none-any.whl

Keywords: azure, azure sdk

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.13Programming Language :: Python :: 3.9

Tags

azure document translationbatch document translationazure blob storage translationmultilingual document processingcloud document translation servicepreserve document format translationazure cognitive services translation
azure-sdkdocument-translationbatch-processing

More Linguistic packages

charset-normalizer

Detects and normalizes text encoding from…

permissive · top 100 on PyPI

tiktoken

tiktoken is a fast BPE tokenizer that converts…

permissive · top 1,000 on PyPI

chardet

Detects character encoding and language in byte…

permissive · top 1,000 on PyPI

text-unidecode

Converts Unicode text to ASCII by…

copyleft · top 1,000 on PyPI

lark

Lark is a parsing library that builds abstract…

permissive · top 1,000 on PyPI

tree-sitter

Python bindings to the tree-sitter parsing…

permissive · top 1,000 on PyPI

azure-ai-documentintelligence

Python client for Azure AI Document…

permissive · top 5,000 on PyPI

azure-ai-translation-text

Provides a Python client for Azure's neural…

unclear · top 15,000 on PyPI

BabelDOC

BabelDOC translates PDF documents between…

agpl · top 15,000 on PyPI

azure-ai-formrecognizer

Extracts text, structure, and key-value pairs…

permissive · top 5,000 on PyPI

azure-ai-textanalytics

Provides Python bindings to Azure's cloud-based…

permissive · top 15,000 on PyPI

azure-ai-language-questionanswering

Python client library for Azure's Question…

permissive · top 15,000 on PyPI

azure-search-documents

Client library for querying, indexing, and…

unclear · top 5,000 on PyPI

azure-ai-language-conversations

A Python client library for Azure…

permissive · top 15,000 on PyPI

azure-storage-blob

Client library for uploading, downloading, and…

permissive · top 1,000 on PyPI

deep-translator

Translates text between languages using…

permissive · top 5,000 on PyPI