Skip to main content

This package is Python SDK for Polaris AI DataInsight.

Project description

logo polaris-ai-datainsight

This package is Python SDK for Polaris AI DataInsight.

Converts documents in various formats—including Word, HWP, Sheets, and Slides—into structured JSON data.

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()

Project details


Download files

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

Source Distribution

polaris_ai_datainsight-0.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polaris_ai_datainsight-0.0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file polaris_ai_datainsight-0.0.1.tar.gz.

File metadata

  • Download URL: polaris_ai_datainsight-0.0.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.9 Windows/10

File hashes

Hashes for polaris_ai_datainsight-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2c4e975a8e48dab5d4226d97f27bfd7f9e57c47e9efb7e40223dadaf2aaf46d5
MD5 d7ffb9bdce38ffd8b1efc3763df200af
BLAKE2b-256 79bed23483d4292f7c33ec6584f3eb8289907eb8c31e81dd925fddc145189ec1

See more details on using hashes here.

File details

Details for the file polaris_ai_datainsight-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for polaris_ai_datainsight-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bc9492e41c1cf9dfa038a975f0b3fd9d163c0fcf6f3c04ec767e269062129c8
MD5 4ce99195ef71b23bc27f1f62ef67d2a6
BLAKE2b-256 2ffe4a38058511c213b8ca4c768efe55c70040f6e46b95c3c4143985665d6116

See more details on using hashes here.

Supported by

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