From dt-sapug at handcraftedcomputers.com.au Wed Aug 1 14:38:50 2007 From: dt-sapug at handcraftedcomputers.com.au (Daryl Tester) Date: Wed, 01 Aug 2007 22:08:50 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46AAEBFD.3000403@handcraftedcomputers.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> Message-ID: <46B07EDA.4030306@handcraftedcomputers.com.au> Daryl Tester wrote: > Darryl Ross wrote: >> Seeing as Sydney and Brisbane are both having meetings, are we going to >> have another go? > > Those East Coast heathenites. Yeah, why not? . No-one (else) up for a Python meet? Testing, is this thing on? -- Regards, Daryl Tester "Bad kitty. Stop plotting evil." -- http://www.pvponline.com/article/3328/sun-may-20 From steve at adam.com.au Wed Aug 1 15:36:49 2007 From: steve at adam.com.au (stephen white) Date: Wed, 1 Aug 2007 23:06:49 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46B07EDA.4030306@handcraftedcomputers.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> Message-ID: On 01/08/2007, at 10:08 PM, Daryl Tester wrote: > in the moonlight distance>. Time to switch to a better language! Ruby! Objective-C! Or even... Javascript! OK, my gag reflex just kicked in... -- steve at adam.com.au From eric.j.march at gmail.com Thu Aug 2 00:35:48 2007 From: eric.j.march at gmail.com (Eric March) Date: Thu, 2 Aug 2007 08:05:48 +0930 Subject: [sapug] Testing Message-ID: I am getting email from the user group and I want to find out how to respond. Hope this gets to you all. -- Eric March 0418 418 995 www.ebmpl.com.au From twegener at fastmail.fm Thu Aug 2 02:19:56 2007 From: twegener at fastmail.fm (Tim Wegener) Date: Thu, 2 Aug 2007 09:49:56 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46B07EDA.4030306@handcraftedcomputers.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> Message-ID: <20070802094956.0748b256@redback.radnet.com.au> On Wed, 01 Aug 2007 22:08:50 +0930 Daryl Tester wrote: > Daryl Tester wrote: > No-one (else) up for a Python meet? Testing, is this thing on? If the topic were to interest me I'd be interested. Tim From spam at afoyi.com Thu Aug 2 03:23:54 2007 From: spam at afoyi.com (Darryl Ross) Date: Thu, 02 Aug 2007 10:53:54 +0930 Subject: [sapug] Testing In-Reply-To: References: Message-ID: <46B1322A.4090307@afoyi.com> Eric March wrote: > I am getting email from the user group and I want to find out how to > respond. I guess you worked it out :) Regards Darryl (2Rs!) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/sapug/attachments/20070802/b54c42cd/attachment.pgp From spam at afoyi.com Thu Aug 2 05:03:52 2007 From: spam at afoyi.com (Darryl Ross) Date: Thu, 02 Aug 2007 12:33:52 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <20070802094956.0748b256@redback.radnet.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> Message-ID: <46B14998.7050407@afoyi.com> Tim Wegener wrote: > If the topic were to interest me I'd be interested. I'm not reallyone for public type speaking, but I've been re-acquainting myself with Django over the last week or two, so could possibly do something? Regards -Darryl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/sapug/attachments/20070802/a2a252a1/attachment.pgp From twegener at fastmail.fm Thu Aug 2 05:17:17 2007 From: twegener at fastmail.fm (Tim Wegener) Date: Thu, 2 Aug 2007 12:47:17 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46B14998.7050407@afoyi.com> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B14998.7050407@afoyi.com> Message-ID: <20070802124717.2f4d2f38@redback.radnet.com.au> On Thu, 02 Aug 2007 12:33:52 +0930 Darryl Ross wrote: > Tim Wegener wrote: > > If the topic were to interest me I'd be interested. > > I'm not reallyone for public type speaking, but I've been re-acquainting > myself with Django over the last week or two, so could possibly do > something? If that included a walk through of setting up a Django project on a commodity web host (using fast_cgi, say) I'd be keen. Tim From chris at inetd.com.au Thu Aug 2 05:53:25 2007 From: chris at inetd.com.au (Chris Foote) Date: Thu, 2 Aug 2007 13:23:25 +0930 (CST) Subject: [sapug] AdPY meetup? In-Reply-To: <46B14998.7050407@afoyi.com> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B14998.7050407@afoyi.com> Message-ID: On Thu, 2 Aug 2007, Darryl Ross wrote: > Tim Wegener wrote: >> If the topic were to interest me I'd be interested. > > I'm not reallyone for public type speaking, but I've been re-acquainting > myself with Django over the last week or two, so could possibly do > something? I'd be interested in that. The last Python web framework I used was an early version of CherryPy, and it would be interesting to get a 1,000 foot view of Django from someone who has used it. -- Chris Foote Inetd Pty Ltd T/A HostExpress Web: http://www.hostexpress.com.au Blog: http://www.hostexpress.com.au/drupal/chris Phone: (08) 8410 4566 From michael at msdavies.net Thu Aug 2 06:52:26 2007 From: michael at msdavies.net (Michael Davies) Date: Thu, 2 Aug 2007 14:22:26 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B14998.7050407@afoyi.com> Message-ID: On 02/08/07, Chris Foote wrote: > On Thu, 2 Aug 2007, Darryl Ross wrote: > > > Tim Wegener wrote: > >> If the topic were to interest me I'd be interested. > > > > I'm not reallyone for public type speaking, but I've been re-acquainting > > myself with Django over the last week or two, so could possibly do > > something? > > I'd be interested in that. The last Python web framework I used was an > early version of CherryPy, and it would be interesting to get a 1,000 > foot view of Django from someone who has used it. Ditto. A Django talk would be good. -- Michael Davies "Do what you think is interesting, do somthing that michael at the-davies.net you think is fun and worthwhile, because otherwise http://michaeldavies.org you won't do it well anyway." -- Brian Kernighan From dt-sapug at handcraftedcomputers.com.au Thu Aug 2 09:15:10 2007 From: dt-sapug at handcraftedcomputers.com.au (Daryl Tester) Date: Thu, 02 Aug 2007 16:45:10 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <20070802094956.0748b256@redback.radnet.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> Message-ID: <46B1847E.7040008@handcraftedcomputers.com.au> Tim Wegener wrote: >> No-one (else) up for a Python meet? Testing, is this thing on? > If the topic were to interest me I'd be interested. What topics would be interesting to people? I know what floats my boat won't necesssarily float other people's boats (and I see Darryl has put his hand up for Django :-), but would anyone be interested in the following? * A comparision of testing frameworks under Python * Beginner's guide to Pygresql Or some future ones (this stuff is either current or imminent; when finished, I need to sit down and do some post-project reviewing). * Python executables * Managing ISP configurations through Jabber and Python Agents (the last one is definitely a personal boat floater :-). -- Regards, Daryl Tester "Bad kitty. Stop plotting evil." -- http://www.pvponline.com/article/3328/sun-may-20 From dt-sapug at handcraftedcomputers.com.au Thu Aug 2 09:41:05 2007 From: dt-sapug at handcraftedcomputers.com.au (Daryl Tester) Date: Thu, 02 Aug 2007 17:11:05 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> Message-ID: <46B18A91.60906@handcraftedcomputers.com.au> stephen white wrote: > Time to switch to a better language! > > Ruby! Objective-C! > > Or even... > > Javascript! > > OK, my gag reflex just kicked in... But not before you managed to hit "Send", dammit ... :-) -- Regards, Daryl Tester "Bad kitty. Stop plotting evil." -- http://www.pvponline.com/article/3328/sun-may-20 From twegener at fastmail.fm Thu Aug 2 09:42:55 2007 From: twegener at fastmail.fm (Tim Wegener) Date: Thu, 2 Aug 2007 17:12:55 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46B1847E.7040008@handcraftedcomputers.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B1847E.7040008@handcraftedcomputers.com.au> Message-ID: <20070802171255.2b4d1fc2@redback.radnet.com.au> On Thu, 02 Aug 2007 16:45:10 +0930 Daryl Tester wrote: > What topics would be interesting to people? I know what floats > my boat won't necesssarily float other people's boats (and I > see Darryl has put his hand up for Django :-), but would anyone > be interested in the following? > > * A comparision of testing frameworks under Python Interesting. Hopefully it would include doctest, py.test, nose, unittest for starters and dogtail as a bonus. Case studies and/or how-tos on test driven development would be interesting, also. (Especially something like moving a legacy project to a unittest based setup.) > * Beginner's guide to Pygresql This sounds a bit specific given that there are so many db interfaces psycopg, PyPgSQL, equivalent ones for mysql, etc and then abstractions like SqlAlchemy, Elixir, SQLObject, Storm. > Or some future ones (this stuff is either current or imminent; > when finished, I need to sit down and do some post-project > reviewing). > > * Python executables Meh. > * Managing ISP configurations through Jabber and Python Agents Now you're talking! :-) > (the last one is definitely a personal boat floater :-). Tim From spam at afoyi.com Thu Aug 2 12:15:00 2007 From: spam at afoyi.com (Darryl Ross) Date: Thu, 02 Aug 2007 19:45:00 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46B1847E.7040008@handcraftedcomputers.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B1847E.7040008@handcraftedcomputers.com.au> Message-ID: <46B1AEA4.4020300@afoyi.com> Daryl Tester wrote: > * A comparision of testing frameworks under Python Definitely something I need to get into... ;) > * Managing ISP configurations through Jabber and Python Agents Funny you should mention that... :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/sapug/attachments/20070802/9ed7763f/attachment.pgp From toojays at toojays.net Sat Aug 4 04:08:00 2007 From: toojays at toojays.net (John Steele Scott) Date: Sat, 4 Aug 2007 02:08:00 +0000 (UTC) Subject: [sapug] twisted.mail versus imaplib Message-ID: I've got a small project which needs to log into an IMAP server and grab some message attachments. I've had a look at the imaplib which is included with Python, but it feels a bit clunky to me. I'm considering using twisted.mail.imap4 instead. Any thoughts? The downside seems to be that twisted is a fairly large framework, and, having not used it before, it's hard to see where to get started. There's an imap4client example, but it looks like I have to absorb a huge chunk of twisted before I can really understand what's going on. cheers, John From dt-sapug at handcraftedcomputers.com.au Sun Aug 5 23:08:01 2007 From: dt-sapug at handcraftedcomputers.com.au (Daryl Tester) Date: Mon, 06 Aug 2007 06:38:01 +0930 Subject: [sapug] twisted.mail versus imaplib In-Reply-To: References: Message-ID: <46B63C31.4070902@handcraftedcomputers.com.au> John Steele Scott wrote: > I've got a small project which needs to log into an IMAP server and grab > some message attachments. I've had a look at the imaplib which is included > with Python, but it feels a bit clunky to me. I'm considering using > twisted.mail.imap4 instead. Any thoughts? Putting on my "business" hat (if this is a work application), what's that clunky about the imaplib interface that would require you to spend a significant amount of time learning an entirely new framework? If it's a personal itch, well then more power to you. :-) -- Regards, Daryl Tester "Bad kitty. Stop plotting evil." -- http://www.pvponline.com/article/3328/sun-may-20 From toojays at toojays.net Tue Aug 7 11:13:06 2007 From: toojays at toojays.net (John Steele Scott) Date: Tue, 7 Aug 2007 09:13:06 +0000 (UTC) Subject: [sapug] twisted.mail versus imaplib References: <46B63C31.4070902@handcraftedcomputers.com.au> Message-ID: On Mon, 06 Aug 2007 06:38:01 +0930, Daryl Tester wrote: > > Putting on my "business" hat (if this is a work application), what's > that clunky about the imaplib interface that would require you to > spend a significant amount of time learning an entirely new framework? > Fair call. It's been it while since I last used imaplib, but what's clunky is its abstraction, or lack thereof. For some operations, it just returns the reply from the server, as a list of strings, and it is not documented what the list means (i.e. how the server reply has been split). I can use it to do what I want, but it doesn't leave me feeling confident that it won't break depending on the phase of the moon (or, more likely, if I use a different IMAP server). What I was hoping for was that someone would tell me that twisted.imap is a joy to work with, rock solid, and worth the effort. Or that it's not. cheers, John From chris at inetd.com.au Tue Aug 7 12:05:58 2007 From: chris at inetd.com.au (Chris Foote) Date: Tue, 7 Aug 2007 19:35:58 +0930 (CST) Subject: [sapug] twisted.mail versus imaplib In-Reply-To: References: <46B63C31.4070902@handcraftedcomputers.com.au> Message-ID: On Tue, 7 Aug 2007, John Steele Scott wrote: > On Mon, 06 Aug 2007 06:38:01 +0930, Daryl Tester wrote: >> >> Putting on my "business" hat (if this is a work application), what's >> that clunky about the imaplib interface that would require you to >> spend a significant amount of time learning an entirely new framework? >> > > Fair call. > > It's been it while since I last used imaplib, but what's clunky is its > abstraction, or lack thereof. For some operations, it just returns the > reply from the server, as a list of strings, and it is not documented what > the list means (i.e. how the server reply has been split). I can use it to > do what I want, but it doesn't leave me feeling confident that it won't > break depending on the phase of the moon (or, more likely, if I use a > different IMAP server). That doesn't good, no. Although not directly Python related, I came across this excellent article about writing good APIs that's worth the read: http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=488&page=1 It sounds like imaplib is not one of them :-( > What I was hoping for was that someone would tell me that twisted.imap is > a joy to work with, rock solid, and worth the effort. Or that it's not. No idea. You might want to pose the question to the large audience on the comp.lang.python newsgroup, as there's only a handful of people on this list. Cheers, -- Chris Foote Inetd Pty Ltd T/A HostExpress Web: http://www.hostexpress.com.au Phone: (08) 8410 4566 From chris.were at gmail.com Tue Aug 7 12:11:15 2007 From: chris.were at gmail.com (Chris Were) Date: Tue, 7 Aug 2007 18:11:15 +0800 Subject: [sapug] twisted.mail versus imaplib In-Reply-To: References: <46B63C31.4070902@handcraftedcomputers.com.au> Message-ID: <35bb42690708070311i7f711c92h5be77d202407bd7d@mail.gmail.com> Hi John, What I was hoping for was that someone would tell me that twisted.imap is > a joy to work with, rock solid, and worth the effort. Or that it's not. I haven't used twisted.imap, however I have used many of the other twisted framework components on projects and have found them to be very well designed. The developers make themselves available on IRC if you run into any problems. Sometimes the documentation can be a bit sparse, however the source code speaks for itself and is well written. Cheers, Chris From dt-sapug at handcraftedcomputers.com.au Tue Aug 7 13:41:39 2007 From: dt-sapug at handcraftedcomputers.com.au (Daryl Tester) Date: Tue, 07 Aug 2007 21:11:39 +0930 Subject: [sapug] twisted.mail versus imaplib In-Reply-To: References: <46B63C31.4070902@handcraftedcomputers.com.au> Message-ID: <46B85A73.1060903@handcraftedcomputers.com.au> John Steele Scott wrote: > It's been it while since I last used imaplib, but what's clunky is its > abstraction, or lack thereof. For some operations, it just returns the > reply from the server, as a list of strings, and it is not documented what > the list means (i.e. how the server reply has been split). That's fair. When I last used it (1.6 era?) it exposed a lot of the underlying detail, so working with the IMAP RFCs was pretty much required. Looking at a 2.4 implementation doesn't look a whole lot different from what I remembered. > I can use it to > do what I want, but it doesn't leave me feeling confident that it won't > break depending on the phase of the moon (or, more likely, if I use a > different IMAP server). I think that provided you just work off the (documented by RFC) reply codes you should be OK. The response should be the response from the IMAP server (therefore list in the RFC) and should be one of either OK, BYE, NO, and others which I've forgotten. Data following that should be applicable to the response for the command (e.g. a SEARCH would return a list of applicable message numbers if the response was OK). As for different IMAP servers, I think you're supposed to interrogate the server to see what capabilities it supported, as not all servers implemented all features. I certainly remember fairly wild differences between Cyrus and UW. > What I was hoping for was that someone would tell me that twisted.imap is > a joy to work with, rock solid, and worth the effort. Or that it's not. Ah, you'll need a twisted guru for that. I guess you could also wrap the stdlib imap API with your own ("layer upon layer upon layer!" :-). -- Regards, Daryl Tester "Bad kitty. Stop plotting evil." -- http://www.pvponline.com/article/3328/sun-may-20 From kim.hawtin at adelaide.edu.au Tue Aug 21 08:08:11 2007 From: kim.hawtin at adelaide.edu.au (Kim Hawtin) Date: Tue, 21 Aug 2007 15:38:11 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46B1AEA4.4020300@afoyi.com> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B1847E.7040008@handcraftedcomputers.com.au> <46B1AEA4.4020300@afoyi.com> Message-ID: <46CA814B.7080503@adelaide.edu.au> Darryl Ross wrote: > Daryl Tester wrote: > > * A comparision of testing frameworks under Python > > Definitely something I need to get into... ;) I'm over hacking web servlette thingys in twisted, and would be interested in a sane web framework... =) > > * Managing ISP configurations through Jabber and Python Agents > > Funny you should mention that... :) that sounds interesting =) cheers, Kim From steve at adam.com.au Tue Aug 21 10:13:15 2007 From: steve at adam.com.au (stephen white) Date: Tue, 21 Aug 2007 17:43:15 +0930 Subject: [sapug] AdPY meetup? In-Reply-To: <46CA814B.7080503@adelaide.edu.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B1847E.7040008@handcraftedcomputers.com.au> <46B1AEA4.4020300@afoyi.com> <46CA814B.7080503@adelaide.edu.au> Message-ID: <73DDF67A-7A3F-4790-8719-0FD246ECE8F6@adam.com.au> On 21/08/2007, at 3:38 PM, Kim Hawtin wrote: > and would be interested in a sane web framework... =) Apple WebObjects 4.5.1? http://docs.info.apple.com/article.html? artnum=75190 SOPE? http://sope.opengroupware.org/en/ GNUstepWeb? http://www.gnustepweb.org/ AJRDatabase? http://sourceforge.net/projects/ajrdatabase/ As a bonus, you can have all of your source code to the left without any indentation at all! Now that's progress! -- steve at adam.com.au From chris at inetd.com.au Tue Aug 21 10:28:50 2007 From: chris at inetd.com.au (Chris Foote) Date: Tue, 21 Aug 2007 17:58:50 +0930 (CST) Subject: [sapug] AdPY meetup? In-Reply-To: <73DDF67A-7A3F-4790-8719-0FD246ECE8F6@adam.com.au> References: <46A9F8FC.8000703@afoyi.com> <46AAEBFD.3000403@handcraftedcomputers.com.au> <46B07EDA.4030306@handcraftedcomputers.com.au> <20070802094956.0748b256@redback.radnet.com.au> <46B1847E.7040008@handcraftedcomputers.com.au> <46B1AEA4.4020300@afoyi.com> <46CA814B.7080503@adelaide.edu.au> <73DDF67A-7A3F-4790-8719-0FD246ECE8F6@adam.com.au> Message-ID: On Tue, 21 Aug 2007, stephen white wrote: > On 21/08/2007, at 3:38 PM, Kim Hawtin wrote: >> and would be interested in a sane web framework... =) > > Apple WebObjects 4.5.1? http://docs.info.apple.com/article.html? > artnum=75190 > > SOPE? http://sope.opengroupware.org/en/ > > GNUstepWeb? http://www.gnustepweb.org/ > > AJRDatabase? http://sourceforge.net/projects/ajrdatabase/ Having played with OpenGroupware, I found the SOPE config stuff rather unusual and particularly bound to its environment. No idea about the rest of the library, however, except that you probably need to be writing your web app in Objective C :-( > As a bonus, you can have all of your source code to the left without > any indentation at all! Now that's progress! [tab]hehe.... -- Chris Foote Inetd Pty Ltd T/A HostExpress Web: http://www.hostexpress.com.au Blog: http://www.hostexpress.com.au/drupal/chris Phone: (08) 8410 4566