From dmalcolm at redhat.com Mon Jan 5 21:48:56 2009 From: dmalcolm at redhat.com (David Malcolm) Date: Mon, 05 Jan 2009 16:48:56 -0500 Subject: graphing books In-Reply-To: <49488CF0.8000700@redhat.com> References: <49488CF0.8000700@redhat.com> Message-ID: <1231192136.20574.101.camel@radiator.bos.redhat.com> On Tue, 2008-12-16 at 21:24 -0800, John Poelstra wrote: > Are there any recommended books on representing data in graphs or charts > with Python? If not, what are the currently recommended libraries to > graph data with? > May not be what you want, but IIRC bodhi uses python-TurboFlot to wrap Flot, a web-based library. From a.badger at gmail.com Tue Jan 6 00:24:00 2009 From: a.badger at gmail.com (Toshio Kuratomi) Date: Mon, 05 Jan 2009 16:24:00 -0800 Subject: graphing books In-Reply-To: <1231192136.20574.101.camel@radiator.bos.redhat.com> References: <49488CF0.8000700@redhat.com> <1231192136.20574.101.camel@radiator.bos.redhat.com> Message-ID: <4962A4A0.7050800@gmail.com> > On Tue, 2008-12-16 at 21:24 -0800, John Poelstra wrote: >> Are there any recommended books on representing data in graphs or charts >> with Python? If not, what are the currently recommended libraries to >> graph data with? >> pychart, graphviz-python, pydot I think I looked at pychart before and it seemed useful. I didn't end up implementing something with it, though. -Toshio -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: OpenPGP digital signature URL: From jlaska at redhat.com Tue Jan 20 14:20:51 2009 From: jlaska at redhat.com (James Laska) Date: Tue, 20 Jan 2009 09:20:51 -0500 Subject: Catch/suppress warnings Message-ID: <1232461251.3549.46.camel@localhost.localdomain> Greetings folks, I'm finishing up some work for Chris Lumens to add unittests into pykickstart. I'm trying to reduce the expected noise of some tests and would like to capture or suppress any warnings displayed. Chris directed me to http://docs.python.org/library/warnings.html#temporarily-suppressing-warnings, which most likely works. But I'm looking for something a bit more backwards compatible (that doesn't use the new with: syntax). Any suggestions or experiences to share? Thanks, James -- ========================================== James Laska -- jlaska at redhat.com Quality Engineering -- Red Hat, Inc. ========================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From ivazqueznet at gmail.com Tue Jan 20 14:47:00 2009 From: ivazqueznet at gmail.com (Ignacio Vazquez-Abrams) Date: Tue, 20 Jan 2009 09:47:00 -0500 Subject: Catch/suppress warnings In-Reply-To: <1232461251.3549.46.camel@localhost.localdomain> References: <1232461251.3549.46.camel@localhost.localdomain> Message-ID: <1232462820.4002.21.camel@ignacio.lan> On Tue, 2009-01-20 at 09:20 -0500, James Laska wrote: > Greetings folks, > > I'm finishing up some work for Chris Lumens to add unittests into > pykickstart. I'm trying to reduce the expected noise of some tests and > would like to capture or suppress any warnings displayed. > > Chris directed me to > http://docs.python.org/library/warnings.html#temporarily-suppressing-warnings, which most likely works. But I'm looking for something a bit more backwards compatible (that doesn't use the new with: syntax). The with syntax isn't the biggest backwards compatibility issue there. But that's a topic for another day. > Any suggestions or experiences to share? Here's a little chunk of code I used for doctests: def _test(): sw = warnings.showwarning def showwarning(msg, cat, fname, lno, file=None): sw(msg, cat, fname.split('/')[-1], 0, sys.stdout) warnings.showwarning = showwarning warnings.simplefilter('always') import doctest doctest.testmod() -- Ignacio Vazquez-Abrams PLEASE don't CC me; I'm already subscribed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From ivazqueznet at gmail.com Sat Jan 24 00:33:43 2009 From: ivazqueznet at gmail.com (Ignacio Vazquez-Abrams) Date: Fri, 23 Jan 2009 19:33:43 -0500 Subject: [Fwd: pykickstart -- looking for unit test volunteers] Message-ID: <1232757223.4002.165.camel@ignacio.lan> For your consideration. -------- Forwarded Message -------- From: James Laska Reply-To: For testers of Fedora Core development releases To: fedora-test-list at redhat.com Subject: pykickstart -- looking for unit test volunteers Date: Fri, 23 Jan 2009 12:23:08 -0500 Greetings folks, Chris Lumens, maintainer of pykickstart [1], is looking to expand the unit test coverage for the pykickstart package. For those who aren't familiar, pykickstart is used to read and write kickstart files by the anaconda installer, system-config-kickstart, livecd-tools, and snake. Anytime a pykickstart change is made, it can potentially disrupt kickstart processing for all of the supported distros (from RHEL3 to rawhide) or dependent tools. In order to improve confidence in any code changes, we began building unit tests into pykickstart [2]. So far, the tests are proving worthwhile in shaking out several bugs. However, only 4 of 47 kickstart commands have unit test coverage. We could use some help :) I invite folks to come join us in #kickstart where we'll be hosting a unit test development session. WHO: Anyone who ... * is interested in improving their python skills * wants to share their favorite kickstart files * has ideas on how to unit test WHEN: Wednesday, January 28, 2009 from 17:00-21:00 UTC (noon - 5pm EST) WHERE: irc://irc.freenode.net/kickstart WHY: Improving pykickstart makes installing Fedora more reliable ... and why do it alone when writing tests with friends is more fun! Hope to see you there! Thanks, James [1] https://fedoraproject.org/wiki/Pykickstart [2] http://git.fedorahosted.org/git/?p=pykickstart.git;a=commit;h=f4b5cf11aab1bf7acbc4113865a51cc718ba0935 -- Ignacio Vazquez-Abrams PLEASE don't CC me; I'm already subscribed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: