472,958 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Web based Reporting tool for Python

Hi

I am looking template based report tools for python.It has the ability
to deliver rich content onto the screen, to the printer or into PDF,
HTML, XLS, CSV and XML files.

Thanks,

Madhu Alagu

Aug 7 '07 #1
10 4729

Madhu Alagu wrote:
Hi

I am looking template based report tools for python.It has the ability
to deliver rich content onto the screen, to the printer or into PDF,
HTML, XLS, CSV and XML files.

Thanks,

Madhu Alagu
I don't know if there's a _single_ tool that can do all you want
(there may be, just that I don't know of one), but there are many
tools that can each do some part of it. Here are some, off the top of
my head - Googling should get you more for each category.

For templating - Cheetah, others.

For PDF - ReportLab. PDFLib has Python bindings too, but its paid for
commercial use, IIRC.

For HTML - Python standard library itself has some stuff, there must
be others.

For XLS/CSV - CSV output is easy enough to "roll your own". Then
import the CSV into Excel. If this isn't good enough (and it may not
be, depending on your needs, as it requires manual (ok, it is possible
to sort of automate that too using COM) import of the CSV into Excel.
Google for a Python lib for direct XLS generation.

For XML - like CSV, for simple XML, can be written by you (its just
outputting XML tags, attributes and content from your code). There
might be issues with encodings, etc. - in which case use a lib. Python
has many XML libs - do some research.
David Mertz and Uche Ogbuji, among others, have written a lot of
articles on Python and XML, many of them are about reviewing and
comparing various libs like ElementTree, Gnosis XML utilities and
others. Many of those and other articles are on IBM developerWorks and
XML.com.

Vasudev Ram
http://www.dancingbison.com
http://jugad.livejournal.com
http://sourceforge.net/projects/xtopdf

Aug 7 '07 #2
On 2007-08-06 23:29:16 -0500, Madhu Alagu <al*****@gmail.comsaid:
Hi
I am looking template based report tools for python.It has the ability
to deliver rich content onto the screen, to the printer or into PDF,
HTML, XLS, CSV and XML files.
I don't think this has been implemented in Python because it's a pretty
boring thing to do, and things like JasperReports (in Java) and Crystal
Reports already have the market pretty well tied up. What my company
did was to use JasperReports via a web service we set up.

Aug 7 '07 #3
Madhu Alagu wrote:
I am looking template based report tools for python.It has the ability
to deliver rich content onto the screen, to the printer or into PDF,
HTML, XLS, CSV and XML files.
As others have mentioned, I don't believe that all of the above is implemented
in a single package. However, Python can most definitely deal with all of the
above formats.

For HTML templating I can highly recommend Clearsilver:
http://www.clearsilver.net/ it's written in C with Python (and other language)
wrappers, is very fast and is also extensible.

For PDF:
ReportLab - http://www.reportlab.org/downloads.html
- http://www.ibm.com/developerworks/li...tml?loc=dwmain

For XSLT:
4Suite, libxml - http://uche.ogbuji.net/tech/akara/no...01/python-xslt

For CSV and XML:
csv module, libxml, lxml, ElemenTree modules

-Jay
Aug 7 '07 #4
Thanking so much for all the informations and links.I would like to
use Mako Templates(www.makotemplates.org).I like to use simple and
python default module...

Thanks
Madhu Alagu
On Aug 8, 12:29 am, Jay Loden <pyt...@jayloden.comwrote:
Madhu Alagu wrote:
I am looking template based report tools for python.It has the ability
to deliver rich content onto the screen, to the printer or into PDF,
HTML, XLS, CSV and XML files.

As others have mentioned, I don't believe that all of the above is implemented
in a single package. However, Python can most definitely deal with all of the
above formats.

For HTML templating I can highly recommend Clearsilver:http://www.clearsilver.net/it's written in C with Python (and other language)
wrappers, is very fast and is also extensible.

For PDF:
ReportLab -http://www.reportlab.org/downloads.html
-http://www.ibm.com/developerworks/linux/library/l-sc6.html?loc=dwmain

For XSLT:
4Suite, libxml -http://uche.ogbuji.net/tech/akara/nodes/2003-01-01/python-xslt

For CSV and XML:
csv module, libxml, lxml, ElemenTree modules

-Jay

Aug 8 '07 #5
On 2007-08-07 23:35:26 -0500, Madhu Alagu <al*****@gmail.comsaid:
Thanking so much for all the informations and links.I would like to
use Mako Templates(www.makotemplates.org).I like to use simple and
python default module...
Mako is an excellent template system, but you'll have a lot of work to
do making it into a reporting system.

Aug 8 '07 #6
On Aug 8, 4:57 pm, Jon Rosebaugh <j...@turnthepage.orgwrote:
On 2007-08-07 23:35:26 -0500, Madhu Alagu <alma...@gmail.comsaid:
Thanking so much for all the informations and links.I would like to
use Mako Templates(www.makotemplates.org).Ilike to use simple and
python default module...

Mako is an excellent template system, but you'll have a lot of work to
do making it into a reporting system.


Any reporting template in python ?

Aug 12 '07 #7
Madhu Alagu wrote:
On Aug 8, 4:57 pm, Jon Rosebaugh <j...@turnthepage.orgwrote:
>On 2007-08-07 23:35:26 -0500, Madhu Alagu <alma...@gmail.comsaid:
>>Thanking so much for all the informations and links.I would like to
use Mako Templates(www.makotemplates.org).Ilike to use simple and
python default module...
Mako is an excellent template system, but you'll have a lot of work to
do making it into a reporting system.

Any reporting template in python ?
Dabo (www.dabodev.com) is certainly heading that way, but I am not sure
how far it's got yet.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

Aug 12 '07 #8
Steve Holden wrote:
Madhu Alagu wrote:
>On Aug 8, 4:57 pm, Jon Rosebaugh <j...@turnthepage.orgwrote:
>>On 2007-08-07 23:35:26 -0500, Madhu Alagu <alma...@gmail.comsaid:

Thanking so much for all the informations and links.I would like to
use Mako Templates(www.makotemplates.org).Ilike to use simple and
python default module...
Mako is an excellent template system, but you'll have a lot of work to
do making it into a reporting system.


Any reporting template in python ?

Dabo (www.dabodev.com) is certainly heading that way, but I am not sure
how far it's got yet.
Sorry, Dabo isn't web-based. You could look at Kid, Genshi, Cheetah, ...

Or you could do a Google search for "python web template" and see what
comes up. There are many good contenders.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

Aug 12 '07 #9
On 2007-08-12 06:08:49 -0500, Steve Holden <st***@holdenweb.comsaid:
Steve Holden wrote:
>Madhu Alagu wrote:
>>On Aug 8, 4:57 pm, Jon Rosebaugh <j...@turnthepage.orgwrote:
On 2007-08-07 23:35:26 -0500, Madhu Alagu <alma...@gmail.comsaid:

Thanking so much for all the informations and links.I would like to
use Mako Templates(www.makotemplates.org).Ilike to use simple and
python default module...
Mako is an excellent template system, but you'll have a lot of work to
do making it into a reporting system.
Any reporting template in python ?

Dabo (www.dabodev.com) is certainly heading that way, but I am not sure
how far it's got yet.
Sorry, Dabo isn't web-based. You could look at Kid, Genshi, Cheetah, ...

Or you could do a Google search for "python web template" and see what
comes up. There are many good contenders.
Sure, but again, these aren't reporting engines; they're just template
engines. And I don't think any of the web template engines have PDF
output.

Aug 12 '07 #10
Jon Rosebaugh wrote:
Sure, but again, these aren't reporting engines; they're just template
engines. And I don't think any of the web template engines have PDF
output.
I generate my PDFs with Genshi / Kid and ReportLab. For the markup
processing I use z3c.rml.

Works flawlessly.
Aug 12 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John | last post by:
Hi, We have XML files (and its XSD) that are dump of our tree-like data structure in memory. These XML files may potentially have unlimited levels of nesting because some elements can contain...
2
by: Alex | last post by:
Subject: Looking for an XML (database-based) Query Reporting Tool/advice First off, let me apologize if this thread is somewhat off topic... PLEASE REPLY TO: xml@solex-bi.com I am looking...
0
by: YellowFin | last post by:
Announcing Yellowfin Information collaboration and reporting tool Drag and Drop Report Builder Simple to Deploy and Administer Enterprise Level Web Based Reporting
2
by: Chris | last post by:
Greetings all, I'm hoping someone can recommend a web-based reporting software. My database is currently in MS Access, but could be ported to SQL Server if necessary. Would prefer a broswer...
3
by: jez123456 | last post by:
Hi My users, use ms access for querying and reporting on a backend database, however they need to replace ms access with a new reporting tool. I’m thinking of developing my own reporting...
2
by: rwboley | last post by:
I'm currently learning my way through Python and in the process developing a reporting tool for the company I'm working for. Basically the tool rips through an existing .XML file to grab the...
0
by: itsraghz | last post by:
Hello people, My present project need is to have an Open Source Java based reporting tool, which would allow the users to customize the fields to be chosen at runtime. The chosen fields are used...
1
by: LiveTecs | last post by:
http://www.livetecs.com TimeLive Web Collaboration Suite is an integrated suite that allows you to manage project life cycle including tasks, issues, bugs, timesheet, expense, attendance. ...
0
by: LiveTecs | last post by:
http://www.livetecs.com TimeLive Web Collaboration Suite is an integrated suite that allows you to manage project life cycle including tasks, issues, bugs, timesheet, expense, attendance. ...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.