Skip to main content

Add your description here

Project description

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 .pdf files.
  • 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.

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

kmakepdf-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kmakepdf-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file kmakepdf-0.1.2.tar.gz.

File metadata

  • Download URL: kmakepdf-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for kmakepdf-0.1.2.tar.gz
Algorithm Hash digest
SHA256 64cdff8188d14a5c47d5767976d5cefae2a9180fa575e54014e2ba8c6b497ef5
MD5 8658541d1b78cedee391965a24a88986
BLAKE2b-256 cbe3f875a30c7c2b20899c5251abdb90ae1f7ba79df048a97873fbd6e9e6ade6

See more details on using hashes here.

File details

Details for the file kmakepdf-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kmakepdf-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for kmakepdf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6eea78c1384e59731f609445e0f84a52f4cc57bc1e03cc6bea166b8817ef002
MD5 ede9b6ecef2c1af155acc7b45798a568
BLAKE2b-256 74ab3d0ba55739cf3652e2fdd264745e7202e5f903c41b2c0eaf76493ccf3c2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page