Skip to main content

Document Insighter Python Client

Project description

Document Insighter Client

Document Insighter Client is a Python library for interacting with the Document Insighter API. It allows you to query document extractions and process the data for various document types.

Getting Started

Prerequisites

  • Python 3.7+

Installation

  1. Install the required dependencies using the provided requirements.txt:

    pip install -U document-insighter
    

Getting Started

The following steps demonstrate how to use the Document Insighter Client in your Python project:

Okta Based Authentication

  • Include the necessary environment variables in your project or by setting them in your environment. The required environment variables are:

    • INSIGHTER_CLIENT_IDP
    • INSIGHTER_CLIENT_ID
    • INSIGHTER_CLIENT_SECRET
    • INSIGHTER_CLIENT_TOKEN_PATH
    • INSIGHTER_TENANT
  • Now, let's proceed to the next step. Install the required packages for the example script.

pip install pandas==2.2.2
  • Once the packages are installed, you can run the example to fetch and print out document extractions within the specified date range.
python example/query_extractions_okta.py --category NB_COA --start_date 2024-05-01 --end_date 2024-07-10 --page_size 50 --tags HB_Ops tag1 tag2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

document_insighter-0.0.11-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file document_insighter-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for document_insighter-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 30480cab8bb2dcfecfc57b584115d2559198126ca93613eb396d5d9be1c394ce
MD5 f1dd6de172319546515d6ea8b091f3c6
BLAKE2b-256 955c16cb61e6e922e4eb6d59ead1e365757411bb586857ce4f1f131f28c1a583

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page