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.2.0.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file lundpdfmaster-1.2.0.tar.gz.

File metadata

  • Download URL: lundpdfmaster-1.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for lundpdfmaster-1.2.0.tar.gz
Algorithm Hash digest
SHA256 057df4527de5d7ca3a78dd005148aa5bae6597b55216af6d0f8221a1bf955ec4
MD5 efd620ef049c2493b8a5120c32ced027
BLAKE2b-256 8a2503ce2972f97f8b17ef0c3b15cbfc89522b78da1f356dce4f80f34a39105c

See more details on using hashes here.

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