Skip to main content

Python command line program for converting different files to pdfs

Project description

pdfconverter

Python command line program for converting different files to pdf. You can convert word documents, excel documents and images with the three different commands convertword, convertexcel and convertimage.

convertword

Usage:

convertword inputfile outputfile

where the inputfile is the name of the file you want to convert and has to be one of the formats .doc, .docm, .docx, .dot, .dotm, .dotx, .odt, .rtf, .txt, .wps, .xml or .xps, and the outputfile is the name of the pdf.

Example:

convertword document.doc outputfile.pdf

convertexcel

Usage:

convertexcel inputfile outputfile

where the inputfile is the name of the file you want to convert and has to be one of the formats .xlsx, .xlsm, .xlsb, .xltx, .xltm, .xls, .xlt, .xml, .xlam, .xla, .xlw or .xlr, and the outputfile is the name of the pdf.

Example:

convertexcel document.xlsx outputfile.pdf

convertimage

Usage:

convertimage inputfile outputfile

where the inputfile is the name of the file you want to convert and has to be one of the formats jpeg, jpg, png or gif, and the outputfile is the name of the pdf.

Example:

convertimage image.jpg outputfile.pdf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pdfconverter-0.9.27-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file pdfconverter-0.9.27-py3-none-any.whl.

File metadata

  • Download URL: pdfconverter-0.9.27-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for pdfconverter-0.9.27-py3-none-any.whl
Algorithm Hash digest
SHA256 d699b40ff996bf3d62181e824875a68ff0f225686cc7cf835eb44a1c943cb003
MD5 c878327a1051dfb6b5c63a061d4faa9b
BLAKE2b-256 b23ba493b0b1a79f52bf526bd12744e885c0dd910415284ea0830226c0a71e8a

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