Automating PDFs with Python and command-line tools
Presented at PyHou Meetup
To view it as a slideshow, just run
python ./console-presenter/present.py presentation.txt
Otherwise, you can just read the presentation.txt file.
BTW, console-presenter is actually hosted at launchpad.net, but it's small, and I didn't want to require people to install bzr just to play with it.
You can get wkhtmltopdf 0.12.0 binaries from http://wkhtmltopdf.org/downloads.html
You can get PyPDF2 and reportlab plus the dependencies for the Django example just by running:
pip install -r requirements.txt
Running Django Example
- Edit the WKHTMLTOPDF_PATH setting in
- Run: `
python django_example/manage.py syncdb