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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pdfconverter-1.0.1.tar.gz
.
File metadata
- Download URL: pdfconverter-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 936e27bc4a52871dac58630d47e798fb663a55b5a3eb42f1bea867c0bb13603e |
|
MD5 | f1bc0aa3aa9f6410ab8fe666529fd179 |
|
BLAKE2b-256 | 49db0a104c3983ce730bab09fb79bfbfcf12b8313fd32398a93b9ce32a1f9c40 |
File details
Details for the file pdfconverter-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pdfconverter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15771054d59f4b42f27f6a35e8721a76639efb8dc4dad2ca9df24f4f7dd158af |
|
MD5 | ce80a244f5e8e61a1bf7ae2ea4ad930a |
|
BLAKE2b-256 | 006859156aaa2ceaf5beaf1f154d84a7bc0674fb54e36210cbc55a3033778121 |