Skip to main content

Make directory including pictures into a PDF book

Project description

mkbook

PyPI version pre-commit.ci status Maintainability Code Coverage Release Package

  • Make directory including pictures into a PDF book.
  • This package and tool are mainly made for getjump
    • FOR PERSONAL USE ONLY. Generated PDF must not be distributed to other people.

Install

pip install mkbook
# or:
pip install git+https://github.com/eggplants/mkbook

CLI

$ mkbook ~/Pictures/タコピーの原罪 takop.pdf
Saving...
Done: /Users/eggplants/prog/mkbook/takop.pdf

$ file takop.pdf
takop.pdf: PDF document, version 1.4

$ mkbook ~/Pictures/タコピーの原罪 takop.pdf
'takop.pdf' already exists. Use `-o` to overwrite.
$ mkbook -h
usage: mkbook [-h] [-f FONT_SIZE] [-F TT_FONT] [-o] [-V] PATH PATH

Make directory including pictures into a PDF book

positional arguments:
  PATH                                 target dir
  PATH                                 saved pdf file path

optional arguments:
  -h, --help                           show this help message and exit
  -f FONT_SIZE, --font-size FONT_SIZE  overwrite if pdf path exists (default: 20)
  -F TT_FONT, --tt-font TT_FONT        truetype font file
  -o, --overwrite
  -V, --version                        show program's version number and exit

note:
    This package and tool are mainly made for getjump.
    https://github.com/eggplants/getjump

License

MIT

Licenses of fonts

The Open Font License (OFL)

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

mkbook-0.0.4.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

mkbook-0.0.4-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file mkbook-0.0.4.tar.gz.

File metadata

  • Download URL: mkbook-0.0.4.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for mkbook-0.0.4.tar.gz
Algorithm Hash digest
SHA256 364bbc6c209735c81378213f9c07339fc1f84e68432ab3d846cfd3f440847428
MD5 1f84c4208caf2fda71b62565900194c2
BLAKE2b-256 4407e45e98c4d5627837da2f923e4ca641da08e52ba90814fb42fc75dca10cde

See more details on using hashes here.

File details

Details for the file mkbook-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: mkbook-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for mkbook-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 18b4ec47317aecf7facf040e62eff826d196bc78290c2b2e9227a77c82da091e
MD5 7fd9ea4e06e2a017abbfdba588ea7245
BLAKE2b-256 2ef53a181ff4274c1cf8197374b76a596033d3c2034a166401c2547d0484b594

See more details on using hashes here.

Supported by

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