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 details)
Built Distribution
File details
Details for the file LundPDFMaster-1.1.0.tar.gz
.
File metadata
- Download URL: LundPDFMaster-1.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec33fedd2b6c9441764f59a528472744556bc66c571bb794b943017a33ab40d |
|
MD5 | 39f41b4b3e814ed3441aa2d0f5538d54 |
|
BLAKE2b-256 | 54495b3c5baf1984f1543640675bc29cb7017f99b5a0a2cfe78c5034e9823d91 |
File details
Details for the file LundPDFMaster-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: LundPDFMaster-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fea2378e353a06f8bd0f04d9a336db7deee7850f74351902562373fda4487cf |
|
MD5 | da6f561be90f2b5b6c7a25a31946ca02 |
|
BLAKE2b-256 | cfe93548c5b0aeae04854a8ee9f7e1671c06a8eae5df50cdbe803b4844f53b62 |