Skip to main content

GroupDocs.Parser Cloud Python SDK

Project description

GroupDocs.Parser Cloud Python SDK

Python package for communicating with the GroupDocs.Parser Cloud API. This SDK allows you to work with GroupDocs.Parser Cloud REST APIs in your python applications.

Requirements

Python 3.4+

Installation

Install groupdocs-parser-cloud with PIP from PyPI by:

pip install groupdocs-parser-cloud

Or clone repository and install it via Setuptools:

python setup.py install

Getting Started

Please follow the installation procedure and then run following:

# Import modules
import groupdocs_parser_cloud
from Common import Common

# This example demonstrates how to parse a document using template object.
class ParseByTemplateDefinedAsAnObject:
    @classmethod  
    def Run(cls):
        parseApi = groupdocs_parser_cloud.ParseApi.from_config(Common.GetConfig())
        options = groupdocs_parser_cloud.ParseOptions()
        options.file_info = groupdocs_parser_cloud.FileInfo()
        options.file_info.file_path = "words-processing/docx/companies.docx"
        options.template = Common.GetTemplate()

        request = groupdocs_parser_cloud.ParseRequest(options)
        result = parseApi.parse(request)
        
        for data in result.fields_data:
            if data.page_area.page_text_area is not None:
                print("Field name: " + data.name + ". Text :" + data.page_area.page_text_area.text)

            if data.page_area.page_table_area is not None:
                print("Table name: " + data.name)
                for cell in data.page_area.page_table_area.page_table_area_cells:
                    print("Table cell. Row " + str(cell.row_index) + " column " + str(cell.column_index) + ". Text: " + cell.page_area.page_text_area.text);

Licensing

GroupDocs.Parser Cloud Python SDK licensed under MIT License.

Resources

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

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

groupdocs_parser_cloud-26.2.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

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

groupdocs_parser_cloud-26.2-py3-none-any.whl (172.3 kB view details)

Uploaded Python 3

File details

Details for the file groupdocs_parser_cloud-26.2.tar.gz.

File metadata

  • Download URL: groupdocs_parser_cloud-26.2.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for groupdocs_parser_cloud-26.2.tar.gz
Algorithm Hash digest
SHA256 bfd7f95b3147fe8eb40f055434a33af2f7dbd22c103ce72d1451ddcbaa1c005a
MD5 3a54e4795913164a76fd487f25f59bde
BLAKE2b-256 0111164d0eaff7c904d9a2c537405b2b25b384563d2bb9a4e94013f02636ea41

See more details on using hashes here.

File details

Details for the file groupdocs_parser_cloud-26.2-py3-none-any.whl.

File metadata

File hashes

Hashes for groupdocs_parser_cloud-26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c13448d879b55b8c6d45a7532235fabf55c70d42f7a5ea1988518ba582c21159
MD5 51dbedcc0407d15648f20227de825d33
BLAKE2b-256 526c41101e786247e63067f188ab3a99deabffda28a5d21a6862a9fc77957dcf

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