Skip to main content

A Python library for converting office files to PDF using the iLovePDF API

Project description

Lund PDF Master

A Python library for converting office files to PDF using the iLovePDF API.

Install the package

pip install LundPDFMaster

Usage

Here's a basic example of how to use the library for a single file:

from lund_pdf_master.OfficeToPDFConverter import OfficeToPDFConverter

converter = OfficeToPDFConverter('your_public_key', 'your_secret_key')
converter.convert_to_pdf('path_to_your_file.docx', 'output_path.pdf')

Here's a basic example of how to use the library for multiple files:

from lund_pdf_master.OfficeToPDFConverter import OfficeToPDFConverter

converter = OfficeToPDFConverter('your_public_key', 'your_secret_key')
file_paths = ['file1.docx', 'file2.docx', 'file3.docx']
converter.convert_multiple_to_pdf(file_paths, 'output_directory')

This project is licensed under the terms of the MIT license

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

LundPDFMaster-1.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

LundPDFMaster-1.1.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page