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()
Download
Directly: http://www.lix.polytechnique.fr/~schwander/orgreport/orgreport-0.1.tar.gz
On PyPI: http://pypi.python.org/pypi/orgreport
Darcs repository: http://www.lix.polytechnique.fr/~schwander/darcs/orgreport/
Licence
Orgreport is free software, released under the term of the BSD license.
Copyright 2010-2011 Olivier Schwander <schwander@lix.polytechnique.fr>
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file orgreport-0.1.tar.gz.
File metadata
- Download URL: orgreport-0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faca01b1b427f4b50dbdebc559b2994d7268eeac965d2307978dcb00f97efc73
|
|
| MD5 |
6733a38ac64602ace2c2b974f0b51418
|
|
| BLAKE2b-256 |
a98f8355c47a9479982413ab2a55e6c3559a6d16905b840aa7a7637fb91fa776
|