https://github.com/jwodder/pdfcalendar
Python program for creating a multiyear calendar PDF document
https://github.com/jwodder/pdfcalendar
calendar pdf python year
Last synced: 8 days ago
JSON representation
Python program for creating a multiyear calendar PDF document
- Host: GitHub
- URL: https://github.com/jwodder/pdfcalendar
- Owner: jwodder
- License: mit
- Created: 2025-11-15T19:30:29.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-11-24T15:06:27.000Z (5 months ago)
- Last Synced: 2025-12-13T01:56:15.344Z (4 months ago)
- Topics: calendar, pdf, python, year
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
|repostatus| |ci-status| |license|
.. |repostatus| image:: https://www.repostatus.org/badges/latest/concept.svg
:target: https://www.repostatus.org/#concept
:alt: Project Status: Concept – Minimal or no implementation has been done
yet, or the repository is only intended to be a limited example,
demo, or proof-of-concept.
.. |ci-status| image:: https://github.com/jwodder/pdfcalendar/actions/workflows/test.yml/badge.svg
:target: https://github.com/jwodder/pdfcalendar/actions/workflows/test.yml
:alt: CI Status
.. |license| image:: https://img.shields.io/github/license/jwodder/pdfcalendar.svg
:target: https://opensource.org/licenses/MIT
:alt: MIT License
`GitHub `_
| `Issues `_
``pdfcalendar`` is a Python program for producing a PDF document containing
calendars for one or more years. Currently, the following output styles are
supported:
- A page containing five annual calendars, each laid out in a column of weeks,
starting with the current year; `example `_
- A page containing one annual calendar for the current year with the months
laid out in three rows of four each; `example `_
Installation
============
``pdfcalendar`` requires Python 3.12 or higher. Just use `pip
`_ for Python 3 (You have pip, right?) to install it::
python3 -m pip install git+https://github.com/jwodder/pdfcalendar.git
Usage
=====
::
pdfcalendar {columns|three-by-four} []
Produce a PDF document at ```` containing calendars for one or more
years in the given output style. The month names and weekday abbreviations
used are determined based on the current locale settings.
Options
-------
--font-name FONT Set the name of the font to use for the text
[default: Times-Roman]
--font-size INT Set the size of the font to use for the text
[default: 10 for ``columns``, 14 for
``three-by-four``]