Skip to main content

Convert .ino/.py files in the current directory into PDFs via Markdown + Pandoc.

Project description

pdfino

Convert .ino and .py files in the current directory into PDFs via Markdown + Pandoc.

Note: if you are looking for the pdfino module that "wraps around ReportLab to simplify PDF document creation" then this is where you want to go. My apologies for the name clash but I thought I had coined the name from PDF and Arduino and then became too invested in it.

Install (global)

uv tool install pdfino-cli

Use

cd /path/to/project
pdfino

One PDF is created per input file:

  • listing_demo.ino -> listing_demo.ino.pdf
  • script.py -> script.py.pdf

Options

pdfino --help

Examples:

pdfino -e .ino
pdfino -e py -o out_pdfs
pdfino --keep-md
pdfino --pdf-engine xelatex

Step 5: Try it locally (developer loop)

From the project root:

uv venv
uv pip install -e .
pdfino --help

Then, in any folder with .ino or .py files:

cd /somewhere/with/files
pdfino

Uninstall

If pdfino was installed as a global uv tool:

uv tool uninstall pdfino-cli

If you installed it from a local checkout and want to reinstall after changes:

uv tool uninstall pdfino-cli
uv tool install .

This removes the isolated tool environment and the pdfino command from your PATH.

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

pdfino_cli-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

pdfino_cli-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pdfino_cli-0.1.0.tar.gz.

File metadata

  • Download URL: pdfino_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for pdfino_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c48ab8956033e618c7b4669d66fb9ce9a615977b6322a3ea277fb1420cf49398
MD5 5f629c5a56e19a5958ae77dbf62f52ad
BLAKE2b-256 c237528b4d2ac3ebfecf51c4039d4017758662b05997d7497f19ca04ccdbb41d

See more details on using hashes here.

File details

Details for the file pdfino_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdfino_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for pdfino_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2acb53c1a7ec913fa1d75135fc412c2b8967c17b513e7f47169fad52799b248
MD5 f4ebf663c911f4d7899a24b5ddffd5da
BLAKE2b-256 1034dbd8668c3f21413462d4513fedd187503646f06134556da225e04458cccf

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