Skip to main content

This package aims to convert Microsoft Office file types to PDF.

Project description

msoffice2pdf

This package aims to convert Microsoft Office file types to PDF. This lib uses the comtypes package which makes it easy to access and implement custom, dispatch-based COM interfaces or LibreOffice software.

For use in Windows environment and soft="msoffice" Microsoft Office must be installed.

For use in Windows environment and soft="libreoffice" you need the latest version of LibreOffice(soffice) installed.

For Ubuntu(linux) environment it is only possible to use soft="libreoffice", that is, LibreOffice(soffice).

Example:

from msoffice2pdf import convert

output = convert(source="C:/Users/<User>/Downloads/file.docx", output_dir="C:/Users/<User>/Downloads", soft="msoffice")

print(output)

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

msoffice2pdf-0.0.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msoffice2pdf-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file msoffice2pdf-0.0.2.tar.gz.

File metadata

  • Download URL: msoffice2pdf-0.0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for msoffice2pdf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dd6e24807c7efdac081966a30940fea50a6c62952c0a7473a42aaf74f24cb4da
MD5 e331245f56cdbf472e12312aabd0290a
BLAKE2b-256 421f66f9456224c7eeec7c0da3445bc44353160023e2c180673c0abe1cc20ced

See more details on using hashes here.

File details

Details for the file msoffice2pdf-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: msoffice2pdf-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for msoffice2pdf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14a90197888b0294f9c473c6ed93351848fa23a5409ad5bc660e855b4579025e
MD5 c96155e4a60e20e9d04d1581fd1caf95
BLAKE2b-256 a016225c9b03a6f1c409b3d5d6886ff41ef71c276bba1c8adbd05f14ecabbeb5

See more details on using hashes here.

Supported by

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