This is a simple example of what news robot could look like in Python. The robot takes a csv file of data and renders an article based on a template.
It uses agate to handle csv files and Jinja2 to render templates.
pip install -r requirements.txt
See /examples/unemployment
for a sample config.
from modules.robowriter import RoboWriter
# Init writer
writer = RoboWriter("examples/unemployment")
# Render texts
writer.render()
# Save texts
writer.save()