Skip to content

Instantly share code, notes, and snippets.

@groupdocscloud
groupdocscloud / SignPDFDocument_Python
Last active Mar 6, 2021
Sign PDF Documents with QR Code using a REST API in Python
View SignPDFDocument_Python
Sign PDF Documents with QR Code using a REST API in Python
@groupdocscloud
groupdocscloud / CompareWordDocuments-Python
Last active Mar 2, 2021
Compare two or more Word documents using a REST API in Python
View CompareWordDocuments-Python
Compare two or more Word documents using a REST API in Python
@groupdocscloud
groupdocscloud / ConvertExcelToPDF.py
Created Jan 21, 2021
Convert Excel Spreadsheet to PDF in Python
View ConvertExcelToPDF.py
# Convert Excel Spreadsheets XLS, XLSX to PDF in Python
# Set your APP KEY and APP SID obtained from dashboard.groupdocs.cloud
apiInstance = groupdocs_conversion_cloud.ConvertApi.from_keys(Common.app_sid, Common.app_key)
# Prepare convert settings
settings = groupdocs_conversion_cloud.ConvertSettings()
settings.file_path = "Resources/spreadsheet.xlsx"
settings.format = "pdf"
# Load Options and Output settings
loadOptions = groupdocs_conversion_cloud.SpreadsheetLoadOptions()
loadOptions.one_page_per_sheet = True
@groupdocscloud
groupdocscloud / ConvertEMLToPDF.py
Last active Jan 18, 2021
Convert EML & MSG Email Messages to PDF in Python
View ConvertEMLToPDF.py
# Programmatically Convert EML file to PDF in Python using GroupDocs.Conversion Cloud API
configuration = groupdocs_conversion_cloud.Configuration("<< CLIENT_ID >>", "<< CLIENT_SECRET >>")
configuration.api_base_url = "https://api.groupdocs.cloud"
# Create API instances
apiInstance = groupdocs_conversion_cloud.ConvertApi.from_config(configuration)
# Conversion settings
settings = groupdocs_conversion_cloud.ConvertSettings()
settings.file_path = "filepath/email.eml"
@groupdocscloud
groupdocscloud / ExtractImagesFromDocuments.py
Last active Oct 22, 2020
Extract Images from Documents in Python
View ExtractImagesFromDocuments.py
# Extract images from Word documents, Excel spreadsheets, Presentations in Python.
options.file_info.file_path = "documents/doc-with-images.docx"
# Just change the document path according to requirement (doc/docx, xls/xlsx, ppt/pptx, ...)
request = groupdocs_parser_cloud.ImagesRequest(options)
result = parseApi.images(request)
View Translation-CSharp
GroupDocs.Translation Cloud CSharp Examples