Skip to main content

polaris-ai-datainsight

This package is Python SDK for Polaris AI DataInsight.

Polaris AI DataInsight is a document parser that extracts document elements (text, images, complex tables, charts, etc.) from various file formats into structured JSON, making them easy to integrate into RAG systems.

  • Supported document formats : docx, xlsx, pptx, hwpx, hwp
  • Supported elements types : text, table, image, chart, shape, header, footer, caption

Installation and Setup

You need to install a python package:

pip install -U polaris-ai-datainsight

And you should configure credentials by setting the following environment variables:

export POLARIS_AI_DATA_INSIGHT_API_KEY="your-api-key"

Refer to here how to get an Polaris AI DataInsight API key.

Document Extractor

Set the file path to extract and the directory path to store resource files included in the file:

from polaris_ai_datainsight import PolarisAIDataInsightExtractor

loader = PolarisAIDataInsightExtractor(
    file_path="path/to/file",
    resources_dir="path/to/dir"
)

Extract document data:

dict_data = loader.extract()

Metadata

Release files for polaris-ai-datainsight 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polaris-ai-datainsight 1.0.0
File Size Uploaded Provenance
polaris_ai_datainsight-1.0.0.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for polaris-ai-datainsight 1.0.0
File Interpreter ABI Platform
polaris_ai_datainsight-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / polaris_ai_datainsight-1.0.0.tar.gz

Download URL polaris_ai_datainsight-1.0.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
18dfe2a74e5ac5af5a8f861f1a5c2fb2fba9cd2f5b1d226e1ef077d70f6141c3
BLAKE2b-256 checksum
How to use checksums
e67ec60a1a778ba8343e30d50d2c03d2c18e11e01f34438b97a64a4f5abee0d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.11 Linux/5.15.153.1-microsoft-standard-WSL2

Release files / polaris_ai_datainsight-1.0.0-py3-none-any.whl

Download URL polaris_ai_datainsight-1.0.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e205a544eb69b079ee06c249f5cc0301ad419c4d6f790cf663c5dd9818b0f0ec
BLAKE2b-256 checksum
How to use checksums
c9930bc72e26b9e3627090ff14301eb05a7c11ce437c23c73c49aff3f05387e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.11 Linux/5.15.153.1-microsoft-standard-WSL2

Security for polaris-ai-datainsight 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page