From javier at candeira.com Sun Mar 2 02:25:31 2014 From: javier at candeira.com (Javier Candeira) Date: Sun, 2 Mar 2014 12:25:31 +1100 Subject: [melbourne-pug] March MPUG Meeting: Timeouts, REST APIs. Tomorrow Monday 3 March, 6PM, Inspire 9, 41 Stewart St Richmond Message-ID: Dear Melbourne Pythonistas, Tomorrow, Monday 3, we'll hold the March meeting of the Melbourne Python Users Group. Time: 6pm Venue: Inspire 9, 41 Stewart St. Richmond. 50m from Richmond Train Station. Program: * Andrew Walker -- How Hard Could it be to Implement Timeouts? * Javier Candeira -- Implementing an agnostic, dynamic client for a REST API live (by cheating). Including a minitutorial on some of Python's __dunder__ methods. As usual, we'll order pizza, with a $10 contribution required. Drinks are BYO, and I'll bring a six-pack that was left over from last week. If you have a tip to share, or want to give a short presentation on a library you've been using lately, please just come forward at the start of the meeting. With much appreciation to Inspire 9 for the donation of the use of the venue, The MPUG organisers From javier at candeira.com Sun Mar 2 02:29:40 2014 From: javier at candeira.com (Javier Candeira) Date: Sun, 2 Mar 2014 12:29:40 +1100 Subject: [melbourne-pug] Pizza volunteer(s) required Message-ID: Hi everyone, My presentation tomorrow is a bit involved, and I won't have the mental bandwith (or the time) to deal with pizza. Any volunteers? Here's what the task entails: - Getting $10 from people who want pizza, and waiting a bit for stragglers, but not too much because pizza can't be late. - Loading up the crust website on your laptop - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) pizzas in the given budget. - Trying to fit the delivery time for the estimated time of the end of presentations - Putting in your CC number (or giving the money to someone on the Inspire9 front desk) - Hitting "send". Thanks, J From gcross at fastmail.fm Sun Mar 2 03:26:25 2014 From: gcross at fastmail.fm (Graeme Cross) Date: Sun, 2 Mar 2014 13:26:25 +1100 Subject: [melbourne-pug] Pizza volunteer(s) required In-Reply-To: References: Message-ID: <120A0884-0B79-4C20-B9C1-7665EF7BEF32@fastmail.fm> On 02/03/2014, at 12:29 PM, Javier Candeira wrote: > Hi everyone, > > My presentation tomorrow is a bit involved, and I won't have the > mental bandwith (or the time) to deal with pizza. Any volunteers? > > Here's what the task entails: > > - Getting $10 from people who want pizza, and waiting a bit for > stragglers, but not too much because pizza can't be late. > - Loading up the crust website on your laptop > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) > pizzas in the given budget. > - Trying to fit the delivery time for the estimated time of the end of > presentations > - Putting in your CC number (or giving the money to someone on the > Inspire9 front desk) > - Hitting "send". > > Thanks, > > J Javier, I'm happy to organise the pizzas. Regards, Graeme From javier at candeira.com Sun Mar 2 03:32:52 2014 From: javier at candeira.com (Javier Candeira) Date: Sun, 2 Mar 2014 13:32:52 +1100 Subject: [melbourne-pug] Pizza volunteer(s) required In-Reply-To: <120A0884-0B79-4C20-B9C1-7665EF7BEF32@fastmail.fm> References: <120A0884-0B79-4C20-B9C1-7665EF7BEF32@fastmail.fm> Message-ID: Thanks a lot, Graeme. For the record, I forgot that we normally also ask whether there are anybody with known food allergies, and also we try to suss out how many vegetarians are paying for pizza. J On Sun, Mar 2, 2014 at 1:26 PM, Graeme Cross wrote: > On 02/03/2014, at 12:29 PM, Javier Candeira wrote: > >> Hi everyone, >> >> My presentation tomorrow is a bit involved, and I won't have the >> mental bandwith (or the time) to deal with pizza. Any volunteers? >> >> Here's what the task entails: >> >> - Getting $10 from people who want pizza, and waiting a bit for >> stragglers, but not too much because pizza can't be late. >> - Loading up the crust website on your laptop >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >> pizzas in the given budget. >> - Trying to fit the delivery time for the estimated time of the end of >> presentations >> - Putting in your CC number (or giving the money to someone on the >> Inspire9 front desk) >> - Hitting "send". >> >> Thanks, >> >> J > > Javier, > > I'm happy to organise the pizzas. > > Regards, > Graeme > > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug From tim at growthpath.com.au Tue Mar 4 02:27:18 2014 From: tim at growthpath.com.au (Tim Richardson) Date: Tue, 4 Mar 2014 12:27:18 +1100 Subject: [melbourne-pug] Pizza volunteer(s) required In-Reply-To: References: Message-ID: Hi as discussed with Javier, at the next meeting, I can talk about the web2py framework (http://www.web2py.com), a python-based web framework with an emphasis on "batteries included" and with origins as a teaching tool. Web2py was a 2012 Infosys Technology of the Year winner, and a 2014 Edison Awards finalist. . This would be a 30 minute talk and I think the technical level would be regarded as "medium". Questions or topics of interest in advance would be really welcome. Unless otherwise influenced by requests, I plan to discuss the database abstraction layer (the DAL), the request execution model, performance tweaks (to show some flavour of how it scales), and practical use of web2py including some of the "batteries included" features which make it so productive. I won't be doing a "compare and contrast" exercise, mostly because I just don't know enough about other frameworks. tim On Sun, Mar 2, 2014 at 12:29 PM, Javier Candeira wrote: > Hi everyone, > > My presentation tomorrow is a bit involved, and I won't have the > mental bandwith (or the time) to deal with pizza. Any volunteers? > > Here's what the task entails: > > - Getting $10 from people who want pizza, and waiting a bit for > stragglers, but not too much because pizza can't be late. > - Loading up the crust website on your laptop > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) > pizzas in the given budget. > - Trying to fit the delivery time for the estimated time of the end of > presentations > - Putting in your CC number (or giving the money to someone on the > Inspire9 front desk) > - Hitting "send". > > Thanks, > > J > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > -- *Tim Richardson, Director* GrowthPath, Data-driven profit growth Mobile: +61 423 091 732 Office: +61 3 8678 1850 I tweet useful business & IT tips at growthpath_au GrowthPath Pty Ltd ABN 76 133 733 963 -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Tue Mar 4 03:37:16 2014 From: javier at candeira.com (Javier Candeira) Date: Tue, 4 Mar 2014 13:37:16 +1100 Subject: [melbourne-pug] Pizza volunteer(s) required In-Reply-To: References: Message-ID: Thanks, Tim! J On Tue, Mar 4, 2014 at 12:27 PM, Tim Richardson wrote: > Hi as discussed with Javier, at the next meeting, I can talk about the > web2py framework (http://www.web2py.com), a python-based web framework > with an emphasis on "batteries included" and with origins as a teaching > tool. Web2py was a 2012 Infosys Technology of the Year winner, and a 2014 > Edison Awards finalist. > . > This would be a 30 minute talk and I think the technical level would be > regarded as "medium". > > Questions or topics of interest in advance would be really welcome. Unless > otherwise influenced by requests, I plan to discuss the database > abstraction layer (the DAL), the request execution model, performance > tweaks (to show some flavour of how it scales), and practical use of web2py > including some of the "batteries included" features which make it so > productive. > > I won't be doing a "compare and contrast" exercise, mostly because I just > don't know enough about other frameworks. > > tim > > > > On Sun, Mar 2, 2014 at 12:29 PM, Javier Candeira wrote: > >> Hi everyone, >> >> My presentation tomorrow is a bit involved, and I won't have the >> mental bandwith (or the time) to deal with pizza. Any volunteers? >> >> Here's what the task entails: >> >> - Getting $10 from people who want pizza, and waiting a bit for >> stragglers, but not too much because pizza can't be late. >> - Loading up the crust website on your laptop >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >> pizzas in the given budget. >> - Trying to fit the delivery time for the estimated time of the end of >> presentations >> - Putting in your CC number (or giving the money to someone on the >> Inspire9 front desk) >> - Hitting "send". >> >> Thanks, >> >> J >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> > > > > -- > > > > *Tim Richardson, Director* > GrowthPath, Data-driven profit growth > > Mobile: +61 423 091 732 > Office: +61 3 8678 1850 > I tweet useful business & IT tips at growthpath_au > > GrowthPath Pty Ltd > ABN 76 133 733 963 > > > > > > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chausler at gmail.com Mon Mar 3 23:04:12 2014 From: chausler at gmail.com (Chris Hausler) Date: Tue, 4 Mar 2014 09:04:12 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 1 In-Reply-To: References: Message-ID: Hi, Sorry I couldn't make it last night, but I do look forward to attending a meeting in a may :-) I've just moved back to melbourne and I'm not entirely sure what the interests of the group are, but I would be happy to give a talk on machine learning and data analysis with scikit-learn and/or pandas in the future if anyone is interested? Let me know. I probably can't manage it until june, which is a while off, but would be happy to start thinking about some good examples ;-) cheers chris On Sun, Mar 2, 2014 at 10:00 PM, wrote: > Send melbourne-pug mailing list submissions to > melbourne-pug at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/melbourne-pug > or, via email, send a message with subject or body 'help' to > melbourne-pug-request at python.org > > You can reach the person managing the list at > melbourne-pug-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of melbourne-pug digest..." > > > Today's Topics: > > 1. March MPUG Meeting: Timeouts, REST APIs. Tomorrow Monday 3 > March, 6PM, Inspire 9, 41 Stewart St Richmond (Javier Candeira) > 2. Pizza volunteer(s) required (Javier Candeira) > 3. Re: Pizza volunteer(s) required (Graeme Cross) > 4. Re: Pizza volunteer(s) required (Javier Candeira) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 2 Mar 2014 12:25:31 +1100 > From: Javier Candeira > To: Melbourne Python Users Group , > "events at inspire9.com" > Subject: [melbourne-pug] March MPUG Meeting: Timeouts, REST APIs. > Tomorrow Monday 3 March, 6PM, Inspire 9, 41 Stewart St Richmond > Message-ID: > 5QHwshJufgoyA+NidVtLCvEpzcS-wpiCJpeQ at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Dear Melbourne Pythonistas, > > Tomorrow, Monday 3, we'll hold the March meeting of the Melbourne > Python Users Group. > > Time: 6pm > Venue: Inspire 9, 41 Stewart St. Richmond. 50m from Richmond Train Station. > > Program: > > * Andrew Walker -- How Hard Could it be to Implement Timeouts? > > * Javier Candeira -- Implementing an agnostic, dynamic client for a > REST API live (by cheating). > Including a minitutorial on some of Python's __dunder__ methods. > > As usual, we'll order pizza, with a $10 contribution required. Drinks > are BYO, and I'll bring a six-pack that was left over from last week. > > If you have a tip to share, or want to give a short presentation on a > library you've been using lately, please just come forward at the > start of the meeting. > > With much appreciation to Inspire 9 for the donation of the use of the > venue, > > The MPUG organisers > > > ------------------------------ > > Message: 2 > Date: Sun, 2 Mar 2014 12:29:40 +1100 > From: Javier Candeira > To: Melbourne Python Users Group > Subject: [melbourne-pug] Pizza volunteer(s) required > Message-ID: > KFnXQ5j1oHUaAFJTCzm9pMdCQ at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi everyone, > > My presentation tomorrow is a bit involved, and I won't have the > mental bandwith (or the time) to deal with pizza. Any volunteers? > > Here's what the task entails: > > - Getting $10 from people who want pizza, and waiting a bit for > stragglers, but not too much because pizza can't be late. > - Loading up the crust website on your laptop > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) > pizzas in the given budget. > - Trying to fit the delivery time for the estimated time of the end of > presentations > - Putting in your CC number (or giving the money to someone on the > Inspire9 front desk) > - Hitting "send". > > Thanks, > > J > > > ------------------------------ > > Message: 3 > Date: Sun, 2 Mar 2014 13:26:25 +1100 > From: Graeme Cross > To: Melbourne Python Users Group > Subject: Re: [melbourne-pug] Pizza volunteer(s) required > Message-ID: <120A0884-0B79-4C20-B9C1-7665EF7BEF32 at fastmail.fm> > Content-Type: text/plain; charset=us-ascii > > On 02/03/2014, at 12:29 PM, Javier Candeira wrote: > > > Hi everyone, > > > > My presentation tomorrow is a bit involved, and I won't have the > > mental bandwith (or the time) to deal with pizza. Any volunteers? > > > > Here's what the task entails: > > > > - Getting $10 from people who want pizza, and waiting a bit for > > stragglers, but not too much because pizza can't be late. > > - Loading up the crust website on your laptop > > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) > > pizzas in the given budget. > > - Trying to fit the delivery time for the estimated time of the end of > > presentations > > - Putting in your CC number (or giving the money to someone on the > > Inspire9 front desk) > > - Hitting "send". > > > > Thanks, > > > > J > > Javier, > > I'm happy to organise the pizzas. > > Regards, > Graeme > > > > > ------------------------------ > > Message: 4 > Date: Sun, 2 Mar 2014 13:32:52 +1100 > From: Javier Candeira > To: Melbourne Python Users Group > Subject: Re: [melbourne-pug] Pizza volunteer(s) required > Message-ID: > < > CAKADsbcd4NpAivLxbASB+G22TUOHAtq2jLtJOJLWx_MjNHZyZg at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Thanks a lot, Graeme. > > For the record, I forgot that we normally also ask whether there are > anybody with known food allergies, and also we try to suss out how > many vegetarians are paying for pizza. > > J > > On Sun, Mar 2, 2014 at 1:26 PM, Graeme Cross wrote: > > On 02/03/2014, at 12:29 PM, Javier Candeira wrote: > > > >> Hi everyone, > >> > >> My presentation tomorrow is a bit involved, and I won't have the > >> mental bandwith (or the time) to deal with pizza. Any volunteers? > >> > >> Here's what the task entails: > >> > >> - Getting $10 from people who want pizza, and waiting a bit for > >> stragglers, but not too much because pizza can't be late. > >> - Loading up the crust website on your laptop > >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) > >> pizzas in the given budget. > >> - Trying to fit the delivery time for the estimated time of the end of > >> presentations > >> - Putting in your CC number (or giving the money to someone on the > >> Inspire9 front desk) > >> - Hitting "send". > >> > >> Thanks, > >> > >> J > > > > Javier, > > > > I'm happy to organise the pizzas. > > > > Regards, > > Graeme > > > > > > _______________________________________________ > > melbourne-pug mailing list > > melbourne-pug at python.org > > https://mail.python.org/mailman/listinfo/melbourne-pug > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > > ------------------------------ > > End of melbourne-pug Digest, Vol 93, Issue 1 > ******************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noonslists at gmail.com Tue Mar 4 23:04:46 2014 From: noonslists at gmail.com (Noon Silk) Date: Wed, 5 Mar 2014 09:04:46 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 1 In-Reply-To: References: Message-ID: Yep, I'd be interested! On Tue, Mar 4, 2014 at 9:04 AM, Chris Hausler wrote: > Hi, > > Sorry I couldn't make it last night, but I do look forward to attending a > meeting in a may :-) > I've just moved back to melbourne and I'm not entirely sure what the > interests of the group are, but I would be happy to give a talk on machine > learning and data analysis with scikit-learn and/or pandas in the future if > anyone is interested? > Let me know. I probably can't manage it until june, which is a while off, > but would be happy to start thinking about some good examples ;-) > > cheers > chris > > > On Sun, Mar 2, 2014 at 10:00 PM, wrote: > >> Send melbourne-pug mailing list submissions to >> melbourne-pug at python.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://mail.python.org/mailman/listinfo/melbourne-pug >> or, via email, send a message with subject or body 'help' to >> melbourne-pug-request at python.org >> >> You can reach the person managing the list at >> melbourne-pug-owner at python.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of melbourne-pug digest..." >> >> >> Today's Topics: >> >> 1. March MPUG Meeting: Timeouts, REST APIs. Tomorrow Monday 3 >> March, 6PM, Inspire 9, 41 Stewart St Richmond (Javier Candeira) >> 2. Pizza volunteer(s) required (Javier Candeira) >> 3. Re: Pizza volunteer(s) required (Graeme Cross) >> 4. Re: Pizza volunteer(s) required (Javier Candeira) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sun, 2 Mar 2014 12:25:31 +1100 >> From: Javier Candeira >> To: Melbourne Python Users Group , >> "events at inspire9.com" >> Subject: [melbourne-pug] March MPUG Meeting: Timeouts, REST APIs. >> Tomorrow Monday 3 March, 6PM, Inspire 9, 41 Stewart St Richmond >> Message-ID: >> > 5QHwshJufgoyA+NidVtLCvEpzcS-wpiCJpeQ at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Dear Melbourne Pythonistas, >> >> Tomorrow, Monday 3, we'll hold the March meeting of the Melbourne >> Python Users Group. >> >> Time: 6pm >> Venue: Inspire 9, 41 Stewart St. Richmond. 50m from Richmond Train >> Station. >> >> Program: >> >> * Andrew Walker -- How Hard Could it be to Implement Timeouts? >> >> * Javier Candeira -- Implementing an agnostic, dynamic client for a >> REST API live (by cheating). >> Including a minitutorial on some of Python's __dunder__ methods. >> >> As usual, we'll order pizza, with a $10 contribution required. Drinks >> are BYO, and I'll bring a six-pack that was left over from last week. >> >> If you have a tip to share, or want to give a short presentation on a >> library you've been using lately, please just come forward at the >> start of the meeting. >> >> With much appreciation to Inspire 9 for the donation of the use of the >> venue, >> >> The MPUG organisers >> >> >> ------------------------------ >> >> Message: 2 >> Date: Sun, 2 Mar 2014 12:29:40 +1100 >> From: Javier Candeira >> To: Melbourne Python Users Group >> Subject: [melbourne-pug] Pizza volunteer(s) required >> Message-ID: >> > KFnXQ5j1oHUaAFJTCzm9pMdCQ at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Hi everyone, >> >> My presentation tomorrow is a bit involved, and I won't have the >> mental bandwith (or the time) to deal with pizza. Any volunteers? >> >> Here's what the task entails: >> >> - Getting $10 from people who want pizza, and waiting a bit for >> stragglers, but not too much because pizza can't be late. >> - Loading up the crust website on your laptop >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >> pizzas in the given budget. >> - Trying to fit the delivery time for the estimated time of the end of >> presentations >> - Putting in your CC number (or giving the money to someone on the >> Inspire9 front desk) >> - Hitting "send". >> >> Thanks, >> >> J >> >> >> ------------------------------ >> >> Message: 3 >> Date: Sun, 2 Mar 2014 13:26:25 +1100 >> From: Graeme Cross >> To: Melbourne Python Users Group >> Subject: Re: [melbourne-pug] Pizza volunteer(s) required >> Message-ID: <120A0884-0B79-4C20-B9C1-7665EF7BEF32 at fastmail.fm> >> Content-Type: text/plain; charset=us-ascii >> >> On 02/03/2014, at 12:29 PM, Javier Candeira wrote: >> >> > Hi everyone, >> > >> > My presentation tomorrow is a bit involved, and I won't have the >> > mental bandwith (or the time) to deal with pizza. Any volunteers? >> > >> > Here's what the task entails: >> > >> > - Getting $10 from people who want pizza, and waiting a bit for >> > stragglers, but not too much because pizza can't be late. >> > - Loading up the crust website on your laptop >> > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >> > pizzas in the given budget. >> > - Trying to fit the delivery time for the estimated time of the end of >> > presentations >> > - Putting in your CC number (or giving the money to someone on the >> > Inspire9 front desk) >> > - Hitting "send". >> > >> > Thanks, >> > >> > J >> >> Javier, >> >> I'm happy to organise the pizzas. >> >> Regards, >> Graeme >> >> >> >> >> ------------------------------ >> >> Message: 4 >> Date: Sun, 2 Mar 2014 13:32:52 +1100 >> From: Javier Candeira >> To: Melbourne Python Users Group >> Subject: Re: [melbourne-pug] Pizza volunteer(s) required >> Message-ID: >> < >> CAKADsbcd4NpAivLxbASB+G22TUOHAtq2jLtJOJLWx_MjNHZyZg at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Thanks a lot, Graeme. >> >> For the record, I forgot that we normally also ask whether there are >> anybody with known food allergies, and also we try to suss out how >> many vegetarians are paying for pizza. >> >> J >> >> On Sun, Mar 2, 2014 at 1:26 PM, Graeme Cross wrote: >> > On 02/03/2014, at 12:29 PM, Javier Candeira >> wrote: >> > >> >> Hi everyone, >> >> >> >> My presentation tomorrow is a bit involved, and I won't have the >> >> mental bandwith (or the time) to deal with pizza. Any volunteers? >> >> >> >> Here's what the task entails: >> >> >> >> - Getting $10 from people who want pizza, and waiting a bit for >> >> stragglers, but not too much because pizza can't be late. >> >> - Loading up the crust website on your laptop >> >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >> >> pizzas in the given budget. >> >> - Trying to fit the delivery time for the estimated time of the end of >> >> presentations >> >> - Putting in your CC number (or giving the money to someone on the >> >> Inspire9 front desk) >> >> - Hitting "send". >> >> >> >> Thanks, >> >> >> >> J >> > >> > Javier, >> > >> > I'm happy to organise the pizzas. >> > >> > Regards, >> > Graeme >> > >> > >> > _______________________________________________ >> > melbourne-pug mailing list >> > melbourne-pug at python.org >> > https://mail.python.org/mailman/listinfo/melbourne-pug >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> >> ------------------------------ >> >> End of melbourne-pug Digest, Vol 93, Issue 1 >> ******************************************** >> > > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -- Noon Silk Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/ "Every morning when I wake up, I experience an exquisite joy -- the joy of being this signature." -------------- next part -------------- An HTML attachment was scrubbed... URL: From tleeuwenburg at gmail.com Tue Mar 4 23:16:43 2014 From: tleeuwenburg at gmail.com (Tennessee Leeuwenburg) Date: Wed, 5 Mar 2014 09:16:43 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 1 In-Reply-To: References: Message-ID: It says that site is unavailable, but jumping to conclusions, if any MPUG'ers feel like catching up for lunch in the CBD periodically, I'd be enthusiastic. On Wed, Mar 5, 2014 at 9:04 AM, Noon Silk wrote: > Yep, I'd be interested! > > > On Tue, Mar 4, 2014 at 9:04 AM, Chris Hausler wrote: > >> Hi, >> >> Sorry I couldn't make it last night, but I do look forward to attending a >> meeting in a may :-) >> I've just moved back to melbourne and I'm not entirely sure what the >> interests of the group are, but I would be happy to give a talk on machine >> learning and data analysis with scikit-learn and/or pandas in the future if >> anyone is interested? >> Let me know. I probably can't manage it until june, which is a while off, >> but would be happy to start thinking about some good examples ;-) >> >> cheers >> chris >> >> >> On Sun, Mar 2, 2014 at 10:00 PM, wrote: >> >>> Send melbourne-pug mailing list submissions to >>> melbourne-pug at python.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> or, via email, send a message with subject or body 'help' to >>> melbourne-pug-request at python.org >>> >>> You can reach the person managing the list at >>> melbourne-pug-owner at python.org >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of melbourne-pug digest..." >>> >>> >>> Today's Topics: >>> >>> 1. March MPUG Meeting: Timeouts, REST APIs. Tomorrow Monday 3 >>> March, 6PM, Inspire 9, 41 Stewart St Richmond (Javier Candeira) >>> 2. Pizza volunteer(s) required (Javier Candeira) >>> 3. Re: Pizza volunteer(s) required (Graeme Cross) >>> 4. Re: Pizza volunteer(s) required (Javier Candeira) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Sun, 2 Mar 2014 12:25:31 +1100 >>> From: Javier Candeira >>> To: Melbourne Python Users Group , >>> "events at inspire9.com" >>> Subject: [melbourne-pug] March MPUG Meeting: Timeouts, REST APIs. >>> Tomorrow Monday 3 March, 6PM, Inspire 9, 41 Stewart St Richmond >>> Message-ID: >>> >> 5QHwshJufgoyA+NidVtLCvEpzcS-wpiCJpeQ at mail.gmail.com> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> Dear Melbourne Pythonistas, >>> >>> Tomorrow, Monday 3, we'll hold the March meeting of the Melbourne >>> Python Users Group. >>> >>> Time: 6pm >>> Venue: Inspire 9, 41 Stewart St. Richmond. 50m from Richmond Train >>> Station. >>> >>> Program: >>> >>> * Andrew Walker -- How Hard Could it be to Implement Timeouts? >>> >>> * Javier Candeira -- Implementing an agnostic, dynamic client for a >>> REST API live (by cheating). >>> Including a minitutorial on some of Python's __dunder__ methods. >>> >>> As usual, we'll order pizza, with a $10 contribution required. Drinks >>> are BYO, and I'll bring a six-pack that was left over from last week. >>> >>> If you have a tip to share, or want to give a short presentation on a >>> library you've been using lately, please just come forward at the >>> start of the meeting. >>> >>> With much appreciation to Inspire 9 for the donation of the use of the >>> venue, >>> >>> The MPUG organisers >>> >>> >>> ------------------------------ >>> >>> Message: 2 >>> Date: Sun, 2 Mar 2014 12:29:40 +1100 >>> From: Javier Candeira >>> To: Melbourne Python Users Group >>> Subject: [melbourne-pug] Pizza volunteer(s) required >>> Message-ID: >>> >> KFnXQ5j1oHUaAFJTCzm9pMdCQ at mail.gmail.com> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> Hi everyone, >>> >>> My presentation tomorrow is a bit involved, and I won't have the >>> mental bandwith (or the time) to deal with pizza. Any volunteers? >>> >>> Here's what the task entails: >>> >>> - Getting $10 from people who want pizza, and waiting a bit for >>> stragglers, but not too much because pizza can't be late. >>> - Loading up the crust website on your laptop >>> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >>> pizzas in the given budget. >>> - Trying to fit the delivery time for the estimated time of the end of >>> presentations >>> - Putting in your CC number (or giving the money to someone on the >>> Inspire9 front desk) >>> - Hitting "send". >>> >>> Thanks, >>> >>> J >>> >>> >>> ------------------------------ >>> >>> Message: 3 >>> Date: Sun, 2 Mar 2014 13:26:25 +1100 >>> From: Graeme Cross >>> To: Melbourne Python Users Group >>> Subject: Re: [melbourne-pug] Pizza volunteer(s) required >>> Message-ID: <120A0884-0B79-4C20-B9C1-7665EF7BEF32 at fastmail.fm> >>> Content-Type: text/plain; charset=us-ascii >>> >>> On 02/03/2014, at 12:29 PM, Javier Candeira wrote: >>> >>> > Hi everyone, >>> > >>> > My presentation tomorrow is a bit involved, and I won't have the >>> > mental bandwith (or the time) to deal with pizza. Any volunteers? >>> > >>> > Here's what the task entails: >>> > >>> > - Getting $10 from people who want pizza, and waiting a bit for >>> > stragglers, but not too much because pizza can't be late. >>> > - Loading up the crust website on your laptop >>> > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >>> > pizzas in the given budget. >>> > - Trying to fit the delivery time for the estimated time of the end of >>> > presentations >>> > - Putting in your CC number (or giving the money to someone on the >>> > Inspire9 front desk) >>> > - Hitting "send". >>> > >>> > Thanks, >>> > >>> > J >>> >>> Javier, >>> >>> I'm happy to organise the pizzas. >>> >>> Regards, >>> Graeme >>> >>> >>> >>> >>> ------------------------------ >>> >>> Message: 4 >>> Date: Sun, 2 Mar 2014 13:32:52 +1100 >>> From: Javier Candeira >>> To: Melbourne Python Users Group >>> Subject: Re: [melbourne-pug] Pizza volunteer(s) required >>> Message-ID: >>> < >>> CAKADsbcd4NpAivLxbASB+G22TUOHAtq2jLtJOJLWx_MjNHZyZg at mail.gmail.com> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> Thanks a lot, Graeme. >>> >>> For the record, I forgot that we normally also ask whether there are >>> anybody with known food allergies, and also we try to suss out how >>> many vegetarians are paying for pizza. >>> >>> J >>> >>> On Sun, Mar 2, 2014 at 1:26 PM, Graeme Cross wrote: >>> > On 02/03/2014, at 12:29 PM, Javier Candeira >>> wrote: >>> > >>> >> Hi everyone, >>> >> >>> >> My presentation tomorrow is a bit involved, and I won't have the >>> >> mental bandwith (or the time) to deal with pizza. Any volunteers? >>> >> >>> >> Here's what the task entails: >>> >> >>> >> - Getting $10 from people who want pizza, and waiting a bit for >>> >> stragglers, but not too much because pizza can't be late. >>> >> - Loading up the crust website on your laptop >>> >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >>> >> pizzas in the given budget. >>> >> - Trying to fit the delivery time for the estimated time of the end of >>> >> presentations >>> >> - Putting in your CC number (or giving the money to someone on the >>> >> Inspire9 front desk) >>> >> - Hitting "send". >>> >> >>> >> Thanks, >>> >> >>> >> J >>> > >>> > Javier, >>> > >>> > I'm happy to organise the pizzas. >>> > >>> > Regards, >>> > Graeme >>> > >>> > >>> > _______________________________________________ >>> > melbourne-pug mailing list >>> > melbourne-pug at python.org >>> > https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> melbourne-pug mailing list >>> melbourne-pug at python.org >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >>> ------------------------------ >>> >>> End of melbourne-pug Digest, Vol 93, Issue 1 >>> ******************************************** >>> >> >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > > > -- > Noon Silk > > Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/ > > "Every morning when I wake up, I experience an exquisite joy -- the joy > of being this signature." > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -- -------------------------------------------------- Tennessee Leeuwenburg http://myownhat.blogspot.com/ "Don't believe everything you think" -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Wed Mar 5 00:34:01 2014 From: javier at candeira.com (Javier Candeira) Date: Wed, 5 Mar 2014 10:34:01 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 1 In-Reply-To: References: Message-ID: Hi Chris, That sounds like a neat presentation. So right now we have for next month (April): Tim - web2py And for May: Chris - Machine Learning with Pandas/scikit Can you guys write yourselves up in the wiki for your respective months with a title and a one-line explanation? https://wiki.python.org/moin/MelbournePUG At the meeting last monday there was another prospective presenter, someone Graeme gave his business card to. Are you good to write yourself up for April? If so, we already have the next month and a half of programming covered. Thanks! Javier -------------- next part -------------- An HTML attachment was scrubbed... URL: From noonslists at gmail.com Wed Mar 5 06:10:35 2014 From: noonslists at gmail.com (Noon Silk) Date: Wed, 5 Mar 2014 16:10:35 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 1 In-Reply-To: References: Message-ID: > It says that site is unavailable, but jumping to conclusions, if any MPUG'ers feel like catching > up for lunch in the CBD periodically, I'd be enthusiastic. Ah, sorry, that's my very old email signature. I moved the quantum-lunch reading group website here: - http://silky.github.io/quantum-lunch/ On Wed, Mar 5, 2014 at 9:16 AM, Tennessee Leeuwenburg < tleeuwenburg at gmail.com> wrote: > It says that site is unavailable, but jumping to conclusions, if any > MPUG'ers feel like catching up for lunch in the CBD periodically, I'd be > enthusiastic. > > > On Wed, Mar 5, 2014 at 9:04 AM, Noon Silk wrote: > >> Yep, I'd be interested! >> >> >> On Tue, Mar 4, 2014 at 9:04 AM, Chris Hausler wrote: >> >>> Hi, >>> >>> Sorry I couldn't make it last night, but I do look forward to attending >>> a meeting in a may :-) >>> I've just moved back to melbourne and I'm not entirely sure what the >>> interests of the group are, but I would be happy to give a talk on machine >>> learning and data analysis with scikit-learn and/or pandas in the future if >>> anyone is interested? >>> Let me know. I probably can't manage it until june, which is a while >>> off, but would be happy to start thinking about some good examples ;-) >>> >>> cheers >>> chris >>> >>> >>> On Sun, Mar 2, 2014 at 10:00 PM, wrote: >>> >>>> Send melbourne-pug mailing list submissions to >>>> melbourne-pug at python.org >>>> >>>> To subscribe or unsubscribe via the World Wide Web, visit >>>> https://mail.python.org/mailman/listinfo/melbourne-pug >>>> or, via email, send a message with subject or body 'help' to >>>> melbourne-pug-request at python.org >>>> >>>> You can reach the person managing the list at >>>> melbourne-pug-owner at python.org >>>> >>>> When replying, please edit your Subject line so it is more specific >>>> than "Re: Contents of melbourne-pug digest..." >>>> >>>> >>>> Today's Topics: >>>> >>>> 1. March MPUG Meeting: Timeouts, REST APIs. Tomorrow Monday 3 >>>> March, 6PM, Inspire 9, 41 Stewart St Richmond (Javier Candeira) >>>> 2. Pizza volunteer(s) required (Javier Candeira) >>>> 3. Re: Pizza volunteer(s) required (Graeme Cross) >>>> 4. Re: Pizza volunteer(s) required (Javier Candeira) >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> >>>> Message: 1 >>>> Date: Sun, 2 Mar 2014 12:25:31 +1100 >>>> From: Javier Candeira >>>> To: Melbourne Python Users Group , >>>> "events at inspire9.com" >>>> Subject: [melbourne-pug] March MPUG Meeting: Timeouts, REST APIs. >>>> Tomorrow Monday 3 March, 6PM, Inspire 9, 41 Stewart St Richmond >>>> Message-ID: >>>> >>> 5QHwshJufgoyA+NidVtLCvEpzcS-wpiCJpeQ at mail.gmail.com> >>>> Content-Type: text/plain; charset=UTF-8 >>>> >>>> Dear Melbourne Pythonistas, >>>> >>>> Tomorrow, Monday 3, we'll hold the March meeting of the Melbourne >>>> Python Users Group. >>>> >>>> Time: 6pm >>>> Venue: Inspire 9, 41 Stewart St. Richmond. 50m from Richmond Train >>>> Station. >>>> >>>> Program: >>>> >>>> * Andrew Walker -- How Hard Could it be to Implement Timeouts? >>>> >>>> * Javier Candeira -- Implementing an agnostic, dynamic client for a >>>> REST API live (by cheating). >>>> Including a minitutorial on some of Python's __dunder__ methods. >>>> >>>> As usual, we'll order pizza, with a $10 contribution required. Drinks >>>> are BYO, and I'll bring a six-pack that was left over from last week. >>>> >>>> If you have a tip to share, or want to give a short presentation on a >>>> library you've been using lately, please just come forward at the >>>> start of the meeting. >>>> >>>> With much appreciation to Inspire 9 for the donation of the use of the >>>> venue, >>>> >>>> The MPUG organisers >>>> >>>> >>>> ------------------------------ >>>> >>>> Message: 2 >>>> Date: Sun, 2 Mar 2014 12:29:40 +1100 >>>> From: Javier Candeira >>>> To: Melbourne Python Users Group >>>> Subject: [melbourne-pug] Pizza volunteer(s) required >>>> Message-ID: >>>> >>> KFnXQ5j1oHUaAFJTCzm9pMdCQ at mail.gmail.com> >>>> Content-Type: text/plain; charset=UTF-8 >>>> >>>> Hi everyone, >>>> >>>> My presentation tomorrow is a bit involved, and I won't have the >>>> mental bandwith (or the time) to deal with pizza. Any volunteers? >>>> >>>> Here's what the task entails: >>>> >>>> - Getting $10 from people who want pizza, and waiting a bit for >>>> stragglers, but not too much because pizza can't be late. >>>> - Loading up the crust website on your laptop >>>> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >>>> pizzas in the given budget. >>>> - Trying to fit the delivery time for the estimated time of the end of >>>> presentations >>>> - Putting in your CC number (or giving the money to someone on the >>>> Inspire9 front desk) >>>> - Hitting "send". >>>> >>>> Thanks, >>>> >>>> J >>>> >>>> >>>> ------------------------------ >>>> >>>> Message: 3 >>>> Date: Sun, 2 Mar 2014 13:26:25 +1100 >>>> From: Graeme Cross >>>> To: Melbourne Python Users Group >>>> Subject: Re: [melbourne-pug] Pizza volunteer(s) required >>>> Message-ID: <120A0884-0B79-4C20-B9C1-7665EF7BEF32 at fastmail.fm> >>>> Content-Type: text/plain; charset=us-ascii >>>> >>>> On 02/03/2014, at 12:29 PM, Javier Candeira >>>> wrote: >>>> >>>> > Hi everyone, >>>> > >>>> > My presentation tomorrow is a bit involved, and I won't have the >>>> > mental bandwith (or the time) to deal with pizza. Any volunteers? >>>> > >>>> > Here's what the task entails: >>>> > >>>> > - Getting $10 from people who want pizza, and waiting a bit for >>>> > stragglers, but not too much because pizza can't be late. >>>> > - Loading up the crust website on your laptop >>>> > - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >>>> > pizzas in the given budget. >>>> > - Trying to fit the delivery time for the estimated time of the end of >>>> > presentations >>>> > - Putting in your CC number (or giving the money to someone on the >>>> > Inspire9 front desk) >>>> > - Hitting "send". >>>> > >>>> > Thanks, >>>> > >>>> > J >>>> >>>> Javier, >>>> >>>> I'm happy to organise the pizzas. >>>> >>>> Regards, >>>> Graeme >>>> >>>> >>>> >>>> >>>> ------------------------------ >>>> >>>> Message: 4 >>>> Date: Sun, 2 Mar 2014 13:32:52 +1100 >>>> From: Javier Candeira >>>> To: Melbourne Python Users Group >>>> Subject: Re: [melbourne-pug] Pizza volunteer(s) required >>>> Message-ID: >>>> < >>>> CAKADsbcd4NpAivLxbASB+G22TUOHAtq2jLtJOJLWx_MjNHZyZg at mail.gmail.com> >>>> Content-Type: text/plain; charset=UTF-8 >>>> >>>> Thanks a lot, Graeme. >>>> >>>> For the record, I forgot that we normally also ask whether there are >>>> anybody with known food allergies, and also we try to suss out how >>>> many vegetarians are paying for pizza. >>>> >>>> J >>>> >>>> On Sun, Mar 2, 2014 at 1:26 PM, Graeme Cross >>>> wrote: >>>> > On 02/03/2014, at 12:29 PM, Javier Candeira >>>> wrote: >>>> > >>>> >> Hi everyone, >>>> >> >>>> >> My presentation tomorrow is a bit involved, and I won't have the >>>> >> mental bandwith (or the time) to deal with pizza. Any volunteers? >>>> >> >>>> >> Here's what the task entails: >>>> >> >>>> >> - Getting $10 from people who want pizza, and waiting a bit for >>>> >> stragglers, but not too much because pizza can't be late. >>>> >> - Loading up the crust website on your laptop >>>> >> - Trying to fit a good balance of cheap ($16) and nicer ($21, to $23) >>>> >> pizzas in the given budget. >>>> >> - Trying to fit the delivery time for the estimated time of the end >>>> of >>>> >> presentations >>>> >> - Putting in your CC number (or giving the money to someone on the >>>> >> Inspire9 front desk) >>>> >> - Hitting "send". >>>> >> >>>> >> Thanks, >>>> >> >>>> >> J >>>> > >>>> > Javier, >>>> > >>>> > I'm happy to organise the pizzas. >>>> > >>>> > Regards, >>>> > Graeme >>>> > >>>> > >>>> > _______________________________________________ >>>> > melbourne-pug mailing list >>>> > melbourne-pug at python.org >>>> > https://mail.python.org/mailman/listinfo/melbourne-pug >>>> >>>> >>>> ------------------------------ >>>> >>>> Subject: Digest Footer >>>> >>>> _______________________________________________ >>>> melbourne-pug mailing list >>>> melbourne-pug at python.org >>>> https://mail.python.org/mailman/listinfo/melbourne-pug >>>> >>>> >>>> ------------------------------ >>>> >>>> End of melbourne-pug Digest, Vol 93, Issue 1 >>>> ******************************************** >>>> >>> >>> >>> _______________________________________________ >>> melbourne-pug mailing list >>> melbourne-pug at python.org >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >> >> >> -- >> Noon Silk >> >> Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/ >> >> "Every morning when I wake up, I experience an exquisite joy -- the joy >> of being this signature." >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > > > -- > -------------------------------------------------- > Tennessee Leeuwenburg > http://myownhat.blogspot.com/ > "Don't believe everything you think" > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -- Noon Silk -------------- next part -------------- An HTML attachment was scrubbed... URL: From miked at dewhirst.com.au Wed Mar 5 05:48:22 2014 From: miked at dewhirst.com.au (Mike Dewhirst) Date: Wed, 05 Mar 2014 15:48:22 +1100 Subject: [melbourne-pug] pip will not downgrade to django 1.5.5 from 1.6.2 on ubuntu 12.04 Message-ID: <5316AC96.3040103@dewhirst.com.au> Is there a special incantation for pip on Ubuntu??? Notice the "Requested django==1.5.5, but installing version 1.6.2" line below. I couldn't see anything obviously wrong with what I did. It works fine on Windows. (Aside: I was able to install using easy_install) mike at pq3:~$ sudo pip uninstall django Successfully uninstalled Django mike at pq3:~$ sudo pip install -I django==1.5.5 Downloading/unpacking django==1.5.5 Running setup.py egg_info for package django Requested django==1.5.5, but installing version 1.6.2 Installing collected packages: django Running setup.py install for django changing mode of /usr/local/bin/django-admin.py to 755 Successfully installed django Cleaning up... mike at pq3:~$ Thanks anyone Mike From brenton at brntn.me Wed Mar 5 06:29:08 2014 From: brenton at brntn.me (Brenton Cleeland) Date: Wed, 5 Mar 2014 16:29:08 +1100 Subject: [melbourne-pug] pip will not downgrade to django 1.5.5 from 1.6.2 on ubuntu 12.04 In-Reply-To: <5316AC96.3040103@dewhirst.com.au> References: <5316AC96.3040103@dewhirst.com.au> Message-ID: This works fine for me on Ubuntu using the -U option. (piprot-io)sesh at brntn:~/$ pip install -U Django==1.6.1 > Downloading/unpacking Django==1.6.1 > Downloading Django-1.6.1.tar.gz (6.6MB): 6.6MB downloaded > Running setup.py egg_info for package Django > warning: no previously-included files matching '__pycache__' found > under directory '*' > warning: no previously-included files matching '*.py[co]' found under > directory '*' > Installing collected packages: Django > Found existing installation: Django 1.6.2 > Uninstalling Django: > Successfully uninstalled Django > Running setup.py install for Django > changing mode of build/scripts-2.7/django-admin.py from 664 to 775 > warning: no previously-included files matching '__pycache__' found > under directory '*' > warning: no previously-included files matching '*.py[co]' found under > directory '*' > changing mode of /home/sesh/.virtualenvs/piprot-io/bin/django-admin.py > to 775 > Successfully installed Django > Cleaning up... > (piprot-io)sesh at brntn:~/$ pip freeze | grep Django > Django==1.6.1 Cheers, Brenton On Wed, Mar 5, 2014 at 3:48 PM, Mike Dewhirst wrote: > Is there a special incantation for pip on Ubuntu??? > > Notice the "Requested django==1.5.5, but installing version 1.6.2" line > below. I couldn't see anything obviously wrong with what I did. It works > fine on Windows. > > (Aside: I was able to install using easy_install) > > mike at pq3:~$ sudo pip uninstall django > > Successfully uninstalled Django > > mike at pq3:~$ sudo pip install -I django==1.5.5 > Downloading/unpacking django==1.5.5 > Running setup.py egg_info for package django > Requested django==1.5.5, but installing version 1.6.2 > Installing collected packages: django > Running setup.py install for django > > changing mode of /usr/local/bin/django-admin.py to 755 > Successfully installed django > Cleaning up... > mike at pq3:~$ > > Thanks anyone > > Mike > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > -- Cheers, Brenton http://brntn.me // @sesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From miked at dewhirst.com.au Wed Mar 5 06:32:34 2014 From: miked at dewhirst.com.au (Mike Dewhirst) Date: Wed, 05 Mar 2014 16:32:34 +1100 Subject: [melbourne-pug] pip will not downgrade to django 1.5.5 from 1.6.2 on ubuntu 12.04 In-Reply-To: References: <5316AC96.3040103@dewhirst.com.au> Message-ID: <5316B6F2.2080507@dewhirst.com.au> On 5/03/2014 4:29pm, Brenton Cleeland wrote: > This works fine for me on Ubuntu using the -U option. Thanks Brenton :) Mike > > (piprot-io)sesh at brntn:~/$ pip install -U Django==1.6.1 > Downloading/unpacking Django==1.6.1 > Downloading Django-1.6.1.tar.gz (6.6MB): 6.6MB downloaded > Running setup.py egg_info for package Django > warning: no previously-included files matching '__pycache__' > found under directory '*' > warning: no previously-included files matching '*.py[co]' found > under directory '*' > Installing collected packages: Django > Found existing installation: Django 1.6.2 > Uninstalling Django: > Successfully uninstalled Django > Running setup.py install for Django > changing mode of build/scripts-2.7/django-admin.py from 664 to 775 > warning: no previously-included files matching '__pycache__' > found under directory '*' > warning: no previously-included files matching '*.py[co]' found > under directory '*' > changing mode of > /home/sesh/.virtualenvs/piprot-io/bin/django-admin.py to 775 > Successfully installed Django > Cleaning up... > (piprot-io)sesh at brntn:~/$ pip freeze | grep Django > Django==1.6.1 > > > Cheers, > Brenton > > > On Wed, Mar 5, 2014 at 3:48 PM, Mike Dewhirst > wrote: > > Is there a special incantation for pip on Ubuntu??? > > Notice the "Requested django==1.5.5, but installing version 1.6.2" > line below. I couldn't see anything obviously wrong with what I did. > It works fine on Windows. > > (Aside: I was able to install using easy_install) > > mike at pq3:~$ sudo pip uninstall django > > Successfully uninstalled Django > > mike at pq3:~$ sudo pip install -I django==1.5.5 > Downloading/unpacking django==1.5.5 > Running setup.py egg_info for package django > Requested django==1.5.5, but installing version 1.6.2 > Installing collected packages: django > Running setup.py install for django > > changing mode of /usr/local/bin/django-admin.py to 755 > Successfully installed django > Cleaning up... > mike at pq3:~$ > > Thanks anyone > > Mike > _________________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/__mailman/listinfo/melbourne-pug > > > > > > -- > Cheers, > Brenton > > http://brntn.me // @sesh > > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > From brian at microcomaustralia.com.au Thu Mar 6 01:16:05 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Thu, 6 Mar 2014 11:16:05 +1100 Subject: [melbourne-pug] python package versions Message-ID: Hello, What is considered current best practise for version numbers in python modules? PEP-8 says you should define a module.__version__ string. Django doesn't do this, it defines a module.VERSION array and a module.get_version function instead. Also, I end up with the version string in many places, and forget to update some on new releases. Such as: * module/__init__.py * setup.py * docs/*/conf.py for every sphinx document. * debian/changelog So rather then try to invent my own solution, just wondered what is considered best practise. Thanks Notes: [1] Some documents recommend setup.py should do: from module import __version__ version = __version__ or import module version = module.__version__ However, that means all dependencies required by __init__.py must also be loaded, which can be a lot of overhead just to get the version number (e.g. if Django is required). [2] Also, on a separate thread, can somebody point me to a document that describes the difference between the two forms of import in as described in [1]? It seems that they are different. -- Brian May -------------- next part -------------- An HTML attachment was scrubbed... URL: From william.leslie.ttg at gmail.com Thu Mar 6 01:34:27 2014 From: william.leslie.ttg at gmail.com (William ML Leslie) Date: Thu, 6 Mar 2014 11:34:27 +1100 Subject: [melbourne-pug] Import questions Message-ID: On 6 March 2014 11:16, Brian May wrote: > > > [2] Also, on a separate thread, can somebody point me to a document that > describes the difference between the two forms of import in as described in > [1]? It seems that they are different. > The best place to find answers for all language questions is the langref. http://docs.python.org/3/reference/simple_stmts.html#the-import-statement specifically, 'import module' loads and initialises the module if needed, and then binds the name 'module' to the module. 'import package.module' loads and initialises package, and then module, if needed. then, it binds the name 'package' to the top-level package. 'from module import name' loads and initialises the module if needed, and then binds the name 'name' to the value of 'module.name'. So the names within the current module are different for the two examples you give - the first binds '__version__' also, and the second binds 'module' also. -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely may reproduce any part of it in accordance with the copyright law of the nation you are reading this in. Any attempt to deny you those rights would be illegal without prior contractual agreement. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Thu Mar 6 01:40:57 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Thu, 06 Mar 2014 11:40:57 +1100 Subject: [melbourne-pug] python package versions References: Message-ID: <85iorscg6e.fsf@benfinney.id.au> Brian May writes: > What is considered current best practise for version numbers in python > modules? My cynical assessment of the field is that a great many publishers of Python modules don't pay much care to library version numbers. > PEP-8 says you should define a module.__version__ string. I've seen this done in various places, but it seems less than useful once a library gets beyond a single module. The package's ?__init__? module can define a ?__version__? attribute; but then what happens when the library as a whole comprises multiple packages? This doesn't seem a very reliable solution. > Also, I end up with the version string in many places, and forget to > update some on new releases. My current recommended solution: * Define a version string (remember, folks, a version is *not* a simple number; it's a string representing a sequence of integers) in a text file at the top level of the code working tree. This allows the same canonical version string to be available for any other tool that works with the same code base (e.g. code in non-Python languages, or your build system). * Put nothing else in that file. Name it ?VERSION?. * Read the contents of ?VERSION? in the ?setup.py?, and use that string as the version string value for ?setup()?. * Use Distribute's ?pkg_resources?[0] to query the version string anywhere it's needed in the library. This is not ideal. While ?distutils? does provide ?setup? (allowing us to define the version in one place), it does not provide a convenient means of querying the resulting metadata of an installed distribution. For that, we need the third-party ?pkg_resources?. This library was proposed for the Python standard library in PEP 365, but rejected for reasons not explained in that PEP. [0] . Why is it called ?setuptools?, but actually named ?Distribute?, for a library named ?pkg_resources?? That's a long and sad story, and its telling would take this thread too far afield. -- \ ?If it ain't bust don't fix it is a very sound principle and | `\ remains so despite the fact that I have slavishly ignored it | _o__) all my life.? ?Douglas Adams | Ben Finney From brian at microcomaustralia.com.au Thu Mar 6 01:50:28 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Thu, 6 Mar 2014 11:50:28 +1100 Subject: [melbourne-pug] Import questions In-Reply-To: References: Message-ID: On 6 March 2014 11:34, William ML Leslie wrote: > specifically, 'import module' loads and initialises the module if needed, > and then binds the name 'module' to the module. > > 'import package.module' loads and initialises package, and then module, if > needed. then, it binds the name 'package' to the top-level package. > > 'from module import name' loads and initialises the module if needed, and > then binds the name 'name' to the value of 'module.name'. > > So the names within the current module are different for the two examples > you give - the first binds '__version__' also, and the second binds > 'module' also. > Seems to be that there is more to it then that. For example. if in module/__init__.py I have: import module.something I get an circular import loop. The import "module.something" seems to imply an import of "module". However, if instead, I do: from module.something import somethingelse Then the circular import loop disappears. I have read that there are certain other cases where 'import package.name' will generate an error, but 'from package import name' won't. Or am I totally confused? -- Brian May -------------- next part -------------- An HTML attachment was scrubbed... URL: From william.leslie.ttg at gmail.com Thu Mar 6 02:00:54 2014 From: william.leslie.ttg at gmail.com (William ML Leslie) Date: Thu, 6 Mar 2014 12:00:54 +1100 Subject: [melbourne-pug] Import questions In-Reply-To: References: Message-ID: On 6 March 2014 11:50, Brian May wrote: > On 6 March 2014 11:34, William ML Leslie wrote: > >> specifically, 'import module' loads and initialises the module if needed, >> and then binds the name 'module' to the module. >> >> 'import package.module' loads and initialises package, and then module, >> if needed. then, it binds the name 'package' to the top-level package. >> >> 'from module import name' loads and initialises the module if needed, and >> then binds the name 'name' to the value of 'module.name'. >> >> So the names within the current module are different for the two examples >> you give - the first binds '__version__' also, and the second binds >> 'module' also. >> > > Seems to be that there is more to it then that. > > For example. if in module/__init__.py I have: > > import module.something > > I get an circular import loop. The import "module.something" seems to > imply an import of "module". > While the package (here module) has not finished initialisation, it is still importable. The result is that anything under 'import module.something' won't be run until module.something itself is initialised. > > However, if instead, I do: > > from module.something import somethingelse > > Then the circular import loop disappears. > Whatever bug you're seeing is from some other source, sorry. -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely may reproduce any part of it in accordance with the copyright law of the nation you are reading this in. Any attempt to deny you those rights would be illegal without prior contractual agreement. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Thu Mar 6 02:09:16 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Thu, 06 Mar 2014 12:09:16 +1100 Subject: [melbourne-pug] Import questions References: Message-ID: <85a9d4cev7.fsf@benfinney.id.au> Brian May writes: > For example. if in module/__init__.py I have: > > import module.something > > I get an circular import loop. Don't do that, then. Within the package ?__init__? module, don't refer to the package. Instead, use a relative import:: from . import foo or:: from .foo import bar See . -- \ ?If nature has made any one thing less susceptible than all | `\ others of exclusive property, it is the action of the thinking | _o__) power called an idea? ?Thomas Jefferson | Ben Finney From brian at microcomaustralia.com.au Thu Mar 6 02:45:34 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Thu, 6 Mar 2014 12:45:34 +1100 Subject: [melbourne-pug] Import questions In-Reply-To: <85a9d4cev7.fsf@benfinney.id.au> References: <85a9d4cev7.fsf@benfinney.id.au> Message-ID: On 6 March 2014 12:09, Ben Finney wrote: > from .foo import bar > Isn't that just a short hand for: from module.foo import bar ? See http://docs.python.org/3.0/tutorial/modules.html#intra-package-references > >. > It doesn't seem to mention anything about avoiding circular import loops here. -- Brian May -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Thu Mar 6 03:36:53 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Thu, 06 Mar 2014 13:36:53 +1100 Subject: [melbourne-pug] Import questions References: Message-ID: <8561nscat6.fsf@benfinney.id.au> Brian May writes: > For example. if in module/__init__.py I have: > > import module.something > > I get an circular import loop. Care to show a simple-as-possible example of this? Show a package ?__init__? module that does nothing but import another module from the package, and show that other module's minimal content. Then show its error from a circular import. I'm not clear on what behaviour you're seeing, otherwise. -- \ ?When I get real bored, I like to drive downtown and get a | `\ great parking spot, then sit in my car and count how many | _o__) people ask me if I'm leaving.? ?Steven Wright | Ben Finney From william.leslie.ttg at gmail.com Thu Mar 6 03:41:22 2014 From: william.leslie.ttg at gmail.com (William ML Leslie) Date: Thu, 6 Mar 2014 13:41:22 +1100 Subject: [melbourne-pug] Import questions In-Reply-To: References: Message-ID: On 6 March 2014 11:50, Brian May wrote: > Seems to be that there is more to it then that. > > For example. if in module/__init__.py I have: > > import module.something > > I get an circular import loop. The import "module.something" seems to > imply an import of "module". > > However, if instead, I do: > > from module.something import somethingelse > > Then the circular import loop disappears. > > I have read that there are certain other cases where 'import package.name' > will generate an error, but 'from package import name' won't. > Well, there is one common situation during import cycles where the reverse is true. Attempting to import a specific name before the module has bound it may generate an error, but importing the (partially-initialised) module is fine. For example, the following fails no matter what order your application imports them in: ### mod2.py from mod1 import f1 def f2(): pass ### mod1.py from mod2 import f2 def f1(): pass wheras, the following works fine regardless of the order the user application imports them: ### mod3.py import mod4 def f1(): mod4.f2() def f3(): print 'woo' ### mod4.py import mod3 def f2(): mod3.f3() this is an uncommon enough problem that you don't often have to worry about it. certainly at package level - __init__.py should contain almost nothing, perhaps some documentation and an API import if you like. -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely may reproduce any part of it in accordance with the copyright law of the nation you are reading this in. Any attempt to deny you those rights would be illegal without prior contractual agreement. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at microcomaustralia.com.au Thu Mar 6 04:40:29 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Thu, 6 Mar 2014 14:40:29 +1100 Subject: [melbourne-pug] Import questions In-Reply-To: <8561nscat6.fsf@benfinney.id.au> References: <8561nscat6.fsf@benfinney.id.au> Message-ID: On 6 March 2014 13:36, Ben Finney wrote: > Care to show a simple-as-possible example of this? Show a package > ?__init__? module that does nothing but import another module from the > package, and show that other module's minimal content. > Very odd, tried to do a simple test case of it, and it worked. For my application I am developing however, if I add the following line to the empty karaage/applications/__init__.py: import karaage.applications.hooks I get the following stack trace when django tries to import karaage.applications: [...] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module __import__(name) File "/home/brian/tree/django/karaage/karaage/karaage/applications/__init__.py", line 1, in import karaage.applications.hooks File "/home/brian/tree/django/karaage/karaage/karaage/applications/hooks.py", line 1, in import karaage.applications.models as models AttributeError: 'module' object has no attribute 'applications' (for the purpose of this test, I deleted all other lines in karaage/applications/hooks.py; i.e. both files only one line long) Where obviously karaage.applications is defined. I can only guess that there is implicit requirement to "import karaage.applications" in that last statement, which would create a circular import loop. If I change the __init__.py line to "from karage.applications.hooks import *" it still crashes. If however I change the line in hooks.py to the following, it no longer crashes: from karaage.applications.models import Application So, it seems that the implicit requirement to import "karaage.applications" isn't there. However, can't reproduce this on a simple test case, maybe something specific to Django????? Doesn't make sense to me. (this was relevant as I was trying to attach a function to a Django signal, which in current versions of Django is best done in the application __init__.py file) -- Brian May -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at microcomaustralia.com.au Thu Mar 6 09:17:56 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Thu, 6 Mar 2014 19:17:56 +1100 Subject: [melbourne-pug] python package versions In-Reply-To: <85iorscg6e.fsf@benfinney.id.au> References: <85iorscg6e.fsf@benfinney.id.au> Message-ID: On 6 March 2014 11:40, Ben Finney wrote: > * Use Distribute's ?pkg_resources?[0] to query the version string > anywhere it's needed in the library. This seems to be the preferred solution here too: http://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package This is not ideal. While ?distutils? does provide ?setup? (allowing us > to define the version in one place), it does not provide a convenient > means of querying the resulting metadata of an installed distribution. > > For that, we need the third-party ?pkg_resources?. This library was > proposed for the Python standard library in PEP 365, but rejected > for reasons not > explained in that PEP. > Any ideas why it was rejected? > [0] . Why is > it called ?setuptools?, but actually named ?Distribute?, for a > library named ?pkg_resources?? That's a long and sad story, and its > telling would take this thread too far afield. > I have been confused in the past in that setuptools is another package. Apparently setuptools is an add on for distutils? http://stackoverflow.com/questions/10712809/how-to-require-and-install-a-package-using-python-3-x-distutils Is the information in this post on requires not working with distutils without setuptools still correct? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Thu Mar 6 10:37:03 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Thu, 06 Mar 2014 20:37:03 +1100 Subject: [melbourne-pug] python package versions References: <85iorscg6e.fsf@benfinney.id.au> Message-ID: <851tyfd5xc.fsf@benfinney.id.au> Brian May writes: > On 6 March 2014 11:40, Ben Finney wrote: > > For [reading the version of an installed package distribution], we > > need the third-party ?pkg_resources?. This library was proposed for > > the Python standard library in PEP 365, but rejected > > for reasons not > > explained in that PEP. > > Any ideas why it was rejected? Nothing clear. The PEP documents will often record the reasons for rejection, but this one doesn't. > I have been confused in the past in that setuptools is another > package. > > Apparently setuptools is an add on for distutils? You're right to be confused; there's a lot of tangled history. The only things which affect us today: Current ?distutils? in the Python standard library has recently grown a lot of features that were once in the third-party ?setuptools?. The ?setuptools? library name is implemented by ?Distribute?, which was a fork but has now taken over as the active development for that code base. Any reference you see to using ?setuptools? can be implemented today by installing ?Distribute?. In fact, many GNU+Linux distributions simply make Distribute available as the package name ?python-setuptools? for backward compatibility. > http://stackoverflow.com/questions/10712809/how-to-require-and-install-a-package-using-python-3-x-distutils > > Is the information in this post on requires not working with distutils > without setuptools still correct? Correct; Python's standard library ?distutils? still doesn't implement any of the ?pkg_resources? functionality, and you need third-party library (?Distribute?, available by the package name ?setuptools?) if you want that. Most packages don't need that functionality merely to *be installed*, so it's not essential and isn't in the standard library. But getting the library's own installed version string, which IMO is needed by any decent library, is part of that functionality deemed ?not essential? and not available in ?distutils?. So either you end up re-implementing it (badly), or you have to depend on the third-party ?pkg_resources? functionality anyway. -- \ ?Faith, n. Belief without evidence in what is told by one who | `\ speaks without knowledge, of things without parallel.? ?Ambrose | _o__) Bierce, _The Devil's Dictionary_, 1906 | Ben Finney From teh.ivo at gmail.com Thu Mar 6 12:27:33 2014 From: teh.ivo at gmail.com (Matthew Iversen) Date: Thu, 06 Mar 2014 22:27:33 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 8 In-Reply-To: References: Message-ID: <53185BA5.1000305@gmail.com> >> I have been confused in the past in that setuptools is another >> > package. >> > >> > Apparently setuptools is an add on for distutils? > You're right to be confused; there's a lot of tangled history. > > The only things which affect us today: > > Current ?distutils? in the Python standard library has recently grown a > lot of features that were once in the third-party ?setuptools?. > > The ?setuptools? library name is implemented by ?Distribute?, which was > a fork but has now taken over as the active development for that code > base. Any reference you see to using ?setuptools? can be implemented > today by installing ?Distribute?. No-one should be installing anything called `distribute` by choice any more. Maybe for an older Linux distro, that's the best packaging library you can get from the distro's repository; but you can definitely get something better and newer by installing setuptools yourself. In 2013 distribute was merged into and subsumed by setuptools. Thus, the only thing one needs to worry about in 2014 is setuptools. If you are still installing distribute, you're probably either installing a shim that actually installs setuptools, or a very old 0.6 distribute. I'm not sure why the choice was made, but I've seen lots of confusion because `distribute` *used* to be the "hot new thing to get" over `setuptools`, but it is in fact now the opposite way around. Details of the merge can be found at: http://pythonhosted.org/setuptools/merge.html Also see here for lots of correct and up to date knowledge on python packaging in general: https://python-packaging-user-guide.readthedocs.org Anyway, to get the latest setuptools for any python environment, just download and run https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py with python. (may need administrative privileges to install into system python) > > In fact, many GNU+Linux distributions simply make Distribute available > as the package name ?python-setuptools? for backward compatibility. > >> > http://stackoverflow.com/questions/10712809/how-to-require-and-install-a-package-using-python-3-x-distutils >> > >> > Is the information in this post on requires not working with distutils >> > without setuptools still correct? > Correct; Python's standard library ?distutils? still doesn't implement > any of the ?pkg_resources? functionality, and you need third-party > library (?Distribute?, available by the package name ?setuptools?) if > you want that. > > Most packages don't need that functionality merely to *be installed*, so > it's not essential and isn't in the standard library. > > But getting the library's own installed version string, which IMO is > needed by any decent library, is part of that functionality deemed ?not > essential? and not available in ?distutils?. So either you end up > re-implementing it (badly), or you have to depend on the third-party > ?pkg_resources? functionality anyway. > > -- \ ?Faith, n. Belief without evidence in what is told by one who | > `\ speaks without knowledge, of things without parallel.? ?Ambrose | > _o__) Bierce, _The Devil's Dictionary_, 1906 | Ben Finney Vinay Sajip has also been developing a new library for low level packaging stuff, called distlib, in case anyone's interested. https://pypi.python.org/pypi/distlib Cheers, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: From teh.ivo at gmail.com Thu Mar 6 12:30:16 2014 From: teh.ivo at gmail.com (Matthew Iversen) Date: Thu, 06 Mar 2014 22:30:16 +1100 Subject: [melbourne-pug] python package versions In-Reply-To: <53185BA5.1000305@gmail.com> References: <53185BA5.1000305@gmail.com> Message-ID: <53185C48.7040607@gmail.com> >> I have been confused in the past in that setuptools is another >> > package. >> > >> > Apparently setuptools is an add on for distutils? > You're right to be confused; there's a lot of tangled history. > > The only things which affect us today: > > Current ?distutils? in the Python standard library has recently grown a > lot of features that were once in the third-party ?setuptools?. > > The ?setuptools? library name is implemented by ?Distribute?, which was > a fork but has now taken over as the active development for that code > base. Any reference you see to using ?setuptools? can be implemented > today by installing ?Distribute?. No-one should be installing anything called `distribute` by choice any more. Maybe for an older Linux distro, that's the best packaging library you can get from the distro's repository; but you can definitely get something better and newer by installing setuptools yourself. In 2013 distribute was merged into and subsumed by setuptools. Thus, the only thing one needs to worry about in 2014 is setuptools. If you are still installing distribute, you're probably either installing a shim that actually installs setuptools, or a very old 0.6 distribute. I'm not sure why the choice was made, but I've seen lots of confusion because `distribute` *used* to be the "hot new thing to get" over `setuptools`, but it is in fact now the opposite way around. Details of the merge can be found at: http://pythonhosted.org/setuptools/merge.html Also see here for lots of correct and up to date knowledge on python packaging in general: https://python-packaging-user-guide.readthedocs.org Anyway, to get the latest setuptools for any python environment, just download and run https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py with python. (may need administrative privileges to install into system python) > In fact, many GNU+Linux distributions simply make Distribute available > as the package name ?python-setuptools? for backward compatibility. > >> > http://stackoverflow.com/questions/10712809/how-to-require-and-install-a-package-using-python-3-x-distutils >> > >> > Is the information in this post on requires not working with distutils >> > without setuptools still correct? > Correct; Python's standard library ?distutils? still doesn't implement > any of the ?pkg_resources? functionality, and you need third-party > library (?Distribute?, available by the package name ?setuptools?) if > you want that. > > Most packages don't need that functionality merely to *be installed*, so > it's not essential and isn't in the standard library. > > But getting the library's own installed version string, which IMO is > needed by any decent library, is part of that functionality deemed ?not > essential? and not available in ?distutils?. So either you end up > re-implementing it (badly), or you have to depend on the third-party > ?pkg_resources? functionality anyway. > > -- \ ?Faith, n. Belief without evidence in what is told by one who | > `\ speaks without knowledge, of things without parallel.? ?Ambrose | > _o__) Bierce, _The Devil's Dictionary_, 1906 | Ben Finney Vinay Sajip has also been developing a new library for low level packaging stuff, called distlib, in case anyone's interested. https://pypi.python.org/pypi/distlib Cheers, Matt P.S Thought I'd send this with the right subject line >_< -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: From samuel.lai at gmail.com Thu Mar 6 13:12:04 2014 From: samuel.lai at gmail.com (Sam Lai) Date: Thu, 6 Mar 2014 23:12:04 +1100 Subject: [melbourne-pug] python package versions In-Reply-To: References: <85iorscg6e.fsf@benfinney.id.au> Message-ID: On 6 March 2014 19:17, Brian May wrote: > Any ideas why it was rejected? The email thread discuss it starts here - https://mail.python.org/pipermail/python-dev/2008-March/077665.html I haven't had a chance to go over the whole thing, but it seems to revolve around there being too much code for the purpose it serves and no core developer having the time to review it, let alone commit to maintaining it. From lars at yencken.org Thu Mar 6 21:54:36 2014 From: lars at yencken.org (Lars Yencken) Date: Fri, 7 Mar 2014 07:54:36 +1100 Subject: [melbourne-pug] What's new in Python Message-ID: Hey guys, An idea for our meetups, I wouldn't mind starting with a short 5-10 min "What's new in Python" section, a time for everyone to share news that we take notes on and email out at the end. I saw this done at a Ruby meetup and think it's good, we should import it. An interesting spot to skim in advance for news is Github's monthly trending repos page: https://github.com/trending?l=python&since=monthly It often ends up showcasing cool new projects, or old ones which have had some more recent news. I won't be here for our next Apr 7 meetup, but I'm happy to try doing this at the next one I'm back for. Thoughts? Lars -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at growthpath.com.au Thu Mar 6 22:40:12 2014 From: tim at growthpath.com.au (Tim Richardson) Date: Fri, 7 Mar 2014 08:40:12 +1100 Subject: [melbourne-pug] What's new in Python In-Reply-To: References: Message-ID: Excellent idea On 07/03/2014 8:03 am, "Lars Yencken" wrote: > Hey guys, > > An idea for our meetups, I wouldn't mind starting with a short 5-10 min > "What's new in Python" section, a time for everyone to share news that we > take notes on and email out at the end. I saw this done at a Ruby meetup > and think it's good, we should import it. > > An interesting spot to skim in advance for news is Github's monthly > trending repos page: > > https://github.com/trending?l=python&since=monthly > > It often ends up showcasing cool new projects, or old ones which have had > some more recent news. I won't be here for our next Apr 7 meetup, but I'm > happy to try doing this at the next one I'm back for. > > Thoughts? > > Lars > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Fri Mar 7 00:12:23 2014 From: javier at candeira.com (Javier Candeira) Date: Fri, 7 Mar 2014 10:12:23 +1100 Subject: [melbourne-pug] What's new in Python In-Reply-To: References: Message-ID: Great idea. May I also suggest that the "what's new" presenter position rotate among the attendants? I guess you just volunteered for the April session! J On Fri, Mar 7, 2014 at 7:54 AM, Lars Yencken wrote: > Hey guys, > > An idea for our meetups, I wouldn't mind starting with a short 5-10 min > "What's new in Python" section, a time for everyone to share news that we > take notes on and email out at the end. I saw this done at a Ruby meetup > and think it's good, we should import it. > > An interesting spot to skim in advance for news is Github's monthly > trending repos page: > > https://github.com/trending?l=python&since=monthly > > It often ends up showcasing cool new projects, or old ones which have had > some more recent news. I won't be here for our next Apr 7 meetup, but I'm > happy to try doing this at the next one I'm back for. > > Thoughts? > > Lars > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From contact at pycon-au.org Fri Mar 7 01:07:03 2014 From: contact at pycon-au.org (PyCon AU) Date: Fri, 7 Mar 2014 11:07:03 +1100 Subject: [melbourne-pug] Call for Proposals: PyCon AU 2014 in Brisbane Message-ID: PyCon Australia 2014 is pleased to announce that its Call for Proposals is now open! The conference this year will be held on Saturday 2 and Sunday 3 August 2014 in Brisbane. We'll also be featuring a day of miniconfs on Friday 1 August. The deadline for proposal submission is Friday April 25, 2014, and more information can be found at http://pycon-au.org/cfp PyCon Australia attracts professional developers from all walks of life, including industry, government, and science, as well as enthusiast and student developers. We're looking for proposals for presentations and tutorials on any aspect of Python programming, at all skill levels from novice to advanced. Presentation subjects may range from reports on open source, academic or commercial projects; or even tutorials and case studies. If a presentation is interesting and useful to the Python community, it will be considered for inclusion in the program. We're especially interested in short presentations that will teach conference-goers something new and useful. Can you show attendees how to use a module? Explore a Python language feature? Package an application? Proposals about the Django web framework are very strongly encouraged, and will also be considered for inclusion in DjangoCon AU, to be held on Friday 1 August. We welcome first-time speakers; we are a community conference and we are eager to hear about your experience. If you have friends or colleagues who have something valuable to contribute, twist their arms to tell us about it! Please also forward this Call for Proposals to anyone that you feel may be interested. To find out more go to the official Call for Proposals page here: http://pycon-au.org/cfp See you in Brisbane in August! == About PyCon Australia == PyCon Australia is the national conference for the Python Programming Community. The fifth PyCon Australia will be held on August 1--5, 2014 in Brisbane, bringing together professional, student and enthusiast developers with a love for developing with Python. PyCon Australia informs the country's Python developers with presentations, tutorials and panel sessions by experts and core developers of Python, as well as the libraries and frameworks that they rely on. To find out more about PyCon Australia 2014, visit our website at http://pycon-au.org or e-mail us at contact at pycon-au.org. PyCon Australia is presented by Linux Australia (www.linux.org.au) and acknowledges the support of our Platinum Sponsor, Red Hat, and our Gold sponsors, Google Australia and Netbox Blue. For full details of our sponsors, see our website. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lars at yencken.org Fri Mar 7 01:14:19 2014 From: lars at yencken.org (Lars Yencken) Date: Fri, 7 Mar 2014 11:14:19 +1100 Subject: [melbourne-pug] What's new in Python In-Reply-To: References: Message-ID: Rotating is a good idea, ideally it should be really interactive. I'll be away in April: I'm fortunate to be able to attend PyCon in Montreal then. I'm happy to do a "best-of" recap in May when I'm back. Perhaps anyone else who's going can also chip in about their favourite talks. On 7 March 2014 10:12, Javier Candeira wrote: > Great idea. May I also suggest that the "what's new" presenter position > rotate among the attendants? > > I guess you just volunteered for the April session! > > J > > > On Fri, Mar 7, 2014 at 7:54 AM, Lars Yencken wrote: > >> Hey guys, >> >> An idea for our meetups, I wouldn't mind starting with a short 5-10 min >> "What's new in Python" section, a time for everyone to share news that we >> take notes on and email out at the end. I saw this done at a Ruby meetup >> and think it's good, we should import it. >> >> An interesting spot to skim in advance for news is Github's monthly >> trending repos page: >> >> https://github.com/trending?l=python&since=monthly >> >> It often ends up showcasing cool new projects, or old ones which have had >> some more recent news. I won't be here for our next Apr 7 meetup, but I'm >> happy to try doing this at the next one I'm back for. >> >> Thoughts? >> >> Lars >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Fri Mar 7 01:34:28 2014 From: javier at candeira.com (Javier Candeira) Date: Fri, 7 Mar 2014 11:34:28 +1100 Subject: [melbourne-pug] What's new in Python In-Reply-To: References: Message-ID: Ok, so Lars is up for the May "what's new in Python, Pycon US/Montr?al edition". Does anyone want to raise their hand for the April "what's new in Python"? J On Fri, Mar 7, 2014 at 11:14 AM, Lars Yencken wrote: > Rotating is a good idea, ideally it should be really interactive. > > I'll be away in April: I'm fortunate to be able to attend PyCon in > Montreal then. I'm happy to do a "best-of" recap in May when I'm back. > Perhaps anyone else who's going can also chip in about their favourite > talks. > > > On 7 March 2014 10:12, Javier Candeira wrote: > >> Great idea. May I also suggest that the "what's new" presenter position >> rotate among the attendants? >> >> I guess you just volunteered for the April session! >> >> J >> >> >> On Fri, Mar 7, 2014 at 7:54 AM, Lars Yencken wrote: >> >>> Hey guys, >>> >>> An idea for our meetups, I wouldn't mind starting with a short 5-10 min >>> "What's new in Python" section, a time for everyone to share news that we >>> take notes on and email out at the end. I saw this done at a Ruby meetup >>> and think it's good, we should import it. >>> >>> An interesting spot to skim in advance for news is Github's monthly >>> trending repos page: >>> >>> https://github.com/trending?l=python&since=monthly >>> >>> It often ends up showcasing cool new projects, or old ones which have >>> had some more recent news. I won't be here for our next Apr 7 meetup, but >>> I'm happy to try doing this at the next one I'm back for. >>> >>> Thoughts? >>> >>> Lars >>> >>> _______________________________________________ >>> melbourne-pug mailing list >>> melbourne-pug at python.org >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From schweitzer.ubiquitous at gmail.com Fri Mar 7 02:55:27 2014 From: schweitzer.ubiquitous at gmail.com (martin schweitzer) Date: Fri, 7 Mar 2014 12:55:27 +1100 Subject: [melbourne-pug] What's new in Python In-Reply-To: References: Message-ID: I like the idea. I think that many people on this group are already aware of Pycoder's Weekly which is a weekly roundup of new projects, articles etc. in Python. It is a great publication and helps keep me up to date with what's happening in the Python world. In case you haven't seen or heard of it, an example from the archive is here: http://us4.campaign-archive1.com/?u=9735795484d2e4c204da82a29&id=0da18b2a24 And you can sign up here: http://pycoders.com/ Regards, Martin On Fri, Mar 7, 2014 at 11:34 AM, Javier Candeira wrote: > Ok, so Lars is up for the May "what's new in Python, Pycon US/Montr?al > edition". > > Does anyone want to raise their hand for the April "what's new in Python"? > > J > > > On Fri, Mar 7, 2014 at 11:14 AM, Lars Yencken wrote: > >> Rotating is a good idea, ideally it should be really interactive. >> >> I'll be away in April: I'm fortunate to be able to attend PyCon in >> Montreal then. I'm happy to do a "best-of" recap in May when I'm back. >> Perhaps anyone else who's going can also chip in about their favourite >> talks. >> >> >> On 7 March 2014 10:12, Javier Candeira wrote: >> >>> Great idea. May I also suggest that the "what's new" presenter position >>> rotate among the attendants? >>> >>> I guess you just volunteered for the April session! >>> >>> J >>> >>> >>> On Fri, Mar 7, 2014 at 7:54 AM, Lars Yencken wrote: >>> >>>> Hey guys, >>>> >>>> An idea for our meetups, I wouldn't mind starting with a short 5-10 min >>>> "What's new in Python" section, a time for everyone to share news that we >>>> take notes on and email out at the end. I saw this done at a Ruby meetup >>>> and think it's good, we should import it. >>>> >>>> An interesting spot to skim in advance for news is Github's monthly >>>> trending repos page: >>>> >>>> https://github.com/trending?l=python&since=monthly >>>> >>>> It often ends up showcasing cool new projects, or old ones which have >>>> had some more recent news. I won't be here for our next Apr 7 meetup, but >>>> I'm happy to try doing this at the next one I'm back for. >>>> >>>> Thoughts? >>>> >>>> Lars >>>> >>>> _______________________________________________ >>>> melbourne-pug mailing list >>>> melbourne-pug at python.org >>>> https://mail.python.org/mailman/listinfo/melbourne-pug >>>> >>>> >>> >>> _______________________________________________ >>> melbourne-pug mailing list >>> melbourne-pug at python.org >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -- Martin Schweitzer Mobile: 0412 345 938 -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Mon Mar 10 11:19:17 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 10 Mar 2014 21:19:17 +1100 Subject: [melbourne-pug] Speakers sought for April and May (and beyond) Message-ID: I have just updated the wiki with notes about Tim's and Chris's prospective talks for April (web2py) and May (Pandas/Scikit). Lars is also on in May for a What's new in Python, Pycon US edition. I think we have space for one more short presentation each of those two months. Maybe not a 25 minute one, but definitely a 10 minute one. So please come forward! Also, who volunteers for doing a round up of novelties in "What's new in Python: first time we do this at MPUG edition"? -------------- next part -------------- An HTML attachment was scrubbed... URL: From chausler at gmail.com Mon Mar 10 13:51:30 2014 From: chausler at gmail.com (Chris Hausler) Date: Mon, 10 Mar 2014 23:51:30 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 12 In-Reply-To: References: Message-ID: Hi Javier Would it be possible for me to present in June? I haven't made it to a meeting yet and would like to scope it out before speaking so I can better tailor my talk ;-) Cheers Chris On 10 Mar 2014 22:04, wrote: > Send melbourne-pug mailing list submissions to > melbourne-pug at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/melbourne-pug > or, via email, send a message with subject or body 'help' to > melbourne-pug-request at python.org > > You can reach the person managing the list at > melbourne-pug-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of melbourne-pug digest..." > > > Today's Topics: > > 1. Speakers sought for April and May (and beyond) (Javier Candeira) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 10 Mar 2014 21:19:17 +1100 > From: Javier Candeira > To: Melbourne Python Users Group > Subject: [melbourne-pug] Speakers sought for April and May (and > beyond) > Message-ID: > < > CAKADsbehU5SXBXC8+ookcQwyWydy+502-nCbJuNZerZj8eJxrw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I have just updated the wiki with notes about Tim's and Chris's prospective > talks for April (web2py) and May (Pandas/Scikit). Lars is also on in May > for a What's new in Python, Pycon US edition. > > I think we have space for one more short presentation each of those two > months. Maybe not a 25 minute one, but definitely a 10 minute one. So > please come forward! > > Also, who volunteers for doing a round up of novelties in "What's new in > Python: first time we do this at MPUG edition"? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/melbourne-pug/attachments/20140310/ffef8383/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > > ------------------------------ > > End of melbourne-pug Digest, Vol 93, Issue 12 > ********************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Tue Mar 11 00:42:17 2014 From: javier at candeira.com (Javier Candeira) Date: Tue, 11 Mar 2014 10:42:17 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 12 In-Reply-To: References: Message-ID: Sure, I'm moving you to June. This leaves a talk slot free in May. Volunteers welcome! J On Mon, Mar 10, 2014 at 11:51 PM, Chris Hausler wrote: > Hi Javier > Would it be possible for me to present in June? I haven't made it to a > meeting yet and would like to scope it out before speaking so I can better > tailor my talk ;-) > Cheers > Chris > On 10 Mar 2014 22:04, wrote: > >> Send melbourne-pug mailing list submissions to >> melbourne-pug at python.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://mail.python.org/mailman/listinfo/melbourne-pug >> or, via email, send a message with subject or body 'help' to >> melbourne-pug-request at python.org >> >> You can reach the person managing the list at >> melbourne-pug-owner at python.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of melbourne-pug digest..." >> >> >> Today's Topics: >> >> 1. Speakers sought for April and May (and beyond) (Javier Candeira) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Mon, 10 Mar 2014 21:19:17 +1100 >> From: Javier Candeira >> To: Melbourne Python Users Group >> Subject: [melbourne-pug] Speakers sought for April and May (and >> beyond) >> Message-ID: >> < >> CAKADsbehU5SXBXC8+ookcQwyWydy+502-nCbJuNZerZj8eJxrw at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> I have just updated the wiki with notes about Tim's and Chris's >> prospective >> talks for April (web2py) and May (Pandas/Scikit). Lars is also on in May >> for a What's new in Python, Pycon US edition. >> >> I think we have space for one more short presentation each of those two >> months. Maybe not a 25 minute one, but definitely a 10 minute one. So >> please come forward! >> >> Also, who volunteers for doing a round up of novelties in "What's new in >> Python: first time we do this at MPUG edition"? >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://mail.python.org/pipermail/melbourne-pug/attachments/20140310/ffef8383/attachment-0001.html >> > >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> >> ------------------------------ >> >> End of melbourne-pug Digest, Vol 93, Issue 12 >> ********************************************* >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tleeuwenburg at gmail.com Tue Mar 11 00:45:44 2014 From: tleeuwenburg at gmail.com (Tennessee Leeuwenburg) Date: Tue, 11 Mar 2014 10:45:44 +1100 Subject: [melbourne-pug] A brief note on list administration Message-ID: Hi all, One of my roles in MPUG is to hit "accept" or "reject" on emails which are sent to the list but are from unregistered email addresses, or, less frequently, are held for other edge case reasons which I won't go into here. The emails form unregistered addresses come in a few categories, which I list in order of greatest number to least: 1. Emails from subscribers who appear to be using a different email address to their registered email address. Usually these are *replies* to messages originating from the list. 2. Email announcements from relevant sources who haven't bothered to subscribe 3. Unwanted spam I can understand categories 2 and 3. I don't really understand category 1. In particular, I can't understand why those people don't see a bounce notification and immediately either register their additional address or re-send the email from a registered address. The results are a fairly manageable amount of work for me, and delayed emails to the list. We have a couple of list admins, but I tend to do the triage here and that's totally fine. I just thought I'd bring the issue to the attention of members. I'm not a mailman expert, so I don't really know how to tune the settings optimally. If you're someone who has been affected by this, and you can think of a way to improve this either at your end or my end, please let me know. Cheers, -T -- -------------------------------------------------- Tennessee Leeuwenburg http://myownhat.blogspot.com/ "Don't believe everything you think" -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Tue Mar 11 00:47:29 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Tue, 11 Mar 2014 10:47:29 +1100 Subject: [melbourne-pug] =?utf-8?q?Please_disable_=E2=80=9Cdigest_mode?= =?utf-8?q?=E2=80=9D_before_participating_=28was=3A_melbourne-pug_Digest?= =?utf-8?q?=2C_Vol_93=2C_Issue_12=29?= References: Message-ID: <85txb5ty3y.fsf_-_@benfinney.id.au> Chris Hausler writes: > Hi Javier Chris (and anyone else to whom this applies), to participate in the discussion, could you please switch your subscription to disable digest mode? In other words, to participate in the discussion, it's much more considerate to reply to individual messages; which means you need to received those individual messages from your subscription. Here is the Mailman documentation for changing the ?digest mode? setting . -- \ ?The number of UNIX installations has grown to 10, with more | `\ expected.? ?Unix Programmer's Manual, 2nd Ed., 1972-06-12 | _o__) | Ben Finney From brian at microcomaustralia.com.au Tue Mar 11 07:51:29 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Tue, 11 Mar 2014 17:51:29 +1100 Subject: [melbourne-pug] A brief note on list administration In-Reply-To: References: Message-ID: On 11 Mar 2014 10:45, "Tennessee Leeuwenburg" wrote: > In particular, I can't understand why those people don't see a bounce notification and immediately either register their additional address or re-send the email from a registered address. The results are a fairly manageable amount of work for me, and delayed emails to the list. We have a couple of list admins, but I tend to do the triage here and that's totally fine. If you resend the email, you risk having two emails showing up on the mailing list. (Mailman might have a feature allowing you to cancel the first, not sure) -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony.briggs at gmail.com Tue Mar 11 08:03:36 2014 From: anthony.briggs at gmail.com (Anthony Briggs) Date: Tue, 11 Mar 2014 18:03:36 +1100 Subject: [melbourne-pug] A brief note on list administration In-Reply-To: References: Message-ID: On 11 March 2014 17:51, Brian May wrote: > > On 11 Mar 2014 10:45, "Tennessee Leeuwenburg" > wrote: > > In particular, I can't understand why those people don't see a bounce > notification and immediately either register their additional address or > re-send the email from a registered address. The results are a fairly > manageable amount of work for me, and delayed emails to the list. We have a > couple of list admins, but I tend to do the triage here and that's totally > fine. > > If you resend the email, you risk having two emails showing up on the > mailing list. > List admins are generally pretty lazy*, and you won't see your email show up for an hour or two at least. So if you resend straight away, I doubt it'll cause any issue. Anthony * - I should know; I are one. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dcrisp at netspace.net.au Fri Mar 14 00:20:21 2014 From: dcrisp at netspace.net.au (David Crisp) Date: Fri, 14 Mar 2014 10:20:21 +1100 (EST) Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) Message-ID: I am having a little problems with dicts returning data not alwyas in the same order depending on how long they are: The code reads in a line of address data from an excel spreadsheet as per the following block: asset_field_dict[config_row[2]] = list_row[2] asset_field_dict[config_row[3]] = list_row[3] asset_field_dict[config_row[4]] = list_row[4] asset_field_dict[config_row[5]] = list_row[5] asset_field_dict[config_row[6]] = list_row[6] asset_field_dict[config_row[7]] = list_row[7] asset_field_dict[config_row[8]] = list_row[8] asset_field_dict[config_row[9]] = list_row[9] I then simply print the dict out to see what it contains: print(asset_field_dict) IF I run this with only 3 eleemnts the dict is ALWAYS in the same order: (note: not correct: it should actually be Street No, Street Name, Street Type) {'Street Name': 'Janet', 'Street Type': 'Cres', 'Street No': 45.0} {'Street Name': 'Regen', 'Street Type': 'Court', 'Street No': 1.0} {'Street Name': 'Greenhills', 'Street Type': 'Road', 'Street No': 5.0} IF I run it with ALL the rows there then the data being read then the rows will be randomly returned in different orders. For instance (sorry about the formatting) First time I run the code: {'Street No': 45.0, 'Street Type': 'Cres', 'ZipCode': 3084.0, 'Y': -37.68926, 'Country': 'Australia', 'Street Name': 'Janet', 'State': 'Victoria', 'City': 'Bundoora'} {'Street No': 1.0, 'Street Type': 'Court', 'ZipCode': 3084.0, 'Y': -37.685274, 'Country': 'Australia', 'Street Name': 'Regen', 'State': 'Victoria', 'City': 'Bundoora'} {'Street No': 5.0, 'Street Type': 'Road', 'ZipCode': 3084.0, 'Y': -37.691476, 'Country': 'Australia', 'Street Name': 'Greenhills', 'State': 'Victoria', 'City': 'Bundoora'} Second time I run the code: {'Street Type': 'Cres', 'Street Name': 'Janet', 'Street No': 45.0, 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': -37.68926, 'City': 'Bundoora'} {'Street Type': 'Court', 'Street Name': 'Regen', 'Street No': 1.0, 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': -37.685274, 'City': 'Bundoora'} {'Street Type': 'Road', 'Street Name': 'Greenhills', 'Street No': 5.0, 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': -37.691476, 'City': 'Bundoora'} Third time i run the code: {'Y': -37.68926, 'City': 'Bundoora', 'State': 'Victoria', 'Country': 'Australia', 'Street Type': 'Cres', 'ZipCode': 3084.0, 'Street No': 45.0, 'Street Name': 'Janet'} {'Y': -37.685274, 'City': 'Bundoora', 'State': 'Victoria', 'Country': 'Australia', 'Street Type': 'Court', 'ZipCode': 3084.0, 'Street No': 1.0, 'Street Name': 'Regen'} {'Y': -37.691476, 'City': 'Bundoora', 'State': 'Victoria', 'Country': 'Australia', 'Street Type': 'Road', 'ZipCode': 3084.0, 'Street No': 5.0, 'Street Name': 'Greenhills'} HOW do I read the dict in the order it was written? If thats the wrong way of doing it, what would be the correct way of doing it? Regards, David Crisp From ben+python at benfinney.id.au Fri Mar 14 00:28:55 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Fri, 14 Mar 2014 10:28:55 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) References: Message-ID: <85r465smo8.fsf@benfinney.id.au> David Crisp writes: > I am having a little problems with dicts returning data not alwyas in > the same order depending on how long they are That's right. The ?dict? type is a *non-ordered* collection. The order you see when a dict is serialised (e.g. when you ask for it to be rendered as a text string) is not predictable within your Python code. > HOW do I read the dict in the order it was written? Bluntly: You don't. If you are writing code that relies on the order of insertion into the dict, then your code is wrong in its assumptions. > If thats the wrong way of doing it, what would be the correct way of > doing it? Either re-visit what you want to do in your code ? you quite likely can write it so that it's not dependent on the order of items ? or you use a different type. So, what is it you're actually needing to do, and why is the order of items relevant? -- \ ?Give a man a fish, and you'll feed him for a day; give him a | `\ religion, and he'll starve to death while praying for a fish.? | _o__) ?Anonymous | Ben Finney From jni.soma at gmail.com Fri Mar 14 00:30:23 2014 From: jni.soma at gmail.com (Juan Nunez-Iglesias) Date: Thu, 13 Mar 2014 16:30:23 -0700 (PDT) Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: Message-ID: <1394753422717.21f07338@Nodemailer> Hi David, Indeed, Python dicts place no guarantees on the order in which the items appear in iteration. If you want to preserve the insert order, try "from collections import OrderedDict". Then use OrderedDicts wherever you are using a dict now.? Juan.? ? Sent from Mailbox for iPhone On Fri, Mar 14, 2014 at 10:23 AM, David Crisp wrote: > I am having a little problems with dicts returning data not alwyas in the > same order depending on how long they are: > The code reads in a line of address data from an excel spreadsheet as per > the following block: > asset_field_dict[config_row[2]] = list_row[2] > asset_field_dict[config_row[3]] = list_row[3] > asset_field_dict[config_row[4]] = list_row[4] > asset_field_dict[config_row[5]] = list_row[5] > asset_field_dict[config_row[6]] = list_row[6] > asset_field_dict[config_row[7]] = list_row[7] > asset_field_dict[config_row[8]] = list_row[8] > asset_field_dict[config_row[9]] = list_row[9] > I then simply print the dict out to see what it contains: > print(asset_field_dict) > IF I run this with only 3 eleemnts the dict is ALWAYS in the same > order: (note: not correct: it should actually be Street No, Street > Name, Street Type) > {'Street Name': 'Janet', 'Street Type': 'Cres', 'Street No': 45.0} > {'Street Name': 'Regen', 'Street Type': 'Court', 'Street No': 1.0} > {'Street Name': 'Greenhills', 'Street Type': 'Road', 'Street No': 5.0} > IF I run it with ALL the rows there then the data being read then the rows > will be randomly returned in different orders. > For instance (sorry about the formatting) > First time I run the code: > {'Street No': 45.0, 'Street Type': 'Cres', 'ZipCode': 3084.0, 'Y': > -37.68926, 'Country': 'Australia', 'Street Name': 'Janet', 'State': > 'Victoria', 'City': 'Bundoora'} > {'Street No': 1.0, 'Street Type': 'Court', 'ZipCode': 3084.0, 'Y': > -37.685274, 'Country': 'Australia', 'Street Name': 'Regen', 'State': > 'Victoria', 'City': 'Bundoora'} > {'Street No': 5.0, 'Street Type': 'Road', 'ZipCode': 3084.0, 'Y': > -37.691476, 'Country': 'Australia', 'Street Name': 'Greenhills', 'State': > 'Victoria', 'City': 'Bundoora'} > Second time I run the code: > {'Street Type': 'Cres', 'Street Name': 'Janet', 'Street No': 45.0, > 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': > -37.68926, 'City': 'Bundoora'} > {'Street Type': 'Court', 'Street Name': 'Regen', 'Street No': 1.0, > 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': > -37.685274, 'City': 'Bundoora'} > {'Street Type': 'Road', 'Street Name': 'Greenhills', 'Street No': 5.0, > 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': > -37.691476, 'City': 'Bundoora'} > Third time i run the code: > {'Y': -37.68926, 'City': 'Bundoora', 'State': 'Victoria', 'Country': > 'Australia', 'Street Type': 'Cres', 'ZipCode': 3084.0, 'Street No': 45.0, > 'Street Name': 'Janet'} > {'Y': -37.685274, 'City': 'Bundoora', 'State': 'Victoria', 'Country': > 'Australia', 'Street Type': 'Court', 'ZipCode': 3084.0, 'Street No': 1.0, > 'Street Name': 'Regen'} > {'Y': -37.691476, 'City': 'Bundoora', 'State': 'Victoria', 'Country': > 'Australia', 'Street Type': 'Road', 'ZipCode': 3084.0, 'Street No': 5.0, > 'Street Name': 'Greenhills'} > HOW do I read the dict in the order it was written? > If thats the wrong way of doing it, what would be the correct way of > doing it? > Regards, > David Crisp > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug -------------- next part -------------- An HTML attachment was scrubbed... URL: From brett at brett.geek.nz Fri Mar 14 00:30:13 2014 From: brett at brett.geek.nz (Brett Wilkins) Date: Fri, 14 Mar 2014 10:30:13 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: Message-ID: Hi David, Python Dictionaries are unordered by definition. If you want an ordered dict, use an OrderedDict:?http://docs.python.org/2/library/collections.html#collections.OrderedDict --? Brett Wilkins On 14 March 2014 at 10:23:59 am, David Crisp (dcrisp at netspace.net.au) wrote: I am having a little problems with dicts returning data not alwyas in the same order depending on how long they are: The code reads in a line of address data from an excel spreadsheet as per the following block: asset_field_dict[config_row[2]] = list_row[2] asset_field_dict[config_row[3]] = list_row[3] asset_field_dict[config_row[4]] = list_row[4] asset_field_dict[config_row[5]] = list_row[5] asset_field_dict[config_row[6]] = list_row[6] asset_field_dict[config_row[7]] = list_row[7] asset_field_dict[config_row[8]] = list_row[8] asset_field_dict[config_row[9]] = list_row[9] I then simply print the dict out to see what it contains: print(asset_field_dict) IF I run this with only 3 eleemnts the dict is ALWAYS in the same order: (note: not correct: it should actually be Street No, Street Name, Street Type) {'Street Name': 'Janet', 'Street Type': 'Cres', 'Street No': 45.0} {'Street Name': 'Regen', 'Street Type': 'Court', 'Street No': 1.0} {'Street Name': 'Greenhills', 'Street Type': 'Road', 'Street No': 5.0} IF I run it with ALL the rows there then the data being read then the rows will be randomly returned in different orders. For instance (sorry about the formatting) First time I run the code: {'Street No': 45.0, 'Street Type': 'Cres', 'ZipCode': 3084.0, 'Y': -37.68926, 'Country': 'Australia', 'Street Name': 'Janet', 'State': 'Victoria', 'City': 'Bundoora'} {'Street No': 1.0, 'Street Type': 'Court', 'ZipCode': 3084.0, 'Y': -37.685274, 'Country': 'Australia', 'Street Name': 'Regen', 'State': 'Victoria', 'City': 'Bundoora'} {'Street No': 5.0, 'Street Type': 'Road', 'ZipCode': 3084.0, 'Y': -37.691476, 'Country': 'Australia', 'Street Name': 'Greenhills', 'State': 'Victoria', 'City': 'Bundoora'} Second time I run the code: {'Street Type': 'Cres', 'Street Name': 'Janet', 'Street No': 45.0, 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': -37.68926, 'City': 'Bundoora'} {'Street Type': 'Court', 'Street Name': 'Regen', 'Street No': 1.0, 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': -37.685274, 'City': 'Bundoora'} {'Street Type': 'Road', 'Street Name': 'Greenhills', 'Street No': 5.0, 'ZipCode': 3084.0, 'Country': 'Australia', 'State': 'Victoria', 'Y': -37.691476, 'City': 'Bundoora'} Third time i run the code: {'Y': -37.68926, 'City': 'Bundoora', 'State': 'Victoria', 'Country': 'Australia', 'Street Type': 'Cres', 'ZipCode': 3084.0, 'Street No': 45.0, 'Street Name': 'Janet'} {'Y': -37.685274, 'City': 'Bundoora', 'State': 'Victoria', 'Country': 'Australia', 'Street Type': 'Court', 'ZipCode': 3084.0, 'Street No': 1.0, 'Street Name': 'Regen'} {'Y': -37.691476, 'City': 'Bundoora', 'State': 'Victoria', 'Country': 'Australia', 'Street Type': 'Road', 'ZipCode': 3084.0, 'Street No': 5.0, 'Street Name': 'Greenhills'} HOW do I read the dict in the order it was written? If thats the wrong way of doing it, what would be the correct way of doing it? Regards, David Crisp _______________________________________________ melbourne-pug mailing list melbourne-pug at python.org https://mail.python.org/mailman/listinfo/melbourne-pug -------------- next part -------------- An HTML attachment was scrubbed... URL: From pizza at netspace.net.au Fri Mar 14 00:31:27 2014 From: pizza at netspace.net.au (Jason King) Date: Fri, 14 Mar 2014 10:31:27 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: Message-ID: <53223FCF.7070208@netspace.net.au> On 14/03/14 10:20, David Crisp wrote: > I am having a little problems with dicts returning data not alwyas in > the same order depending on how long they are: yup, associative arrays , (in awk), dicts in python , and the perl version of them are all like this, you can't specify the order in which the contents are output. There is an OrderedDict (http://docs.python.org/2/library/collections.html#collections.OrderedDict) if insertion order is important to you. From dcrisp at netspace.net.au Fri Mar 14 00:36:05 2014 From: dcrisp at netspace.net.au (David Crisp) Date: Fri, 14 Mar 2014 10:36:05 +1100 (EST) Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: <85r465smo8.fsf@benfinney.id.au> References: <85r465smo8.fsf@benfinney.id.au> Message-ID: Thanks Ben, I suspected I was doing it wrong. On Fri, 14 Mar 2014, Ben Finney wrote: >> If thats the wrong way of doing it, what would be the correct way of >> doing it? > > Either re-visit what you want to do in your code ? you quite likely can > write it so that it's not dependent on the order of items ? or you use a > different type. > > So, what is it you're actually needing to do, and why is the order of > items relevant? I am processing a set of data in row(parrellel) format that needs to be tossed into EAV (serialised) format. The database it is goign into is a long existing system which cant be changed. I am reading the ROW in, placing it in a container and then later writing that row out in the same order it got loaded in on. THis order creates the EAV rows in their correct order. If the data goes out in a different order to when it came in then the EAV rows are written in the incorrect order and the data goes bad. From ben+python at benfinney.id.au Fri Mar 14 00:40:49 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Fri, 14 Mar 2014 10:40:49 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) References: <85r465smo8.fsf@benfinney.id.au> Message-ID: <85mwgtsm4e.fsf@benfinney.id.au> David Crisp writes: > I am reading the ROW in, placing it in a container and then later > writing that row out in the same order it got loaded in on. THis > order creates the EAV rows in their correct order. If the data goes > out in a different order to when it came in then the EAV rows are > written in the incorrect order and the data goes bad. I would suggest, then, that you need only sequential access to this collection; you don't need key-based access. You don't need a ?dict? (nor even an OrderedDict) if access by arbitrary key is not needed. So, you can use a list of tuples, where each tuple is a record. The order of records will be preserved. -- \ ?What I have to do is see, at any rate, that I do not lend | `\ myself to the wrong which I condemn.? ?Henry Thoreau, _Civil | _o__) Disobedience_ | Ben Finney From javier at candeira.com Fri Mar 14 00:51:49 2014 From: javier at candeira.com (Javier Candeira) Date: Fri, 14 Mar 2014 10:51:49 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: <53223FCF.7070208@netspace.net.au> References: <53223FCF.7070208@netspace.net.au> Message-ID: On Fri, Mar 14, 2014 at 10:31 AM, Jason King wrote: > yup, associative arrays , (in awk), dicts in python , and the perl version > of them are all like this, you can't specify the order in which the > contents are output. > > There is an OrderedDict (http://docs.python.org/2/ > library/collections.html#collections.OrderedDict) > if insertion order is important to you. And, to add to Jason's Rosetta Stone of mappings, I believe Ruby hashes (which is the name dicts have in that faraway land) are always ordered, at least from 1.9 onwards. J -------------- next part -------------- An HTML attachment was scrubbed... URL: From dcrisp at netspace.net.au Fri Mar 14 01:27:21 2014 From: dcrisp at netspace.net.au (David Crisp) Date: Fri, 14 Mar 2014 11:27:21 +1100 (EST) Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: <53223FCF.7070208@netspace.net.au> Message-ID: Thanks everyone, I have examined the way I was writing my code and .. Bulk deleted the entire block that was causing the problem with the intention of re-writing it! :) Okay: SO i had a look at what I was doing and realsied it was slightly regressive so I am having another look at my structure! Regards, David Crisp On Fri, 14 Mar 2014, Javier Candeira wrote: > On Fri, Mar 14, 2014 at 10:31 AM, Jason King wrote: > >> yup, associative arrays , (in awk), dicts in python , and the perl version >> of them are all like this, you can't specify the order in which the >> contents are output. >> >> There is an OrderedDict (http://docs.python.org/2/ >> library/collections.html#collections.OrderedDict) >> if insertion order is important to you. > > > And, to add to Jason's Rosetta Stone of mappings, I believe Ruby hashes > (which is the name dicts have in that faraway land) are always ordered, at > least from 1.9 onwards. > > J > From noonslists at gmail.com Fri Mar 14 01:30:49 2014 From: noonslists at gmail.com (Noon Silk) Date: Fri, 14 Mar 2014 11:30:49 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: <53223FCF.7070208@netspace.net.au> Message-ID: It'd be pretty fun to have a mode for the interpreter such that, if, when a particular property was 'undefined', the implementation did it's best to make sure it was a undefined as possible. On Fri, Mar 14, 2014 at 11:27 AM, David Crisp wrote: > Thanks everyone, > > I have examined the way I was writing my code and .. Bulk deleted the > entire block that was causing the problem with the intention of re-writing > it! :) > > Okay: SO i had a look at what I was doing and realsied it was slightly > regressive so I am having another look at my structure! > > Regards, > David Crisp > > > > > On Fri, 14 Mar 2014, Javier Candeira wrote: > > On Fri, Mar 14, 2014 at 10:31 AM, Jason King >> wrote: >> >> yup, associative arrays , (in awk), dicts in python , and the perl >>> version >>> of them are all like this, you can't specify the order in which the >>> contents are output. >>> >>> There is an OrderedDict (http://docs.python.org/2/ >>> library/collections.html#collections.OrderedDict) >>> if insertion order is important to you. >>> >> >> >> And, to add to Jason's Rosetta Stone of mappings, I believe Ruby hashes >> (which is the name dicts have in that faraway land) are always ordered, at >> least from 1.9 onwards. >> >> J >> >> _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > -- Noon Silk Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/ "Every morning when I wake up, I experience an exquisite joy -- the joy of being this signature." -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Fri Mar 14 01:47:14 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Fri, 14 Mar 2014 11:47:14 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) References: <53223FCF.7070208@netspace.net.au> Message-ID: <85eh25sj1p.fsf@benfinney.id.au> David Crisp writes: > Okay: SO i had a look at what I was doing and realsied it was > slightly regressive so I am having another look at my structure! That's a good result :-) -- \ ?When I wake up in the morning, I just can't get started until | `\ I've had that first, piping hot pot of coffee. Oh, I've tried | _o__) other enemas...? ?Emo Philips | Ben Finney From william.leslie.ttg at gmail.com Fri Mar 14 04:23:10 2014 From: william.leslie.ttg at gmail.com (William ML Leslie) Date: Fri, 14 Mar 2014 14:23:10 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: <53223FCF.7070208@netspace.net.au> Message-ID: On 14 March 2014 11:30, Noon Silk wrote: > It'd be pretty fun to have a mode for the interpreter such that, if, when a > particular property was 'undefined', the implementation did it's best to > make sure it was a undefined as possible. That's a superb idea! -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely may reproduce any part of it in accordance with the copyright law of the nation you are reading this in. Any attempt to deny you those rights would be illegal without prior contractual agreement. From javier at candeira.com Fri Mar 14 04:36:57 2014 From: javier at candeira.com (Javier Candeira) Date: Fri, 14 Mar 2014 14:36:57 +1100 Subject: [melbourne-pug] dicts not always printing (and thus processing) in the same order they were created in (or, Im doing it WRONG ????) In-Reply-To: References: <53223FCF.7070208@netspace.net.au> Message-ID: It would be the opposite of the Maybe monad. We could call it the "no effing way, absolutely not" monad. J On Fri, Mar 14, 2014 at 2:23 PM, William ML Leslie < william.leslie.ttg at gmail.com> wrote: > On 14 March 2014 11:30, Noon Silk wrote: > > It'd be pretty fun to have a mode for the interpreter such that, if, > when a > > particular property was 'undefined', the implementation did it's best to > > make sure it was a undefined as possible. > > That's a superb idea! > > -- > William Leslie > > Notice: > Likely much of this email is, by the nature of copyright, covered > under copyright law. You absolutely may reproduce any part of it in > accordance with the copyright law of the nation you are reading this > in. Any attempt to deny you those rights would be illegal without > prior contractual agreement. > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ed at pythoncharmers.com Wed Mar 19 04:50:04 2014 From: ed at pythoncharmers.com (Ed Schofield) Date: Wed, 19 Mar 2014 14:50:04 +1100 Subject: [melbourne-pug] What's New in Python: April edition Message-ID: <81D53F98-A38B-4462-ABB2-4F91E25EFD8E@pythoncharmers.com> Hi everyone, Python 3.4 is out! Here?s the What?s New page: http://docs.python.org/3.4/whatsnew/3.4.html In other breaking news, it looks likely that Python 3.5 will (finally) have a dedicated infix operator for matrix multiplication. PEP 465 has the details: http://legacy.python.org/dev/peps/pep-0465/. Guido has indicated he?s willing to accept it (with the syntax "a @ b") once a few remaining details have been worked out. This will be a great step forward for Python?s huge community in data analysis, science, engineering, econometrics, statistics, and other analytical fields. This will also be a big carrot for Python 3.x adoption in these communities. I?d be happy to coordinate the first What?s New in Python session on 7 April. Let's aim to make it highly interactive, as Lars suggests. Lars, thanks for the great idea of running these as a regular feature of our meetings! Best wishes, Ed -- Dr. Edward Schofield Python Charmers +61 (0)405 676 229 http://pythoncharmers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at growthpath.com.au Thu Mar 20 06:09:15 2014 From: tim at growthpath.com.au (Tim Richardson) Date: Thu, 20 Mar 2014 16:09:15 +1100 Subject: [melbourne-pug] melbourne-pug Digest, Vol 93, Issue 12 In-Reply-To: References: Message-ID: Javier, not sure if you got my email; I won't be in melbourne for the next meeting (when I said I'd talk about web2py). I hope I can do it in May. sorry tim On Tue, Mar 11, 2014 at 10:42 AM, Javier Candeira wrote: > Sure, I'm moving you to June. > > This leaves a talk slot free in May. Volunteers welcome! > > J > > > On Mon, Mar 10, 2014 at 11:51 PM, Chris Hausler wrote: > >> Hi Javier >> Would it be possible for me to present in June? I haven't made it to a >> meeting yet and would like to scope it out before speaking so I can better >> tailor my talk ;-) >> Cheers >> Chris >> On 10 Mar 2014 22:04, wrote: >> >>> Send melbourne-pug mailing list submissions to >>> melbourne-pug at python.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> or, via email, send a message with subject or body 'help' to >>> melbourne-pug-request at python.org >>> >>> You can reach the person managing the list at >>> melbourne-pug-owner at python.org >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of melbourne-pug digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Speakers sought for April and May (and beyond) (Javier Candeira) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Mon, 10 Mar 2014 21:19:17 +1100 >>> From: Javier Candeira >>> To: Melbourne Python Users Group >>> Subject: [melbourne-pug] Speakers sought for April and May (and >>> beyond) >>> Message-ID: >>> < >>> CAKADsbehU5SXBXC8+ookcQwyWydy+502-nCbJuNZerZj8eJxrw at mail.gmail.com> >>> Content-Type: text/plain; charset="utf-8" >>> >>> I have just updated the wiki with notes about Tim's and Chris's >>> prospective >>> talks for April (web2py) and May (Pandas/Scikit). Lars is also on in May >>> for a What's new in Python, Pycon US edition. >>> >>> I think we have space for one more short presentation each of those two >>> months. Maybe not a 25 minute one, but definitely a 10 minute one. So >>> please come forward! >>> >>> Also, who volunteers for doing a round up of novelties in "What's new in >>> Python: first time we do this at MPUG edition"? >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: < >>> http://mail.python.org/pipermail/melbourne-pug/attachments/20140310/ffef8383/attachment-0001.html >>> > >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> melbourne-pug mailing list >>> melbourne-pug at python.org >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >>> ------------------------------ >>> >>> End of melbourne-pug Digest, Vol 93, Issue 12 >>> ********************************************* >>> >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -- *Tim Richardson, Director* GrowthPath, Data-driven profit growth Mobile: +61 423 091 732 Office: +61 3 8678 1850 I tweet useful business & IT tips at growthpath_au GrowthPath Pty Ltd ABN 76 133 733 963 -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Mon Mar 24 00:51:01 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 24 Mar 2014 10:51:01 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) (was: Re: Speakers sought for April and May (and beyond)) Message-ID: I've updated the wiki to account for the fat that all of Tim, Chris and Lars can talk about web2py, Pandas/Scikit and What's New in Python in May. April is also 2/3rds programmed now: * Ed Schofield - What's new in Python * Adrian Higgins -- Integrating specific hardware with Python using existing C libraries on Windows. With May full, I've also almost confirmed a Python Game for June, so we only need one talk for June. We'll also need a volunteer to present the June What's New in Python, as it's best if the presenter for the fixed session rotates. The wiki is at https://wiki.python.org/moin/MelbournePUG. Please excuse any errors and, even better, please correct them if you find them. Thanks everyone, J On Mon, Mar 10, 2014 at 9:19 PM, Javier Candeira wrote: > I have just updated the wiki with notes about Tim's and Chris's > prospective talks for April (web2py) and May (Pandas/Scikit). Lars is also > on in May for a What's new in Python, Pycon US edition. > > I think we have space for one more short presentation each of those two > months. Maybe not a 25 minute one, but definitely a 10 minute one. So > please come forward! > > Also, who volunteers for doing a round up of novelties in "What's new in > Python: first time we do this at MPUG edition"? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben+python at benfinney.id.au Mon Mar 24 01:21:45 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Mon, 24 Mar 2014 11:21:45 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) References: Message-ID: <85a9cgsaxy.fsf@benfinney.id.au> Javier Candeira writes: > April is also 2/3rds programmed now: I have added myself as a speaker for 2014-04-07. The talk will be ?A Pythonista Meets JavaScript: first contact?. -- \ ?Good morning, Pooh Bear?, said Eeyore gloomily. ?If it is a | `\ good morning?, he said. ?Which I doubt?, said he. ?A. A. Milne, | _o__) _Winnie-the-Pooh_ | Ben Finney From javier at candeira.com Mon Mar 24 01:25:56 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 24 Mar 2014 11:25:56 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) In-Reply-To: <85a9cgsaxy.fsf@benfinney.id.au> References: <85a9cgsaxy.fsf@benfinney.id.au> Message-ID: Thanks Ben. I too recently dived into JS, and I'll enjoy learning what you think of the experience. April is fully booked. ACHIEVEMENT UNLOCKED. J On Mon, Mar 24, 2014 at 11:21 AM, Ben Finney wrote: > Javier Candeira writes: > > > April is also 2/3rds programmed now: > > I have added myself as a speaker for 2014-04-07. The talk will be ?A > Pythonista Meets JavaScript: first contact?. > > -- > \ ?Good morning, Pooh Bear?, said Eeyore gloomily. ?If it is a | > `\ good morning?, he said. ?Which I doubt?, said he. ?A. A. Milne, | > _o__) _Winnie-the-Pooh_ | > Ben Finney > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jni.soma at gmail.com Mon Mar 24 01:27:25 2014 From: jni.soma at gmail.com (Juan Nunez-Iglesias) Date: Mon, 24 Mar 2014 11:27:25 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) In-Reply-To: References: <85a9cgsaxy.fsf@benfinney.id.au> Message-ID: To say that I've "dived" into js is a gross exaggeration, but I desperately want to learn about this so I'm looking forward to it! No pressure, Ben! ;) On Mon, Mar 24, 2014 at 11:25 AM, Javier Candeira wrote: > Thanks Ben. I too recently dived into JS, and I'll enjoy learning what you > think of the experience. > > April is fully booked. ACHIEVEMENT UNLOCKED. > > J > > > On Mon, Mar 24, 2014 at 11:21 AM, Ben Finney wrote: > >> Javier Candeira writes: >> >> > April is also 2/3rds programmed now: >> >> I have added myself as a speaker for 2014-04-07. The talk will be "A >> Pythonista Meets JavaScript: first contact". >> >> -- >> \ "Good morning, Pooh Bear", said Eeyore gloomily. "If it is a | >> `\ good morning", he said. "Which I doubt", said he. --A. A. Milne, | >> _o__) _Winnie-the-Pooh_ | >> Ben Finney >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> > > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Mon Mar 24 01:47:27 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 24 Mar 2014 11:47:27 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) (was: Re: Speakers sought for April and May (and beyond)) In-Reply-To: References: Message-ID: Ok, can do. So June is prospectively fully booked, and we have an opening for May. I'll talk to my Python game guy, see if he can do May, but meanwhile, hey, May has an opening! Seize the oportunity while it lasts, people! J On Mon, Mar 24, 2014 at 11:41 AM, Chris Hausler wrote: > Hi Javier, > > Sorry, could you move me to June for my talk on Pandas/Scikit? > May will be the first meeting I can attend, and I'd like to scope it out a > little before presenting ;-) > > cheers > c > > > On Mon, Mar 24, 2014 at 10:51 AM, Javier Candeira wrote: > >> I've updated the wiki to account for the fat that all of Tim, Chris and >> Lars can talk about web2py, Pandas/Scikit and What's New in Python in May. >> >> April is also 2/3rds programmed now: >> * Ed Schofield - What's new in Python >> * Adrian Higgins -- Integrating specific hardware with Python using >> existing C libraries on Windows. >> >> With May full, I've also almost confirmed a Python Game for June, so we >> only need one talk for June. We'll also need a volunteer to present the >> June What's New in Python, as it's best if the presenter for the fixed >> session rotates. >> >> The wiki is at https://wiki.python.org/moin/MelbournePUG. Please excuse >> any errors and, even better, please correct them if you find them. >> >> Thanks everyone, >> >> J >> >> >> On Mon, Mar 10, 2014 at 9:19 PM, Javier Candeira wrote: >> >>> I have just updated the wiki with notes about Tim's and Chris's >>> prospective talks for April (web2py) and May (Pandas/Scikit). Lars is also >>> on in May for a What's new in Python, Pycon US edition. >>> >>> I think we have space for one more short presentation each of those two >>> months. Maybe not a 25 minute one, but definitely a 10 minute one. So >>> please come forward! >>> >>> Also, who volunteers for doing a round up of novelties in "What's new in >>> Python: first time we do this at MPUG edition"? >>> >>> >>> >>> >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Mon Mar 24 02:04:19 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 24 Mar 2014 12:04:19 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) (was: Re: Speakers sought for April and May (and beyond)) In-Reply-To: References: Message-ID: Yay Tom. You're now on the Wiki. Chris: Thanks for moving yourself to June. Thanks everyone, you're all great. J On Mon, Mar 24, 2014 at 11:53 AM, Tom Allen wrote: > As the "python game guy" you're referring to - count me in for May. > > To the group - hello! I'm Tom, and I work with Graeme and Javier (and some > other attendees no doubt). I used to live in Sydney and occasionally popped > up in the PUG there too. In my spare time I tinker with robotics, augmented > reality, and game design, all mostly in Python where possible. > > Cheers, > Tom > > > On 24 March 2014 11:47, Javier Candeira wrote: > >> Ok, can do. >> >> So June is prospectively fully booked, and we have an opening for May. >> >> I'll talk to my Python game guy, see if he can do May, but meanwhile, >> hey, May has an opening! >> >> Seize the oportunity while it lasts, people! >> >> J >> >> >> On Mon, Mar 24, 2014 at 11:41 AM, Chris Hausler wrote: >> >>> Hi Javier, >>> >>> Sorry, could you move me to June for my talk on Pandas/Scikit? >>> May will be the first meeting I can attend, and I'd like to scope it out >>> a little before presenting ;-) >>> >>> cheers >>> c >>> >>> >>> On Mon, Mar 24, 2014 at 10:51 AM, Javier Candeira wrote: >>> >>>> I've updated the wiki to account for the fat that all of Tim, Chris and >>>> Lars can talk about web2py, Pandas/Scikit and What's New in Python in May. >>>> >>>> April is also 2/3rds programmed now: >>>> * Ed Schofield - What's new in Python >>>> * Adrian Higgins -- Integrating specific hardware with Python using >>>> existing C libraries on Windows. >>>> >>>> With May full, I've also almost confirmed a Python Game for June, so we >>>> only need one talk for June. We'll also need a volunteer to present the >>>> June What's New in Python, as it's best if the presenter for the fixed >>>> session rotates. >>>> >>>> The wiki is at https://wiki.python.org/moin/MelbournePUG. Please >>>> excuse any errors and, even better, please correct them if you find them. >>>> >>>> Thanks everyone, >>>> >>>> J >>>> >>>> >>>> On Mon, Mar 10, 2014 at 9:19 PM, Javier Candeira wrote: >>>> >>>>> I have just updated the wiki with notes about Tim's and Chris's >>>>> prospective talks for April (web2py) and May (Pandas/Scikit). Lars is also >>>>> on in May for a What's new in Python, Pycon US edition. >>>>> >>>>> I think we have space for one more short presentation each of those >>>>> two months. Maybe not a 25 minute one, but definitely a 10 minute one. So >>>>> please come forward! >>>>> >>>>> Also, who volunteers for doing a round up of novelties in "What's new >>>>> in Python: first time we do this at MPUG edition"? >>>>> >>>>> >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> melbourne-pug mailing list >>>> melbourne-pug at python.org >>>> https://mail.python.org/mailman/listinfo/melbourne-pug >>>> >>>> >>> >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chausler at gmail.com Mon Mar 24 01:41:31 2014 From: chausler at gmail.com (Chris Hausler) Date: Mon, 24 Mar 2014 11:41:31 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) (was: Re: Speakers sought for April and May (and beyond)) In-Reply-To: References: Message-ID: Hi Javier, Sorry, could you move me to June for my talk on Pandas/Scikit? May will be the first meeting I can attend, and I'd like to scope it out a little before presenting ;-) cheers c On Mon, Mar 24, 2014 at 10:51 AM, Javier Candeira wrote: > I've updated the wiki to account for the fat that all of Tim, Chris and > Lars can talk about web2py, Pandas/Scikit and What's New in Python in May. > > April is also 2/3rds programmed now: > * Ed Schofield - What's new in Python > * Adrian Higgins -- Integrating specific hardware with Python using > existing C libraries on Windows. > > With May full, I've also almost confirmed a Python Game for June, so we > only need one talk for June. We'll also need a volunteer to present the > June What's New in Python, as it's best if the presenter for the fixed > session rotates. > > The wiki is at https://wiki.python.org/moin/MelbournePUG. Please excuse > any errors and, even better, please correct them if you find them. > > Thanks everyone, > > J > > > On Mon, Mar 10, 2014 at 9:19 PM, Javier Candeira wrote: > >> I have just updated the wiki with notes about Tim's and Chris's >> prospective talks for April (web2py) and May (Pandas/Scikit). Lars is also >> on in May for a What's new in Python, Pycon US edition. >> >> I think we have space for one more short presentation each of those two >> months. Maybe not a 25 minute one, but definitely a 10 minute one. So >> please come forward! >> >> Also, who volunteers for doing a round up of novelties in "What's new in >> Python: first time we do this at MPUG edition"? >> >> >> >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at jugglethis.net Mon Mar 24 01:53:54 2014 From: tom at jugglethis.net (Tom Allen) Date: Mon, 24 Mar 2014 11:53:54 +1100 Subject: [melbourne-pug] One speaker sought for April and June each (May is fully booked) (was: Re: Speakers sought for April and May (and beyond)) In-Reply-To: References: Message-ID: As the "python game guy" you're referring to - count me in for May. To the group - hello! I'm Tom, and I work with Graeme and Javier (and some other attendees no doubt). I used to live in Sydney and occasionally popped up in the PUG there too. In my spare time I tinker with robotics, augmented reality, and game design, all mostly in Python where possible. Cheers, Tom On 24 March 2014 11:47, Javier Candeira wrote: > Ok, can do. > > So June is prospectively fully booked, and we have an opening for May. > > I'll talk to my Python game guy, see if he can do May, but meanwhile, hey, > May has an opening! > > Seize the oportunity while it lasts, people! > > J > > > On Mon, Mar 24, 2014 at 11:41 AM, Chris Hausler wrote: > >> Hi Javier, >> >> Sorry, could you move me to June for my talk on Pandas/Scikit? >> May will be the first meeting I can attend, and I'd like to scope it out >> a little before presenting ;-) >> >> cheers >> c >> >> >> On Mon, Mar 24, 2014 at 10:51 AM, Javier Candeira wrote: >> >>> I've updated the wiki to account for the fat that all of Tim, Chris and >>> Lars can talk about web2py, Pandas/Scikit and What's New in Python in May. >>> >>> April is also 2/3rds programmed now: >>> * Ed Schofield - What's new in Python >>> * Adrian Higgins -- Integrating specific hardware with Python using >>> existing C libraries on Windows. >>> >>> With May full, I've also almost confirmed a Python Game for June, so we >>> only need one talk for June. We'll also need a volunteer to present the >>> June What's New in Python, as it's best if the presenter for the fixed >>> session rotates. >>> >>> The wiki is at https://wiki.python.org/moin/MelbournePUG. Please excuse >>> any errors and, even better, please correct them if you find them. >>> >>> Thanks everyone, >>> >>> J >>> >>> >>> On Mon, Mar 10, 2014 at 9:19 PM, Javier Candeira wrote: >>> >>>> I have just updated the wiki with notes about Tim's and Chris's >>>> prospective talks for April (web2py) and May (Pandas/Scikit). Lars is also >>>> on in May for a What's new in Python, Pycon US edition. >>>> >>>> I think we have space for one more short presentation each of those two >>>> months. Maybe not a 25 minute one, but definitely a 10 minute one. So >>>> please come forward! >>>> >>>> Also, who volunteers for doing a round up of novelties in "What's new >>>> in Python: first time we do this at MPUG edition"? >>>> >>>> >>>> >>>> >>> >>> _______________________________________________ >>> melbourne-pug mailing list >>> melbourne-pug at python.org >>> https://mail.python.org/mailman/listinfo/melbourne-pug >>> >>> >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chausler at gmail.com Mon Mar 24 02:20:53 2014 From: chausler at gmail.com (Chris Hausler) Date: Mon, 24 Mar 2014 12:20:53 +1100 Subject: [melbourne-pug] Tim sort - "Audibilised" and Visualised Message-ID: Hi All, some geekiness for monday, an "Audibilization" and Visualization of Tim sort (pythons standard sorting algorithm) https://www.youtube.com/watch?v=NVIjHj-lrT4&list=PLZh3kxyHrVp_AcOanN_jpuQbcMVdXbqei full details and the same thing done to a bunch of other sorting algorithms can be found here http://panthema.net/2013/sound-of-sorting/#video cheers chris ps. this could be old news, so apologies if it's been sent around before -------------- next part -------------- An HTML attachment was scrubbed... URL: From gus at projectgus.com Tue Mar 25 10:59:13 2014 From: gus at projectgus.com (Angus Gratton) Date: Tue, 25 Mar 2014 20:59:13 +1100 Subject: [melbourne-pug] OTS "Data Processing with Python" this Saturday Message-ID: <20140325095911.GA2851@ex2.chainxor.org> Hi melbourne-pug-ers, OpenTechSchool Melbourne is running another free Python-based workshop this coming Saturday, "Introduction to Data Processing with Python". http://www.meetup.com/OpenTechSchool-Melbourne/events/171811552/ If anyone from the Melbourne PUG community feels like coming along, either as a participant or as a coach, then they would be very welcome (as ever.) For anyone keen to do the workshop, or who knows someone that might be keen, the signup is via Meetup at the above URL. For anyone interested in coaching, please just email me directly (no specific knowledge is required outside of general Python familiarity.) Cheers, Angus