Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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


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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page