Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
On Thu, Jul 12, 2012 at 3:35 PM, Andreas Perstinger andiper...@gmail.com wrote: Do you mean this license?: http://packages.python.org/PollyReports/license.html It's the standard license for NetBSD projects and approved by OSI: http://www.opensource.org/licenses/bsd-license.php and GPL-compatible: http://www.gnu.org/licenses/license-list.html#FreeBSD Can you state that on the page, perhaps? It'd mean that anyone who's familiar with the license can read one keyword and know what the terms are, rather than dig through the full text to see if it's really the same or not. ChrisA -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
On Thu, 12 Jul 2012 16:59:06 +1000 Chris Angelico ros...@gmail.com wrote: On Thu, Jul 12, 2012 at 3:35 PM, Andreas Perstinger andiper...@gmail.com wrote: Do you mean this license?: http://packages.python.org/PollyReports/license.html It's the standard license for NetBSD projects and approved by OSI: http://www.opensource.org/licenses/bsd-license.php and GPL-compatible: http://www.gnu.org/licenses/license-list.html#FreeBSD Can you state that on the page, perhaps? It'd mean that anyone who's familiar with the license can read one keyword and know what the terms are, rather than dig through the full text to see if it's really the same or not. I'm not responsible for any of the tree pages I've mentioned. I've just looked at the PollyReports-license page because I was curious which strange license the original author uses. Then I noticed it's just one of the BSD-licenses, used Wikipedia to confirm it and searched for the two other pages to show that it isn't problematic at all. Bye, Andreas -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
Apparently my test hasn't kept up with my update. I'll get it revised soon and make a new release. BTW... who is Simon? I wrote the tutorial. (Solomoriah is an old handle I still use a lot since it's less common than Chris.) -- Chris. On 07/12/2012 03:32 AM, Johann Spies wrote: On 12 July 2012 10:27, Johann Spies johann.sp...@gmail.com mailto:johann.sp...@gmail.com wrote: I get the same error when running the example code from Simon's tutorial (sample02 - sample07). Thanks Simon for your tutorial. Changing 'right = 1' in all the example code to 'align = right ' solved the problem. I suspect the example code was not updated after recent changes. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
On Jul 11, 2012, at 8:44 PM, Simon Cropper simoncrop...@fossworkflowguides.com wrote: On 12/07/12 00:06, Chris Gonnerman wrote: I've held off announcing this until I was sure it was really stable; it's been 19 days since I made the last change to it, so here goes. PollyReports is my Python module for report generation. It is designed to be, quite literally, the simplest thing that can possibly work in the field of PDF generation from a database record set. There is a somewhat vague resemblance to GeraldoReports; I had problems with Geraldo's pagination which led me to develop PollyReports in a brief flurry of intense activity. It's on PyPI: http://pypi.python.org/pypi/PollyReports and on Github: https://github.com/Solomoriah/PollyReports and I have a blog where I talk about it (like anyone cares): http://opensource.gonnerman.org/?cat=4 I've noticed that acceptance of a new software module or package for developers in the Open Source/Free Software world is greatly affected by the availability of a good tutorial. I mean, it seems obvious, doesn't it? But I've also noticed that the original author of a project rarely writes a good tutorial. http://packages.python.org/PollyReports/tutorial.html The author has made the code available on Git Hub so you can easily contribute. Simple python classes and modules tend to be light on providing examples or tutorials when the docstrings may be sufficient for most. Well I thought it was a good tutorial. It certainly empowers me with enough confidence to give it a try. That said... with more than a passing interest in software and content licensing I looked at how the work was licensed. A none-standard license like this makes most people stop and think will this be a problem if I use this in my work? How compatible is your license with the main software licenses currently available? The BSD license has been around for many years even before GPL and it's quite popular amongst the anti GNU crowd. I'm not sure what you mean by non standard license? Is because it's none GPL? The BSD license is actually the most liberal open source license format available when looking to integrate open source applications into commercials ones. You're free to do as you will without tainting your software or providing your modifications you've made. -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages http://www.fossworkflowguides.com/gis bash / Pythonhttp://www.fossworkflowguides.com/scripting -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
Wow, I posted this on Github weeks ago, and got no feedback; put it on PyPI at the same time, with the same results; but one day on the Python list and I have lots of excellent feedback. I've just posted PollyReports 1.5.1, with no operational changes. The package includes a corrected testpolly.py file as well as corrected sample*.py files with right = 1 changed to align = 'right'. The license information has been revised to include the text BSD 2-Clause License so that no one has to think about whether or not it's actually a BSD license. If you downloaded the previous version, you don't really need the new one unless you're going through the tutorial. Thanks! -- Chris. -- http://mail.python.org/mailman/listinfo/python-list
ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
I've held off announcing this until I was sure it was really stable; it's been 19 days since I made the last change to it, so here goes. PollyReports is my Python module for report generation. It is designed to be, quite literally, the simplest thing that can possibly work in the field of PDF generation from a database record set. There is a somewhat vague resemblance to GeraldoReports; I had problems with Geraldo's pagination which led me to develop PollyReports in a brief flurry of intense activity. It's on PyPI: http://pypi.python.org/pypi/PollyReports and on Github: https://github.com/Solomoriah/PollyReports and I have a blog where I talk about it (like anyone cares): http://opensource.gonnerman.org/?cat=4 Here's the README: PollyReports.py Copyright (c) 2012 Chris Gonnerman All Rights Reserved See the LICENSE file for more information. (Note: BSD licensed) - PollyReports.py provides a set of classes for database report writing. It assumes that you are using Reportlab to do PDF generation, but can work with any canvas-like object as desired. PollyReports provides the following framework for report generation: A Report object has a data source bound to it at instantiation. One or more Band objects (at least, a detail Band) must be added to it, and then the generate() method will be called to process the data source. The data source must be an iterator that produces objects that can be accessed via [] operations, meaning mainly dict, list, and tuple types, i.e. the most common types of records returned by standard database modules. The detail band is generated() once for each row. Band objects contain a list of Elements (generally at least one) which define how data from the row should be printed. An Element may print any normal data item or label and may be subclassed to handle other things like images. Generating a band in turn calls Element.generate() for each element, producing a list of Renderers with the first item in the list being the overall height of the band. The height is used to decide if the band will fit on the current page; if not, a new page will be created first. When the page is finally ready for the band, Renderer.render() will be called for each Renderer in the element list in order to actually render the data. As noted above, PollyReports expects a Reportlab-like canvas interface. The module has been kept as clean as possible, so that, though I don't actually recommend it, it would not be insane to say from PollyReports import * Importing only what you expect to use is still a better idea, of course. -- --- Chris Gonnerman ch...@newcenturycomputers.net Owner, New Century Computers Phone 660-213-3822 Fax 660-213-3339 -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
On 12/07/12 00:06, Chris Gonnerman wrote: I've held off announcing this until I was sure it was really stable; it's been 19 days since I made the last change to it, so here goes. PollyReports is my Python module for report generation. It is designed to be, quite literally, the simplest thing that can possibly work in the field of PDF generation from a database record set. There is a somewhat vague resemblance to GeraldoReports; I had problems with Geraldo's pagination which led me to develop PollyReports in a brief flurry of intense activity. It's on PyPI: http://pypi.python.org/pypi/PollyReports and on Github: https://github.com/Solomoriah/PollyReports and I have a blog where I talk about it (like anyone cares): http://opensource.gonnerman.org/?cat=4 I've noticed that acceptance of a new software module or package for developers in the Open Source/Free Software world is greatly affected by the availability of a good tutorial. I mean, it seems obvious, doesn't it? But I've also noticed that the original author of a project rarely writes a good tutorial. http://packages.python.org/PollyReports/tutorial.html Well I thought it was a good tutorial. It certainly empowers me with enough confidence to give it a try. That said... with more than a passing interest in software and content licensing I looked at how the work was licensed. A none-standard license like this makes most people stop and think will this be a problem if I use this in my work? How compatible is your license with the main software licenses currently available? -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages http://www.fossworkflowguides.com/gis bash / Pythonhttp://www.fossworkflowguides.com/scripting -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator
On Thu, 12 Jul 2012 10:41:52 +1000 Simon Cropper simoncrop...@fossworkflowguides.com wrote: That said... with more than a passing interest in software and content licensing I looked at how the work was licensed. A none-standard license like this makes most people stop and think will this be a problem if I use this in my work? How compatible is your license with the main software licenses currently available? Do you mean this license?: http://packages.python.org/PollyReports/license.html It's the standard license for NetBSD projects and approved by OSI: http://www.opensource.org/licenses/bsd-license.php and GPL-compatible: http://www.gnu.org/licenses/license-list.html#FreeBSD Bye, Andreas -- http://mail.python.org/mailman/listinfo/python-list