Skip to main content

Python SDK for using SOCO platform

Project description

SOCO-Doc-Parser Python SDK

Python client to use SOCO document parsing platform

Install

pip install soco-doc-parser-python

Quick Start

This following example can be found at: quick_start.py. To see more examples, check out /examples folder

First of all, register at https://app.soco.ai. After get your API_KEYs, you can setup a answer answer using 10 lines of code!

from soco_parser.doc_api import DocAPI
from soco_parser.utils import pprint_json


if __name__ == '__main__':
    PARSER_API_KEY = 'convmind'
    client = DocAPI(PARSER_API_KEY)
    """
        parsing a url
    """
    #url = "https://convmind-images.s3.us-east-2.amazonaws.com/pdfview/Fresh_Start_Program_Summary.pdf"
    #parsed_data = client.parse(file_url=url)

    """
        parsing a local file
    """
    parsed_data = client.parse_local_file("resources/1906.09308.pdf")
    pprint_json(parsed_data)

Contact

kyusongl@soco.ai

Project details


Release history Release notifications

This version

0.0.1

Download files

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

Files for soco-doc-parser-python, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size soco_doc_parser_python-0.0.1-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page