Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Generate Nengajo(Japanese new year card) pdf from address list.

Project Description

This utility is generate PDF for printing address “Happy new year card”, a.k.a. “Nengajo” in Japanese.


Debian Packages

  • texlive-binaries (>= 2015.20150524.37)
  • texlive-lang-japanese
  • libc-bin
  • python2.7 over or python3.3 over
  • fonts-vlgothic
  • fonts-aoyagi-kouzan-t
  • fonts-umeplus
  • make
  • python-pystache or python3-pystache

format of address.csv

address list is CSV. It is syntax is below:





The csv format has changed in v0.5.0. address3 is inserted before PostalCode1.

Flag of address first field

  1. target this year.
  2. next year target but not sent this year.
  3. sent the before last.
  4. remove.


  1. Update address.csv

    1. Reset last year status.
    2. Update latest status.
  2. convert photo, extractbb photoimage

  3. edit nenga-yoko.tex

  4. make, generate nenga-yoko.pdf, print this pdf

  5. generate atena.pdf, print this:

    $ genenga -t path/to/yourtemplate.mustache address.csv


0.5.1 (2016-12-23)

  • Fixes address.mustache template for TeX Live 2016.

0.5.0 (2015-12-31)

  • Changes CSV formats.
  • Supports Python 3.5.

0.4.1 (2015-04-26)

  • Fixes pep8 violations.
  • Fixes pep257 violations.

0.4.0 (2014-07-25)

  • Applied pychecker and pylint, and fixed those violations.
  • Increase code coverage to > 90%.

0.3 (2013-12-23)

  • Change template layout
  • Change “–template-path” option to be requrired
  • Fix a bug: always used a default template instead of a loaded template

0.2 (2012-09-21)

  • suport pystache 0.5.x
  • Refacotroing

0.1 (2011-12-01)

  • First release
Release History

Release History

This version
History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting