Skip to main content

Genenga is generator PDF of Nengajo from address list.

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

https://secure.travis-ci.org/mkouhei/Genenga.png?branch=master https://coveralls.io/repos/mkouhei/Genenga/badge.png?branch=master https://pypip.in/v/Genenga/badge.png Documentation Status

Requirement

Debian Packages

  • texlive-binaries (>= 2018.20181218.449446)

  • texlive-lang-japanese

  • libc-bin

  • python3.5 over

  • fonts-takao-gothic

  • fonts-takao-mincho

  • make

  • python3-pystache

format of address.csv

address list is CSV. It is syntax is below:

status,PersonLastName,PersonFirstName1,PersonFirstName2,address,address2,address3,PostalCode1,PostalCode2,PostalCode3,PostalCode4,PostalCode5,PostalCode6,PostalCode7

Example

1,子猫,にゃんこ,ねこちゃん,東京都中央区ねこまた町0ー0,,,0,0,0,0,0,0,0
1,猫山,にゃんごろ,,東京都太田区ねこむら町0ー0,キャットマンション101,,0,0,0,0,0,0,0
1,猫村,にゃん太,にゃんこ,東京都新宿区ねこ町0ー0,,,0,0,0,0,0,0,0
0,猫太,ねこのすけ,,東京都三鷹市こねこ町0ー0,,,0,0,0,0,0,0,0
1,猫野,ねこ太,ねこ助,神奈川県横浜市こねこ町0ー0,,,0,0,0,0,0,0,0

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.

Usage

  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

HISTORY

0.7.0 (2017-04-07)

  • Supports Python 3.7.

  • Drops support for Python 2.7.

  • Fixes pylint, pydocstyle violations.

0.6.0 (2017-01-06)

  • Supports Python 3.5 over.

  • Changes LaTeX template layout.

  • Changes default fonts to Takao Gothic and Takao Mincho.

  • Fixes pylint violations.

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

Metadata

Release files for genenga 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genenga 0.7.0
File Size Uploaded Provenance Actions
genenga-0.7.0.tar.gz 65.1 kB Without provenance Details for genenga-0.7.0.tar.gz

Release files / genenga-0.7.0.tar.gz

Download URL genenga-0.7.0.tar.gz
Size 65.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7ccd2d44c0f345e024c7f315c19789f02514626f9d4a84cd7b042c96d0059d50
BLAKE2b-256 checksum
How to use checksums
0fe3591f378fe7179d719328ff4128de171d65dacf63a965caec09ab6edb531d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Security for genenga 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page