{"id":18533223,"url":"https://github.com/googleapis/python-documentai-toolbox","last_synced_at":"2025-03-22T03:03:16.103Z","repository":{"id":65624152,"uuid":"528145926","full_name":"googleapis/python-documentai-toolbox","owner":"googleapis","description":"Document AI Toolbox is an SDK for Python that provides utility functions for managing, manipulating, and extracting information from the document response. It creates a \"wrapped\" document object from JSON files in Cloud Storage, local JSON files, or output directly from the Document AI API.","archived":false,"fork":false,"pushed_at":"2024-09-16T22:27:00.000Z","size":18370,"stargazers_count":32,"open_issues_count":10,"forks_count":13,"subscribers_count":22,"default_branch":"main","last_synced_at":"2024-09-17T03:26:26.368Z","etag":null,"topics":["ai","document-ai","gcp","generative-ai","google-cloud","google-cloud-platform","vertex-ai"],"latest_commit_sha":null,"homepage":"https://cloud.google.com/document-ai/docs/toolbox","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googleapis.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-23T20:06:01.000Z","updated_at":"2024-09-16T22:27:02.000Z","dependencies_parsed_at":"2024-01-03T00:38:07.128Z","dependency_job_id":"ce8b838d-3801-4ef3-ac8e-28e198b15e30","html_url":"https://github.com/googleapis/python-documentai-toolbox","commit_stats":{"total_commits":75,"total_committers":9,"mean_commits":8.333333333333334,"dds":0.4933333333333333,"last_synced_commit":"799320c258a3e688a7e0095a5cf544b6c5238df5"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fpython-documentai-toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fpython-documentai-toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fpython-documentai-toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fpython-documentai-toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleapis","download_url":"https://codeload.github.com/googleapis/python-documentai-toolbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898429,"owners_count":20528336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","document-ai","gcp","generative-ai","google-cloud","google-cloud-platform","vertex-ai"],"created_at":"2024-11-06T19:10:18.894Z","updated_at":"2025-03-22T03:03:16.080Z","avatar_url":"https://github.com/googleapis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Document AI Toolbox\n=================================\n\n|experimental| |versions|\n\n`Document AI Toolbox`_: Document AI Toolbox aims to reduce the friction of managing, manipulating, and extracting information from outputs of Document AI ``BatchProcessDocuments()`` (JSON files written to user-managed GCS buckets) and ``ProcessDocument()`` methods, programmatically.\n\n**Disclaimer**\n\nThe Document AI Toolbox is in an experimental state. This library is a work-in-progress and is likely to have backwards-incompatible changes. Users of the toolbox might need to rewrite their code when upgrading the toolbox version.\n\n.. |experimental| image:: https://img.shields.io/badge/support-experimental-red.svg\n   :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels\n.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-documentai-toolbox.svg\n   :target: https://pypi.org/project/google-cloud-documentai-toolbox/\n\n\nQuick Start\n-----------\n\nIn order to use this library, you first need to go through the following steps:\n\nEnabling Document AI may not be technically required to use this library, unless ``ProcessDocument()`` is intended to be used.\nBut you must enable the Storage API to access GCS buckets that contains the output of ``BatchProcessDocument()``. \nYou will need to enable the BigQuery API if you intend to use the BigQuery features.\n\n1. `Select or create a Cloud Platform project.`_\n2. `Enable billing for your project.`_\n3. `Enable the Storage API.`_\n4. `Enable the Document AI API.`_\n5. `Enable the BigQuery API.`_\n6. `Setup Authentication.`_\n\n.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project\n.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project\n.. _Enable the Storage API.:  https://cloud.google.com/storage/docs\n.. _Enable the Document AI API.:  https://cloud.google.com/document-ai/docs\n.. _Enable the BigQuery API.:  https://cloud.google.com/bigquery/docs\n.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html\n\nInstallation\n~~~~~~~~~~~~\n\nInstall this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to\ncreate isolated Python environments. The basic problem it addresses is one of\ndependencies and versions, and indirectly permissions.\n\nWith `virtualenv`_, it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/\n\n\nCode samples and snippets\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nCode samples and snippets live in the `samples/` folder.\n\n\nSupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^\nOur client libraries are compatible with all current `active`_ and `maintenance`_ versions of\nPython.\n\nPython \u003e= 3.8\n\n.. _active: https://devguide.python.org/devcycle/#in-development-main-branch\n.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches\n\nUnsupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\nPython \u003c= 3.7\n\n**NOTE**:\nPython 3.7 was marked as `unsupported`_ by the python community in June 2023.\nWe recommend that all developers upgrade to Python 3.8 and newer as soon as\nthey can. Support for Python 3.7 will be removed from all client libraries after\nJanuary 1 2024. Client libraries that support Python 3.7 will continue to be available\nfor download, but releases after January 1 2024 will only target Python 3.8 and\nnewer.\n\n.. _unsupported: https://devguide.python.org/versions/#unsupported-versions\n\nIf you are using an `end-of-life`_\nversion of Python, we recommend that you update as soon as possible to an actively supported version.\n\n.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches\n\nMac/Linux\n^^^^^^^^^\n\n.. code-block:: console\n\n    pip install virtualenv\n    virtualenv \u003cyour-env\u003e\n    source \u003cyour-env\u003e/bin/activate\n    \u003cyour-env\u003e/bin/pip install google-cloud-documentai-toolbox\n\n\nWindows\n^^^^^^^\n\n.. code-block:: console\n\n    pip install virtualenv\n    virtualenv \u003cyour-env\u003e\n    \u003cyour-env\u003e\\Scripts\\activate\n    \u003cyour-env\u003e\\Scripts\\pip.exe install google-cloud-documentai-toolbox\n\nNext Steps\n~~~~~~~~~~\n\n-  Read the `Document AI product documentation`_ to learn\n   more about the product and see How-to Guides.\n-  Read the `Client Library Documentation`_ for Document AI Toolbox\n   to see other available methods on the client.\n-  View this `README`_ to see the full list of Cloud\n   APIs that we cover.\n\n.. _`Client Library Documentation`: https://cloud.google.com/python/docs/reference/documentai-toolbox/latest\n.. _`Document AI documentation`:  https://cloud.google.com/document-ai\n.. _`Document AI product documentation`: https://cloud.google.com/document-ai/docs/overview\n.. _`README`: https://github.com/googleapis/python-documentai-toolbox/blob/main/README.rst\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleapis%2Fpython-documentai-toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleapis%2Fpython-documentai-toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleapis%2Fpython-documentai-toolbox/lists"}