Add Keynote to PDF conversion utilities for Cortex Cognitive Indexes #315
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the
helper-apps/cortex-file-converter
directory, primarily focusing on adding utilities for converting Apple Keynote (.key
) files to PDF format and processing files stored in Azure Blob Storage. The most important changes are the addition of new scripts for handling the conversion and listing blob extensions, as well as updates to the README file and requirements.New utilities and scripts:
helper-apps/cortex-file-converter/README.md
: Added detailed documentation for theprocess_azure_keynotes.py
andkey_to_pdf.py
scripts, including their purpose, functionality, prerequisites, and usage instructions.helper-apps/cortex-file-converter/key_to_pdf.py
: Introduced a standalone command-line utility to convert a single local Keynote file to PDF using AppleScript. This script includes argument parsing, error handling, and detailed logging.helper-apps/cortex-file-converter/list_blob_extensions.py
: Added a script to list blob extensions in an Azure Blob Storage container, focusing on identifying unsupported file formats for Azure Cognitive Search.helper-apps/cortex-file-converter/process_azure_keynotes.py
: Created a script to connect to an Azure Blob Storage container, identify.key
files, convert them to PDF if a PDF version doesn't already exist, and upload the resulting PDF back to the container. This script includes detailed logging and error handling.Dependency updates:
helper-apps/cortex-file-converter/requirements.txt
: Added theazure-storage-blob
library as a dependency for the new scripts.