473,320 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 4746

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. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.