$npx skillfedfor your agent

google-cloud-documentai

Google Cloud Documentai API client library

With conditionsPyPI InternetReleased Jun 20263.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_cloud_documentai-3.15.0-py3-none-any.whl
v3.15.0 · released 2026-06-03 · Python >=3.10 · 5 runtime deps: grpcio, proto-plus, protobuf, google-api-core, google-auth

Yes, if you have a Google Cloud project with Document AI enabled and need to process documents programmatically. The library is production-stable, actively maintained, has no known vulnerabilities, and integrates seamlessly with Google Cloud authentication. The main prerequisite is a working Google Cloud setup and a deployed processor; without those, the library alone is not useful.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Google Cloud project with Document AI enabled, valid credentials (via GOOGLE_APPLICATION_CREDENTIALS or Application Default Credentials), and a deployed Document AI processor.
  • Python >= 3.10 required.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and note any modifications.

last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 5,373 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,878,766 downloads/mo, #2,466 on PyPI

Verify before relying

pip install google-cloud-documentai

from google.cloud import documentai_v1

client = documentai_v1.DocumentProcessorServiceClient()
name = client.processor_path(project_id, location, processor_id)
response = client.process_document(request={"name": name, "raw_document": raw_document})
  • Specific supported document types and formats beyond the general 'unstructured or semi-structured' claim
  • Performance characteristics or throughput limits for batch processing
  • Whether the library supports all Document AI processor types or only a subset
Same gist for agents: .md · .json

What it is and what it does

This is the official Python client for Google Cloud Document AI, a managed service that uses machine learning to extract and classify information from documents. It wraps Google's REST and gRPC APIs, allowing you to send documents to pre-trained or custom Document AI processors and receive structured data back. The library handles authentication, request serialization, and response parsing, so you work with Python objects rather than raw JSON.

The package is built on standard Google Cloud infrastructure (grpcio, protobuf, google-api-core, google-auth) and requires an active Google Cloud project with Document AI enabled and at least one deployed processor. It's intended for developers integrating document processing into applications—extracting invoices, forms, contracts, or other business documents at scale.

Use it for

  • Extract line items, totals, and vendor details from invoices and receipts automatically
  • Parse form responses and structured fields from application forms or surveys
  • Classify and extract key information from contracts or legal documents
  • Batch process large volumes of documents to populate databases or data warehouses
  • Build document intake workflows that route documents based on extracted metadata

Worth the install?

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

With conditions

Yes, if you have a Google Cloud project with Document AI enabled and need to process documents programmatically.

The library is production-stable, actively maintained, has no known vulnerabilities, and integrates seamlessly with Google Cloud authentication. The main prerequisite is a working Google Cloud setup and a deployed processor; without those, the library alone is not useful.

Install

google-cloud-documentai on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a release 72 days ago. Depends on standard Google Cloud libraries (grpcio, protobuf, google-api-core, google-auth, proto-plus), all widely used and well-maintained.

Requires Google Cloud project with Document AI enabled, valid credentials (via GOOGLE_APPLICATION_CREDENTIALS or Application Default Credentials), and a deployed Document AI processor. Python >= 3.10 required.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and note any modifications.

Quickstart

pip install google-cloud-documentai

from google.cloud import documentai_v1

client = documentai_v1.DocumentProcessorServiceClient()
name = client.processor_path(project_id, location, processor_id)
response = client.process_document(request={"name": name, "raw_document": raw_document})

Verify before relying

  • Specific supported document types and formats beyond the general 'unstructured or semi-structured' claim
  • Performance characteristics or throughput limits for batch processing
  • Whether the library supports all Document AI processor types or only a subset

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
grpcioproto-plusprotobufgoogle-api-coregoogle-auth
MaintenanceActively maintained 72 days since the last release
Last repo commit
First released
Downloads3,878,766 / month, #2,466 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet

Evidence: google_cloud_documentai-3.15.0-py3-none-any.whl

Tags

Capabilities
document parsing cloud apiextract data from documentsgoogle document ai clientocr and document understandingunstructured document processinginvoice receipt extractionstructured data from documents
Topics
document-processinggoogle-cloudmachine-learning

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 parsing cloud api”

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

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

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

See also google-cloud-automl · google-cloud-documentai-toolbox · google-cloud-vision · google-cloud-firestore · google-cloud-language · google-cloud-workflows · google-cloud-translate · google-cloud-recommendations-ai · unstructured-client · google-cloud-videointelligence