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 parse document files 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",lang="en") #lang="en" or lang="zh"
pprint_json(parsed_data)
Contact
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 Distribution
File details
Details for the file soco-doc-parser-python-0.0.3.tar.gz
.
File metadata
- Download URL: soco-doc-parser-python-0.0.3.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d8d025748e16c1ec52e07ecacc1c673a4e755fabddfc592be2ec3a7ad25b57c |
|
MD5 | 5108c06b775fb3b2563d6cd6f26b82a0 |
|
BLAKE2b-256 | c41f1f6325d5963e4992648a068c2d4edf6a3eddf8cad08377b41f22b3ffc75c |