From rakesh.pandit at gmail.com Thu Dec 11 13:57:58 2008 From: rakesh.pandit at gmail.com (Rakesh Pandit) Date: Thu, 11 Dec 2008 19:27:58 +0530 Subject: Pakaging enthought tool suite Message-ID: On Thu, 10 Apr 2008 23:49:18 +0200, Gael Varoquaux wrote: >On Thu, Apr 10, 2008 at 01:43:34PM -0800, Jeff Spaleta wrote: >> > The tarballs of each released packages are located on > >> http://code.enthought.com/enstaller/eggs/source/ > >> You do need a dependency graph to be able to make some sense of this. I > >> am making good progress on making a nice one. >> Just for clarification... the eggs are completely source...and don't >> contain binary blobs of any sort? >Yes. I am not an Enthought employee. I have no financial interest or >other interest than promoting high-quality open-source scientific [..] I am packaging mayavi2 My current mayavi spec state is: http://rakesh.fedorapeople.org/misc/python-mayavi2.spec It does not build, but I am working on it and would love help or patches. ;) I have already filed python-Traits: https://bugzilla.redhat.com/show_bug.cgi?id=475098 There is an issue probably with mesa libraries which prevents importing vtk. So, if you try building mayavi2 on F10, disable selinux until this bug is resolved. https://bugzilla.redhat.com/show_bug.cgi?id=475146 -- Regards, Rakesh Pandit From gael.varoquaux at normalesup.org Thu Dec 11 14:23:20 2008 From: gael.varoquaux at normalesup.org (Gael Varoquaux) Date: Thu, 11 Dec 2008 15:23:20 +0100 Subject: Pakaging enthought tool suite In-Reply-To: References: Message-ID: <20081211142320.GA1440@phare.normalesup.org> On Thu, Dec 11, 2008 at 07:27:58PM +0530, Rakesh Pandit wrote: > On Thu, 10 Apr 2008 23:49:18 +0200, Gael Varoquaux wrote: > >On Thu, Apr 10, 2008 at 01:43:34PM -0800, Jeff Spaleta wrote: > >> > The tarballs of each released packages are located on > > >> http://code.enthought.com/enstaller/eggs/source/ > > >> You do need a dependency graph to be able to make some sense of this. I > > >> am making good progress on making a nice one. > >> Just for clarification... the eggs are completely source...and don't > >> contain binary blobs of any sort? > >Yes. I am not an Enthought employee. I have no financial interest or > >other interest than promoting high-quality open-source scientific > [..] > I am packaging mayavi2 > My current mayavi spec state is: > http://rakesh.fedorapeople.org/misc/python-mayavi2.spec It does not > build, but I am working on it and would love help or patches. ;) Hi Rakesh, Great, that's fantastic news. We actually had a release just yesterday :). Speaking of which, you are packaging old versions of ETS. The URL for the new versions are on PyPI (we made the shift to PyPI since this summer, for the release of ETS 3.0). The standard URL for the tarball for a package FooBar is: http://pypi.python.org/pacakages/source/F/FooBar/FooBar-3.0.1.tar.gz Debian packages have 'watch' files that check for new versions using a wildcard for the version number, therefore downloading the tarball is fairly easy. There are a number of individual projects to package: for the Debian packages we decided to fit to the exact structure of ETS 3, and we made 12 packages (that includes 3 packages required for chaco, but not mayavi). Making these packages the first time was some work, and I think you should try and start from the work we have already done. You can use alien to convert the debs to rpm. The latest debs can be found at http://newpeople.debian.org/~varun/. You will not need the gastable one: it has nothing to do with ETS. These packages are not in Debian, because of Debian freeze, but they are maintained by Varun, the Debian maintainer of the ETS packages. The other option would be use the Mandriva RPMs, developped by Lev Givon. You should use the ones for Mandriva 2009, as these are for ETS 3. I don't know Mandriva well, so I don't know what would be the best way to download them. I know that the structure of the debian packages is good, because I have help making them. I can work with you to extract the relevent information from them. There is actually very few information that is useful for packaging, as you want to get only the metainformation: the source tarball you will grab from the URL described in the package. I am at work right now and can't spend time on this. I gess that by the time I get back home, it will be late in India. And same thing tomorrow. However, during the week end, if you want, we can pop up a chat and get some work done quickly. I know nothing of RPMs, so I can hardly be useful by myself. Cheers, Ga?l From poelstra at redhat.com Wed Dec 17 05:24:00 2008 From: poelstra at redhat.com (John Poelstra) Date: Tue, 16 Dec 2008 21:24:00 -0800 Subject: graphing books Message-ID: <49488CF0.8000700@redhat.com> 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? Thanks, John From drewclist at rdd.name Wed Dec 17 06:47:19 2008 From: drewclist at rdd.name (R. Drew Davis) Date: Wed, 17 Dec 2008 01:47:19 -0500 Subject: graphing books In-Reply-To: <49488CF0.8000700@redhat.com> References: <49488CF0.8000700@redhat.com> Message-ID: <1229496439.6430.278.camel@drew-laptop> 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? > > Thanks, > John Googling for Python graphing led me to http://mail.python.org/pipermail/python-list/2005-May/321907.html which inspired me to narrow my search to python graphing blt because I have memories of liking BLT in the TCL/TK world some long time ago. That 2nd google search led me to: http://heim.ifi.uio.no/~hpl/Pmw.Blt/doc/ which looks pretty good to me, but I confess up front that I haven't tried it. Your question about charts leaves me unsure if I'm even on the right track in answering your question. You mean charts in the sense of a tabular presentation of the data? Python can handle that at least as well as Cobol. But that's obvious enough to make me think that you are perhaps looking for something more general about presenting data. There are many good books on that topic, none of them, to my knowledge, python specific. Google for presenting data books or you could try narrowing it down with presenting data books tukey Or are you looking for something to do the kinds of tricks that once upon a time were the realm of the Unix tool tbl? Generating HTML tables or even TeX tables and post-processing the output would seem to be the contemporary ways to do that. Googling for python html table gives me the impression that the harder problem is scraping the data out of an HTML table to get it into Python data structures (which I think is the opposite of the problem we're talking about here), but I did find: http://www.linuxjournal.com/article/2986 which specifically explains how to use the Python library HTMLgen to generate an HTML table. (It took me a little while to figure out that the red text in that article are clickable links to see the code listings and output examples). The bar chart from listing 2 in that article certainly looks to me like nice looking output from very little code. Maybe I should shush and listen to what other more experienced hands have to say in reply to your question. Can you tell us more of the specific problem that motivates your question? Might help me narrow my thinking and searching down to something more specific. Drew From jspaleta at gmail.com Wed Dec 17 07:22:01 2008 From: jspaleta at gmail.com (Jeff Spaleta) Date: Tue, 16 Dec 2008 22:22:01 -0900 Subject: graphing books In-Reply-To: <49488CF0.8000700@redhat.com> References: <49488CF0.8000700@redhat.com> Message-ID: <604aa7910812162322n27f1c945s4bf594b24d43d35f@mail.gmail.com> On Tue, Dec 16, 2008 at 8:24 PM, 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? I do all my scientific data plotting with python-matplotlib currently http://www.scipy.org/Cookbook/Matplotlib -jef From jspaleta at gmail.com Wed Dec 17 08:46:08 2008 From: jspaleta at gmail.com (Jeff Spaleta) Date: Tue, 16 Dec 2008 23:46:08 -0900 Subject: graphing books In-Reply-To: <604aa7910812162322n27f1c945s4bf594b24d43d35f@mail.gmail.com> References: <49488CF0.8000700@redhat.com> <604aa7910812162322n27f1c945s4bf594b24d43d35f@mail.gmail.com> Message-ID: <604aa7910812170046y301dd976va22f6e485be2ec53@mail.gmail.com> On Tue, Dec 16, 2008 at 10:22 PM, Jeff Spaleta wrote: > On Tue, Dec 16, 2008 at 8:24 PM, 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? > > > I do all my scientific data plotting with python-matplotlib currently did i mention that ipython has integration for matplotlib? -jef From ivazqueznet at gmail.com Wed Dec 17 13:34:54 2008 From: ivazqueznet at gmail.com (Ignacio Vazquez-Abrams) Date: Wed, 17 Dec 2008 08:34:54 -0500 Subject: graphing books In-Reply-To: <49488CF0.8000700@redhat.com> References: <49488CF0.8000700@redhat.com> Message-ID: <1229520894.3741.55.camel@ignacio.lan> 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? Graphs are done with pydot, charts with python-matplotlib. -- 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 python at venix.com Wed Dec 17 13:47:00 2008 From: python at venix.com (Lloyd Kvam) Date: Wed, 17 Dec 2008 08:47:00 -0500 Subject: graphing books In-Reply-To: <1229496439.6430.278.camel@drew-laptop> References: <49488CF0.8000700@redhat.com> <1229496439.6430.278.camel@drew-laptop> Message-ID: <1229521620.10963.6.camel@www.venix.com> On Wed, 2008-12-17 at 01:47 -0500, R. Drew Davis wrote: > which specifically explains how to use the Python library HTMLgen to > generate an HTML table. HTMLgen is probably obsolete (though I still have some code using it). ElementTree supports building XML (XHTML) an element at a time like HTMLgen. Look at Python templating packages. I'm using Kid/Genshi, but you may prefer some of the alternatives. Django uses a different package for HTML templating. -- Lloyd Kvam Venix Corp DLSLUG/GNHLUG library http://dlslug.org/library.html http://www.librarything.com/catalog/dlslug http://www.librarything.com/rsshtml/recent/dlslug http://www.librarything.com/rss/recent/dlslug From gael.varoquaux at normalesup.org Wed Dec 17 13:58:04 2008 From: gael.varoquaux at normalesup.org (Gael Varoquaux) Date: Wed, 17 Dec 2008 14:58:04 +0100 Subject: graphing books In-Reply-To: <1229520894.3741.55.camel@ignacio.lan> References: <49488CF0.8000700@redhat.com> <1229520894.3741.55.camel@ignacio.lan> Message-ID: <20081217135804.GA26921@phare.normalesup.org> On Wed, Dec 17, 2008 at 08:34:54AM -0500, Ignacio Vazquez-Abrams wrote: > 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? > Graphs are done with pydot, charts with python-matplotlib. Add to this networkx, which can use graphviz together with matplotlib to do nice plotting of graphs with a nice API. Ga?l From christof at damian.net Thu Dec 18 10:47:07 2008 From: christof at damian.net (Christof Damian) Date: Thu, 18 Dec 2008 11:47:07 +0100 Subject: graphing books In-Reply-To: <20081217135804.GA26921@phare.normalesup.org> References: <49488CF0.8000700@redhat.com> <1229520894.3741.55.camel@ignacio.lan> <20081217135804.GA26921@phare.normalesup.org> Message-ID: If you just want to do graphs for websites and don't mind flash as a requirement I can recommend OFC http://teethgrinder.co.uk/open-flash-chart-2/ I use it together with Django for one of my sites: http://api.bicingwatch.com/api/station/76 The flash code is open source, but I never looked at it. I just pass it some JSON and it does the trick. Christof On Wed, Dec 17, 2008 at 14:58, Gael Varoquaux wrote: > On Wed, Dec 17, 2008 at 08:34:54AM -0500, Ignacio Vazquez-Abrams wrote: >> 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? > >> Graphs are done with pydot, charts with python-matplotlib. > > Add to this networkx, which can use graphviz together with matplotlib to > do nice plotting of graphs with a nice API. > > Ga?l > > _______________________________________________ > Fedora-python-devel-list mailing list > Fedora-python-devel-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-python-devel-list >