Chris Lamb

PDF Calendar

BlogProjectsAbout

View all my projects »

Simple yearly calendar generator.


/media/x/projects/pdfcalendar.jpg

As an alternative to those Christmas "round robin" letters, my mum likes to create a calendar to send to relatives. PDF Calendar is therefore a simple yearly calendar creator. It generates a simple PDF file for the specified year, one page per month.

It can optionally use images from a specified directory - images will be included on the appropriate month's page. If multiple images for a month exist, they are tiled horizontally.

usage:  pdfcalendar [options]

Generates a simple PDF calendar for the specified year, one page per month,
optionally using images in the specified directory.

To use images, use the --dir argument to specify a directory (or leave empty
to use the current directory) with the structure:

    |-- 01
    |   |-- s6000001.jpg
    |-- 02
    |   |-- s6000002.jpg
    |   \\-- s6000003.jpg
    |-- 03
    |   \\-- s6000004.jpg
    etc.

Images will be included on the appropriate month's page. If multiple images
for a month exist, they are tiled horizontally.

options:
  -h, --help            show this help message and exit
  -d DIR, --dir=DIR     Directory to source images (Default: '.')
  -y YEAR, --year=YEAR  Year of calendar (Default: next year)
  -o FILE, --output=FILE
                        Output file (Default: calendar.pdf)
  -q, --quiet           Don't print status messages to STDERR

You can browse the source tree, create or file bugs or download the code from Git:

$ git clone https://github.com/lamby/pdfcalendar.git

PDF Calendar is released under the GNU General Public license version 3 or later.

View all my projects »