Make your Office files tiny!
Project description
tinyoffice
Make your Office files tiny!
Installation
You can install tinyoffice
from PyPi:
% pip install tinyoffice
Usage
usage: tinyoffice [-h] [-r] [-c] [-v]
[-t .docx .pptx .xlsx [.docx .pptx .xlsx ...]] [--overwrite]
[-o OUTPUT] [-exts EXTENSIONS [EXTENSIONS ...]]
path
Make your Office files tiny!
positional arguments:
path File or directory path.
If file and recurse (-r/--recurse) is not set, only that file will be compressed.
If directory, and recurse is not set, only the top-level files in the directory will be compressed.
If recurse is set, everythingat path and below will be compressed.
options:
-h, --help show this help message and exit
-r, --recurse Flag for if tinyoffice should recursively search for files. Default is False
-c, --convert Flag for if TIFF files should be converted to JPEGs. Default is False
-v, --verbose Flag for verbosity levels. Can be set multiple times, e.g., -vv, for increased verbosity
-t .docx .pptx .xlsx [.docx .pptx .xlsx ...], --types .docx .pptx .xlsx [.docx .pptx .xlsx ...]
Filetype extensions to compress.
Default is .docx, .pptx, .xlsx
--overwrite Flag for if an existing file should be overwritten. Default is False
-o OUTPUT, --output OUTPUT
Path for the output location.
-exts EXTENSIONS [EXTENSIONS ...], --extensions EXTENSIONS [EXTENSIONS ...]
Image extensions to compress. Default will be only the extensions that are supported by Pillow on your system.
Should be ignored.
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
tinyoffice-0.0.1.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for tinyoffice-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0f8c93b7626410a892a322018a1066111f086ca31f8fec933b86165acbda79 |
|
MD5 | 78e8cf459954934becac0ba93f20eae5 |
|
BLAKE2b-256 | 71c30925f9c4dfe93d07d3d5c6fee1752feca1ceed91ff788b4a0295eb04f9e0 |