skillfed

google-cloud-documentai-toolbox

google-cloud-documentai-toolbox v0.17.2 78.6K downloads/30d#14,432 on PyPI5,373
Permissive license Apache 2.0 Active released

What it is and what it does

The Document AI Toolbox is a Python library that wraps Google Cloud's Document AI service outputs—JSON files produced by BatchProcessDocuments or ProcessDocument calls—and provides programmatic utilities to manage, manipulate, and extract structured information from them. It reduces friction by offering higher-level abstractions over raw Document AI JSON, integrating with GCS for file access, BigQuery for data warehousing, and pandas for data analysis.

The library is maintained as part of the googleapis/google-cloud-python monorepo and is currently in an experimental (Alpha) state, meaning its API may change between releases. It requires Python 3.10 or later and depends on google-cloud-storage, google-cloud-bigquery, google-cloud-vision, pandas, and several other data-processing libraries. Setup requires enabling the Storage API, Document AI API, and optionally BigQuery API in your GCP project, plus authentication configuration.

Use it for:

  • Extract structured data from Document AI batch processing outputs stored in GCS and load into BigQuery for analytics
  • Programmatically post-process Document AI JSON responses to normalize, filter, or enrich extracted document fields
  • Build data pipelines that consume Document AI outputs, transform them with pandas, and export to downstream systems
  • Manipulate multi-page document extractions and coordinate results across batch and synchronous Document AI calls

Worth the install?

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

Programmatically manage, manipulate, and extract information from Google Cloud Document AI outputs stored in GCS buckets and processed via BatchProcessDocuments or ProcessDocument methods.

Yes, if you are actively using Google Cloud Document AI and need to process its outputs at scale. The library is actively maintained, has low install friction, and integrates well with GCP services. However, be aware of its Alpha status—expect potential breaking changes between releases, and review the changelog before upgrading in production. If you are only doing light, ad-hoc Document AI work, the overhead may not justify the dependency footprint.

Install

google-cloud-documentai-toolbox on PyPI

pip

pip install google-cloud-documentai-toolbox

uv

uv add google-cloud-documentai-toolbox

poetry

poetry add google-cloud-documentai-toolbox

Installing google-cloud-documentai-toolbox

Before you install

Active maintenance with a recent release (8 days old). Low install friction; pure Python wheel with 16 runtime dependencies including google-cloud-storage, google-cloud-bigquery, and pandas. Requires Python 3.10 or later.

License in practice

Apache 2.0 permissive license; you may use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.

Quickstart

pip install google-cloud-documentai-toolbox

from google.cloud import documentai_toolbox

# Process Document AI outputs from GCS
toolbox = documentai_toolbox.Document()

Requires Python >= 3.10. You must enable Google Cloud Storage API and Document AI API in your GCP project, and set up authentication via service account or Application Default Credentials.

Verify before relying

  • Whether the library's experimental status (Alpha) means breaking changes are likely in near-term releases
  • What specific Document AI processor types or output formats are fully supported
  • Performance characteristics when processing large batches of documents

Package facts

License Apache 2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 16 — google-api-core, pandas, pyarrow, tabulate, proto-plus, grpc-google-iam-v1, google-cloud-bigquery, google-cloud-documentai, google-cloud-storage, google-cloud-vision, numpy, intervaltree, pikepdf, immutabledict, Pillow, Jinja2
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 78,554/month — #14,432 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: google_cloud_documentai_toolbox-0.17.2-py3-none-any.whl

Development Status :: 3 - AlphaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules

Tags

document ai output processinggcs batch document extractiondocument ai json parsingcloud document management toolboxdocument ai data manipulation
gcp-integrationdocument-processingdata-extraction

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

google-cloud-documentai

Python client library for Google Cloud Document…

permissive · top 5,000 on PyPI

google-cloud-batch

A Python client library for Google Cloud Batch…

permissive · top 1,000 on PyPI

google-cloud-storage-control

Python client library for Google Cloud Storage…

permissive · top 5,000 on PyPI

google-cloud-notebooks

Provides a Python client to manage notebook…

permissive · top 15,000 on PyPI

google-cloud-asset

Python client library for Google Cloud Asset…

permissive · top 5,000 on PyPI

google-cloud-bigquery-storage

Provides a Python client library for reading…

permissive · top 1,000 on PyPI

google-cloud-storage-transfer

Python client library for Google Cloud Storage…

permissive · top 1,000 on PyPI

google-cloud-dns

Python client library for Google Cloud DNS API…

permissive · top 15,000 on PyPI

google-cloud-firestore

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-billing

Programmatic access to Google Cloud Platform…

permissive · top 15,000 on PyPI