kmakepdf
kmakepdf is a simple yet powerful CLI tool to convert folders containing images and existing PDFs into a single merged PDF file.
Features
- Recursive Processing: Automatically traverse subdirectories to create separate PDFs for each folder.
- Smart Merging: Combines both images (
.jpg,.jpeg,.png) and existing.pdffiles. - Rich Logging: Professional, colored console output for better visibility.
- CLI Interface: Easy-to-use command line interface.
Installation
pip install kmakepdf
Usage
Basic Usage
Convert a single folder to a PDF:
kmakepdf /path/to/folder
This will create /path/to/folder.pdf by default.
Specify Output File
You can specify a custom output filename:
kmakepdf /path/to/folder -o my_output.pdf
Recursive Mode
Process all subfolders within a directory:
kmakepdf /path/to/parent_folder -r
This will create a PDF for each subfolder inside parent_folder.
Development
This project uses uv for dependency management and nox for testing.
Setup
# Install dependencies
uv sync
Running Tests
uv run nox -s tests
License
MIT License. Copyright (c) 2025 Kihoa Nam.
Release files for kmakepdf 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kmakepdf-0.1.2.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kmakepdf-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / kmakepdf-0.1.2.tar.gz
| Download URL | kmakepdf-0.1.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64cdff8188d14a5c47d5767976d5cefae2a9180fa575e54014e2ba8c6b497ef5
|
|
BLAKE2b-256 checksum How to use checksums |
cbe3f875a30c7c2b20899c5251abdb90ae1f7ba79df048a97873fbd6e9e6ade6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / kmakepdf-0.1.2-py3-none-any.whl
| Download URL | kmakepdf-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6eea78c1384e59731f609445e0f84a52f4cc57bc1e03cc6bea166b8817ef002
|
|
BLAKE2b-256 checksum How to use checksums |
74ab3d0ba55739cf3652e2fdd264745e7202e5f903c41b2c0eaf76493ccf3c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|