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
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file document_insighter-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: document_insighter-0.0.11-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30480cab8bb2dcfecfc57b584115d2559198126ca93613eb396d5d9be1c394ce |
|
MD5 | f1dd6de172319546515d6ea8b091f3c6 |
|
BLAKE2b-256 | 955c16cb61e6e922e4eb6d59ead1e365757411bb586857ce4f1f131f28c1a583 |