Skip to main content

Make directory including pictures into a PDF book

Project description

mkbook

PyPI version pre-commit.ci status Maintainability

  • 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.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

mkbook-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkbook-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 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.1.tar.gz
Algorithm Hash digest
SHA256 459db5e53c037c4642a10913f51270c6687e0d92ccdcafe6ba98350c0624b9c1
MD5 c8a25da3a9722b428e6d162f3fc1e829
BLAKE2b-256 5b041c0bcc736cdfae9507ca9c8e3364bc877691297cfeb172adcf76ae3b6f00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkbook-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f52bea2d372f5fa13203fb47caf53715d2477093ba1be9f07ed65cadcec866d
MD5 feaa3ddb8adf8e4fe6be66e6c1ecfb61
BLAKE2b-256 10f0cdeafbbe5627f2d30159ae3dcc9638a2936ed5102f2343b39ad17318ba83

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