Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Format output in the Emacs org-mode format

Project Description

Description

Orgreport allows to output data formatted in the Org-mode format. It can be used to generate reports which may exported to any of the export format supported by Org-mode.

Prerequisite

If you want to use the auto-export feature, you need a working Emacs and Org-mode.

Example

# The main Org object
org = Orgreport(title="Some nice experiment", path="reports", verbose=True, options="toc:1", html=True)

# A paragraph
org.para("Description")
org.content("This is a funky way of testing if....")
org.content("second line of the paragraph")
org.end()

# A table, which will be plotted with org-plot
scores = org.table(titles = ["Alpha", "Score"], plot = "ind:1
set:\"yrange [0:]\"")

org.para("Let's go")
# Some computation
for x in range(10):
  y = random.random()
  scores.append((x, y))
  org.content(x + "" + y)
org.end()

# Format the table
scores.output()

# Finally close the Org object
org.end()

Licence

Orgreport is free software, released under the term of the BSD license.

Copyright 2010-2011 Olivier Schwander <schwander@lix.polytechnique.fr>

Release history Release notifications

This version
History Node

0.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
orgreport-0.1.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Aug 17, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page