Skip to main content

Automated news stories and reports from datasets

Project description

Reportermate is an open source project to create an automated news reporting system. This library forms the base of the system, and combines the pandas data analysis library, the handlebars templating language, and a whole bunch of helper functions to automate the generation of text reports from data.

Installation

pip install reportermate

Usage

Installing the reportermate lib adds the reportermate function to your command line.

reportermate my-data.csv my-template.txt

Using this function will take your data and then analyse and render it according to the template provided.

To use reportermate from within another python script, import the analyseAndRender function:

from reportermate import analyseAndRender
analyseAndRender(my-data.csv,my-template.txt)

Templates

Reportermate uses the handlebars template language to define the analysis of the dataset, and how the results should be rendered into text. The template functions are the key to generating your text results.

Template function definitions and examples coming soon…

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reportermate-0.6.2.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file reportermate-0.6.2.tar.gz.

File metadata

  • Download URL: reportermate-0.6.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.8

File hashes

Hashes for reportermate-0.6.2.tar.gz
Algorithm Hash digest
SHA256 4537ed26558ddceb88259bb6e1ba10ee08df964c88040dea44c023bb67f09223
MD5 6faebcfb9fd676a42ec6a579550dad63
BLAKE2b-256 f308db055dd2273f5b872ebd3d4305160c116b3a307dc7b37764af33a372006b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page