Compile images into PDF files. From either zip or folders, convert into chapters or volumes.
- extract zip files
- convert image folders into PDF files
- merge chapter PDF file into volume PDF files
- open terminal & clone repository into desirred folder
$ git clone https://github.com/v1nc3t/meowDFer.git
$ cd meowDFer-cli- create virtual enviroment
$ python3 -m venv .venv- activate envirometn
$ source .venv/bin/activate- install dependacies
$ pip install .$ source .venv/bin/activatefor more information
$ python3 meowdfer.py -h$ python3 meowdfer.py --extract --src zips_folder --dest out_folder$ python3 meowdfer.py --convert --src img_folder --dest out_folder --name example$ python3 meowdfer.py --merge --src pdf_folder --dest out_folder --vols ./vols.txt --name example$ python3 meowdfer.py --convert-merge --src zips_folder --dest out_folder --vols ./vols.txt --name exampleor
$ python3 meowdfer.py --all --src zips_folder --dest out_folder --vols ./vols.txt --name example| command flags | description |
|---|---|
| '-e, --extract' | extracts many .zip files from an input directory |
| '-c, --convert' | converts folders with img files into PDF files (img folders -> chapters) |
| '-m, --merge' | merges PDF files based on a vols.txt file (chapters -> volumes) |
| '-cm, --convert-merge' | pipelines convert, and merge |
| '-a, --all' | pipelines extract, convert, and merge |
| data flags | description |
|---|---|
| '-s, --src' | source folder for input |
| '-d, --dest' | destination folder of output (if not exists, will be created) |
| '-v, --vols' | file with increasing numbers separated by ',' to delimit chapters in a volume |
| '-n, --name' | name PDF files (otherwise they inherit dest folder name) |
$ pip install .[dev]$ python3 -m pytest -v- Pillow
- pypdf
- rich
- pytest
install manually:
$ pip install <dependancy>- fork the repository
- create feature branch
- commit changes
- open a pull request
GNU General Public License v3