Toolvix
Toolvix is a Python library for simple file, PDF, PowerPoint, Word, and image automation.
Most functions can automatically discover matching files in the current working folder. Functions also accept a source path or a list of paths, which makes chaining and controlled file processing possible.
Installation
python -m pip install toolvix
or
py -m pip install toolvix
For Word/PowerPoint to PDF conversion on Windows:
python -m pip install "toolvix[windows]"
or
py -m pip install "toolvix[windows]"
Microsoft Word or PowerPoint must be installed for the corresponding conversion.
API Reference
| # | Package | Function Name | Function Syntax | Automatic Input | Output | Details |
|---|---|---|---|---|---|---|
| 1 | filetools | fileEncrypt() |
fileEncrypt(source=None) |
All non-.encrypted files |
Encrypted .encrypted files |
Function details |
| 2 | filetools | fileDecrypt() |
fileDecrypt(source=None) |
All .encrypted files |
Decrypted original files | Function details |
| 3 | pdftools | pdfMerge() |
pdfMerge(output_file="Merged.pdf", source=None) |
All PDFs | One merged PDF | Function details |
| 4 | pdftools | pdfExtract() |
pdfExtract(pages, output_file="extracted.pdf", source=None) |
First PDF | Extracted PDF | Function details |
| 5 | pdftools | pdfProtect() |
pdfProtect(output_file="protected.pdf", password="12345", source=None) |
First PDF | Protected PDF | Function details |
| 6 | pdftools | pdfToword() |
pdfToword(output_file=None, source=None) |
All PDFs | DOCX file(s) | Function details |
| 7 | pdftools | pdfToppt() |
pdfToppt(output_file=None, source=None) |
All PDFs | PPTX file(s) | Function details |
| 8 | pdftools | pptTopdf() |
pptTopdf(output_file=None, source=None) |
All PPTX files | PDF file(s) | Function details |
| 9 | pdftools | wordTopdf() |
wordTopdf(output_file=None, source=None) |
All DOCX files | PDF file(s) | Function details |
| 10 | imagetools | imageTopdf() |
imageTopdf(output_file="photos.pdf", source=None) |
All supported images | One PDF | Function details |
| 11 | imagetools | imageResize() |
imageResize(width=1920, height=1080, source=None) |
All supported images | Resized image(s) | Function details |
| 12 | imagetools | imageWatermark() |
imageWatermark(watermarkText="PREETAM", textSize=100, transparency=45, angle=25, source=None) |
All supported images | Watermarked image(s) | Function details |
| 13 | imagetools | imageCompressor() |
imageCompressor(targetSizeMB=1, source=None) |
All supported images | Compressed JPG(s) | Function details |
| 14 | pdftools | pdfToimage() |
pdfToimage(source=None) |
All PDFs | Page PNG image(s) | Function details |
Examples & Usage Guide
The complete guide contains 60 practical examples covering individual functions, explicit inputs, and chained/nested functions.
Release files for toolvix 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toolvix-0.1.4.tar.gz | 23.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toolvix-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.9 kB
Release files / toolvix-0.1.4.tar.gz
| Download URL | toolvix-0.1.4.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be3d392b7c9f0d778c6da6373a43ba598cb2063713255cd20b59b4201cddf688
|
|
BLAKE2b-256 checksum How to use checksums |
2132dd9a35188e333e9123fcdbcfa3c1b744965f45ac6905f5bcc3daf62e52fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / toolvix-0.1.4-py3-none-any.whl
| Download URL | toolvix-0.1.4-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74a3936515ac80070d83ad525726e762038d02c188b3ab8adbdce2b5eac64bab
|
|
BLAKE2b-256 checksum How to use checksums |
e8ff7b3a70e110c678ae63bbc77dce306cb56ff188ae4f6f3a095a3c6aff57a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|