Introduction
# Overview
The basic command structure is:
```bash
Usage: image2pdf [OPTIONS]
This command converts input image files to pdf; If
you omit the output file name the command deduces the name
based on the input file name
Options:
--version Show the version and exit.
-i, --input-file PATH The input image file name to convert. [required]
-o, --output-file PATH The output pdf file name.
-t, --title TEXT The title to put on pdf file
--help Show this message and exit.
A simple example:
image2pdf -i tests/resources/images/CompactImageDump.png
produces the following output:
Using input file name as base for output file name
Output file name is: CompactImageDump.pdf
Installation
pip install pyimage2pdf
Developer Notes
This project uses buildlackey for day to day development builds.
Also notice that this project does not include a requirements.txt file. All dependencies are listed in the pyproject.toml file.
Install the main project dependencies
pip install .
Install the test dependencies
pip install .[test]
Install the deploy dependencies
pip install .[deploy]
Normally, not needed because the project uses a GitHub workflow that automatically deploys releases
Written by Humberto A. Sanchez II (C) 2025
Note
For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.
I am concerned about GitHub's Copilot project
I urge you to read about the Give up GitHub campaign from the Software Freedom Conservancy.
While I do not advocate for all the issues listed there I do not like that a company like Microsoft may profit from open source projects.
I continue to use GitHub because it offers the services I need for free. But, I continue to monitor their terms of service.
Any use of this project's code by GitHub Copilot, past or present, is done without my permission. I do not consent to GitHub's use of this project's code in Copilot.
Metadata
Release files for pyimage2pdf 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyimage2pdf-1.0.3.tar.gz | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyimage2pdf-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.4 kB
Release files / pyimage2pdf-1.0.3.tar.gz
| Download URL | pyimage2pdf-1.0.3.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a8a103eca81317c29bf2583f2aa33e2271e4fa820cd157c74fc6e87897ecdf5
|
|
BLAKE2b-256 checksum How to use checksums |
a0cdb3a11b80fb41aade778b511bfc83937fd62f3c57912857e8ef30b36ce24e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / pyimage2pdf-1.0.3-py3-none-any.whl
| Download URL | pyimage2pdf-1.0.3-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7de60c1613711ae379592d89bdfe2a325aab481e39490c2a5a232075cdafd3d5
|
|
BLAKE2b-256 checksum How to use checksums |
a22e4b0d4e08189987d0434050a9aaa5e1fa631135dcb768f97d0d0913c3ec6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency log