Skip to main content

Make directory including pictures into a PDF book

Project description

mkbook

PyPI version pre-commit.ci status Maintainability 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.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

mkbook-0.0.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkbook-0.0.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mkbook-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cc35103a72548c36df49a36fa97540f0e5ca2c52d085da710e8f7294ba8d8dc2
MD5 1de4f7919ef5008b625778168fc27b09
BLAKE2b-256 76dec9f3395dfc07ab3293c1e605a8ee85360d869326f95770646a6eacbcea71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkbook-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mkbook-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6bf6805aa622a9609cc12a0519513e109822a7346d69020f82ccd4e5b1153a48
MD5 eacb2174ac5b0741478d0ff49194be57
BLAKE2b-256 1d6a7384a79c53f52766eca72f499f3e8c356e4e88339a9eccb0ae46df7184e4

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page