Skip to main content
Participant
May 21, 2025
Question

Problem upgrading Adobe PDF Services SDK (Python) – sample code incompatible with version 4.1.1

  • May 21, 2025
  • 0 replies
  • 99 views

Hello,

I am trying to use the Adobe PDF Services SDK (Python) to extract text and tables from a PDF using the `pdfservices-api-credentials.json` file.

I downloaded the sample code from your official repository (`PDFServicesSDK-PythonSamples`), but it appears to be based on an older SDK version. After upgrading to version 4.1.1, the original sample code no longer works because many classes have been renamed or removed (e.g., `execution_context`, `extract_pdf_params`, and `stream_asset` are missing).

The installation of the SDK completed successfully, and the module appears correctly in my site-packages. However, the migration path for existing scripts is unclear due to structural changes in the SDK.

Do you have an official updated example compatible with SDK version 4.1.1 that demonstrates how to extract text and tables using the JSON credentials file?

Thank you in advance,
Daniel Vial