https://github.com/wroberts/jinja-mailmerge
Create multiple text files automatically
https://github.com/wroberts/jinja-mailmerge
file jinja2 python python-2 python-3 template text
Last synced: 12 months ago
JSON representation
Create multiple text files automatically
- Host: GitHub
- URL: https://github.com/wroberts/jinja-mailmerge
- Owner: wroberts
- License: mit
- Created: 2015-04-07T21:02:06.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T00:57:24.000Z (over 6 years ago)
- Last Synced: 2025-01-07T17:19:05.421Z (over 1 year ago)
- Topics: file, jinja2, python, python-2, python-3, template, text
- Language: Python
- Size: 22.5 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=================
jinja-mailmerge
=================
``jinja-mailmerge`` is a command line script to create multiple text
files automatically using a template and a spreadsheet.
Todo
====
1. Command line options to choose the output filename from a column in
the spreadsheet (instead of always taking the first column). The
option should allow selection by index (0-based) or by column
header name.
2. Documentation
3. Unit tests
4. Support more spreadsheet formats:
- CSV, TSV
- Excel
- command-line option to choose which sheet to read
- YAML
- JSON
5. Maybe allow arbitary text processing on the output filename?
Currently, the output filename is passed through a filter (``subn``
with ``GERMAN_SUBS``, which could be called ``de2ascii`` or
something). It should be possible to specify a transform as a
command line option, using Jinja template syntax.