Command line tool to generate a PDF Calendars
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
papr fixed #18 Jun 12, 2016
.gitignore ignoring OS X spotlight files Jun 12, 2016
CHANGELOG.md
README.md adds information about dependencies to readme Feb 10, 2017
demo.jpg
ez_setup.py added setup file, ez_setup bootstrap and project details in init file… Jun 29, 2014
oneyear_layout.png
requirements.txt Use PyGObject bindings for Pango. Jun 11, 2016
setup.py

README.md

Webconfigurator

papr

Command line tool to generate a PDF template for a small foldable paper calendar.

ScreenShot

Info

Papr currently only produces a PDF output. When you are printing the PDF file make sure you have to automated positioning or resizing features of your printer enabled!

Quick start

usage: papr.py [-h] [-o OUT] [-A] [-a] [-b BRAND] [-c] [-f FONT [FONT ...]]
               [-l LOCALE] [-m MONTH] [-y YEAR]
               [-p {A5,A4,A3,A2,A1,A0,USLetter}] [--margin MARGIN] [-v] [-d]
               LAYOUT

Create a Calendar

positional arguments:
  LAYOUT                choose calendar layout: ('classic', 'column',
                        'oneyear')

optional arguments:
  -h, --help            show this help message and exit
  -o OUT, --out OUT     specify output file
  -A, --abbreviate_all  use abbreviations for weekdays and months
  -a, --abbreviate      use abbreviations for weekdays
  -b BRAND, --brand BRAND
                        assign a brand string
  -c, --color           color date numbers
  -f FONT [FONT ...], --fonts FONT [FONT ...]
                        choose which font to use
  -l LOCALE, --locale LOCALE
                        choose locale to use (default en_US.UTF8, check
                        'locale -a' for available locales)
  -m MONTH, --month MONTH
                        specify the starting month as a number (1-12), default
                        is the current month (3).
  -y YEAR, --year YEAR  specify the year the calendar should start, default is
                        the current year (2016).
  -p {A5,A4,A3,A2,A1,A0,USLetter}, --paper {A5,A4,A3,A2,A1,A0,USLetter}
                        choose which paper dimensions should be used ('A5',
                        'A4', 'A3', 'A2', 'A1', 'A0', 'USLetter') default is
                        A4
  --margin MARGIN       specify the margin of the calendar in millimeters.
                        Used to adapt to your printer, default ist 5mm
  -v, --verbose         print status messages to stdout
  -d, --debug           print status and debug messages to stdout

Dependencies

Mac OS

Install with brew:

  • gtk+3
  • pyobject3 (not for python 3, its gtk3)

Layouts

oneyear

ScreenShot