From gcross at fastmail.fm Sun Aug 3 10:03:53 2014 From: gcross at fastmail.fm (Graeme Cross) Date: Sun, 03 Aug 2014 18:03:53 +1000 Subject: [melbourne-pug] Reminder: MPUG is on August 11th (not the 4th) Message-ID: <1407053033.2662551.148545890.5D2F3294@webmail.messagingengine.com> Hello everyone. Just a reminder that this month's MPUG meeting is going to be on the *second* Monday this month (August 11), so it doesn't clash with PyCon AU, which is on at the moment in Brisbane. See you in a week's time. Regards Graeme From javier at candeira.com Mon Aug 4 12:21:38 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 4 Aug 2014 20:21:38 +1000 Subject: [melbourne-pug] Reminder: MPUG is on August 11th (not the 4th) In-Reply-To: <1407053033.2662551.148545890.5D2F3294@webmail.messagingengine.com> References: <1407053033.2662551.148545890.5D2F3294@webmail.messagingengine.com> Message-ID: Here's the provisional programme for both the August 11 meeting and the September 1 meeting, pasted straight-ish from the wiki: '''Monday, 11 August 2014, 6:00p.m.''' at ''Inspire 9: Level 1, 41 Stewart Street, Richmond.'' '''Special Session''' * MPUG Community -- What's New in Python, Pycon Australia and SciPy 2014 Edition: * Juan Nu?ez Iglesias - What happened at SciPy 2014 * Rory Hart - Python Micro-Service Architecture * To_be_confirmed - Yet Another Awesome Talk from Pycon '''Monday, 1 September 2014, 6:00p.m.''' at ''Inspire 9: Level 1, 41 Stewart Street, Richmond.'' * Javier Candeira -- What's New in Python, September Edition * Jason King -- BDD using Behave with Quicksilver * Andy Kitchen -- Bolzmann Machines with Theano and AWS As always, two notes: - 5 minute lightning talks are always welcome. - if you have anything you'd like to talk about at greater length, please come forward in person or on the mailing list! We are already programming the presentations for the October session, and it's quite a pleasure to be ahead of the calendar and not have to chase people asking them please to come talk to MPUG. Cheers, Javier On Sun, Aug 3, 2014 at 6:03 PM, Graeme Cross wrote: > Hello everyone. > > Just a reminder that this month's MPUG meeting is going to be on the > *second* Monday this month (August 11), so it doesn't clash with PyCon > AU, which is on at the moment in Brisbane. > > See you in a week's time. > > Regards > Graeme > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug From lex.lists at gmail.com Thu Aug 7 01:24:17 2014 From: lex.lists at gmail.com (Lex H) Date: Thu, 7 Aug 2014 09:24:17 +1000 Subject: [melbourne-pug] South talk in Melbourne tonight Message-ID: Looks like the south author is giving his talk about getting schema migrations into Django 1.7 at the MelbDjango meetup tonight, in case any one was interested: http://www.meetup.com/MelbDjango/events/199305012/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at microcomaustralia.com.au Thu Aug 7 02:04:07 2014 From: brian at microcomaustralia.com.au (Brian May) Date: Thu, 7 Aug 2014 10:04:07 +1000 Subject: [melbourne-pug] South talk in Melbourne tonight In-Reply-To: References: Message-ID: On 7 August 2014 09:24, Lex H wrote: > Looks like the south author is giving his talk about getting schema > migrations into Django 1.7 at the MelbDjango meetup tonight, in case any > one was interested: > > http://www.meetup.com/MelbDjango/events/199305012/ > I thought that was a good talk at the PyConAu Django miniconf. -- Brian May -------------- next part -------------- An HTML attachment was scrubbed... URL: From gcross at fastmail.fm Thu Aug 7 03:24:55 2014 From: gcross at fastmail.fm (Graeme Cross) Date: Thu, 07 Aug 2014 11:24:55 +1000 Subject: [melbourne-pug] South talk in Melbourne tonight In-Reply-To: References: Message-ID: <1407374695.612036.149996394.0A632E75@webmail.messagingengine.com> On Thu, 7 Aug 2014, at 10:04 AM, Brian May wrote: On 7 August 2014 09:24, Lex H <[1]lex.lists at gmail.com> wrote: Looks like the south author is giving his talk about getting schema migrations into Django 1.7 at the MelbDjango meetup tonight, in case any one was interested: [2]http://www.meetup.com/MelbDjango/events/199305012/ I thought that was a good talk at the PyConAu Django miniconf. -- Brian May <[3]brian at microcomaustralia.com.au> I was at the science miniconf, so missed Andrew's talk there, but I did get to his talk at the main conference about "small data" and it was an interesting and well presented talk. If you are free tonight, I would recommend going along: [4]http://2014.pycon-au.org/schedule/30014/view_talk?day=sunday Regards, Graeme References 1. mailto:lex.lists at gmail.com 2. http://www.meetup.com/MelbDjango/events/199305012/ 3. mailto:brian at microcomaustralia.com.au 4. http://2014.pycon-au.org/schedule/30014/view_talk?day=sunday -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Sun Aug 10 07:42:06 2014 From: javier at candeira.com (Javier Candeira) Date: Sun, 10 Aug 2014 15:42:06 +1000 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 Message-ID: '''Monday, 11 August 2014, 6:00p.m.''' at ''Inspire 9: Level 1, 41 Stewart Street, Richmond.'' '''Special Session''' * MPUG Community -- What's New in Python, Pycon Australia and SciPy 2014 Edition: * Juan Nu?ez Iglesias - What happened at SciPy 2014 * Rory Hart - Python Micro-Service Architecture * To_be_confirmed - Yet Another Awesome Talk from Pycon * Javier Candeira - Something they told us not to do at Pycon but then I went and did it anyway (lightning talk - 5 minutes) '''Monday, 1 September 2014, 6:00p.m.''' at ''Inspire 9: Level 1, 41 Stewart Street, Richmond.'' * Javier Candeira -- What's New in Python, September Edition * Jason King -- BDD using Behave with Quicksilver * Andy Kitchen -- Bolzmann Machines with Theano and AWS From javier at candeira.com Sun Aug 10 08:49:38 2014 From: javier at candeira.com (Javier Candeira) Date: Sun, 10 Aug 2014 16:49:38 +1000 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 In-Reply-To: References: Message-ID: I forgot to say: please put your hands up for the October session and going forward! J On 8/10/14, Javier Candeira wrote: > '''Monday, 11 August 2014, 6:00p.m.''' at ''Inspire 9: Level 1, 41 > Stewart Street, Richmond.'' > > '''Special Session''' > > * MPUG Community -- What's New in Python, Pycon Australia and SciPy > 2014 Edition: > * Juan Nu?ez Iglesias - What happened at SciPy 2014 > * Rory Hart - Python Micro-Service Architecture > * To_be_confirmed - Yet Another Awesome Talk from Pycon > * Javier Candeira - Something they told us not to do at Pycon but > then I went and did it anyway (lightning talk - 5 minutes) > > '''Monday, 1 September 2014, 6:00p.m.''' at ''Inspire 9: Level 1, 41 > Stewart Street, Richmond.'' > > * Javier Candeira -- What's New in Python, September Edition > * Jason King -- BDD using Behave with Quicksilver > * Andy Kitchen -- Bolzmann Machines with Theano and AWS > From miked at dewhirst.com.au Mon Aug 11 02:34:31 2014 From: miked at dewhirst.com.au (Mike Dewhirst) Date: Mon, 11 Aug 2014 10:34:31 +1000 Subject: [melbourne-pug] OS license requirements Message-ID: <53E80F97.8030008@dewhirst.com.au> Apologies for cross-posting I'm getting near to open sourcing a Django project and have to choose an appropriate license. Can anyone help me choose? I have settled on the following requirements ... 1. Project source must be freely available for end users to view and download and modify and further distribute to others 2. But if user modified source is distributed the modified source must be freely available for others to view and download and modify and be subject to the identical license as the project source 3. However, if the user modified source is kept in-house and not further distributed the changed source may be kept private or offered back to the project as a patch at the whim of that user. 4. Project (and user modified) source may be combined with proprietary software but the project (or user mofified) source component remains subject to the same license. It cannot be distributed as a combined whole under any other license than the project license. 5. But it can be distributed as a combined whole with proprietary software provided the project (or user modified) source component is freely available for end users to view and download and further distribute to others under the project license even if the proprietary component is not. BTW, Django doesn't require that my project use the Django license and of course I won't be distributing Django. I'm leaning towards the LGPL but would appreciate feedback from anyone with contrary views. Thanks Mike From ben+python at benfinney.id.au Mon Aug 11 02:48:21 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Mon, 11 Aug 2014 10:48:21 +1000 Subject: [melbourne-pug] OS license requirements References: <53E80F97.8030008@dewhirst.com.au> Message-ID: <85mwbb97hm.fsf@benfinney.id.au> Mike Dewhirst writes: > I'm getting near to open sourcing a Django project and have to choose > an appropriate license. Can anyone help me choose? Thank you for working to release the software under free terms. > I have settled on the following requirements ... > > 1. Project source must be freely available for end users to view and > download and modify and further distribute to others These are essential to free software. > 2. But if user modified source is distributed the modified source must > be freely available for others to view and download and modify and be > subject to the identical license as the project source This makes the license a ?copyleft?: the recipient is free to redistribute only under terms with all the same freedoms. > 3. However, if the user modified source is kept in-house and not > further distributed the changed source may be kept private or offered > back to the project as a patch at the whim of that user. Fine. It's not at all clear copyright even applies to modifications if they're not redistributed to others; you can assume this is permitted in any free software license. > 4. Project (and user modified) source may be combined with proprietary > software but the project (or user mofified) source component remains > subject to the same license. As you describe this, it is an oxymoron. Complying with the terms above makes the work free, not proprietary. A free work distributed under non-free terms (?proprietary?) is not free. So I don't understand what it is you want with this. Either you want to require redistributino under free terms, or you want further restrictions to be allowed. Which? > I'm leaning towards the LGPL but would appreciate feedback from anyone > with contrary views. Based on your stated requirements, I would advice you to license the work under ?GNU GPL version 3 or later?, but you'll need to clarify what appear to be incompatible constraints. -- \ ?Don't fight forces, use them.? ?Richard Buckminster Fuller, | `\ _Shelter_, 1932 | _o__) | Ben Finney From henry.walshaw at gmail.com Mon Aug 11 02:50:32 2014 From: henry.walshaw at gmail.com (Henry Walshaw) Date: Mon, 11 Aug 2014 10:50:32 +1000 Subject: [melbourne-pug] OS license requirements In-Reply-To: <53E80F97.8030008@dewhirst.com.au> References: <53E80F97.8030008@dewhirst.com.au> Message-ID: It sounds pretty close to LGPL. But maybe have a play with TLDRLegal ( https://tldrlegal.com/ ) which is a nice way to look at and search for licenses (see the LGPL license @ https://tldrlegal.com/license/gnu-lesser-general-public-license-v2.1-(lgpl-2.1) ). Something that I only saw when I took a look at it this morning is they've now got a reverse search which will let you drop in license conditions and return licenses that match, which might also fit your bill. Regards, -Henry On 11 August 2014 10:34, Mike Dewhirst wrote: > Apologies for cross-posting > > I'm getting near to open sourcing a Django project and have to choose an > appropriate license. Can anyone help me choose? > > I have settled on the following requirements ... > > 1. Project source must be freely available for end users to view and > download and modify and further distribute to others > > 2. But if user modified source is distributed the modified source must be > freely available for others to view and download and modify and be subject > to the identical license as the project source > > 3. However, if the user modified source is kept in-house and not further > distributed the changed source may be kept private or offered back to the > project as a patch at the whim of that user. > > 4. Project (and user modified) source may be combined with proprietary > software but the project (or user mofified) source component remains > subject to the same license. It cannot be distributed as a combined whole > under any other license than the project license. > > 5. But it can be distributed as a combined whole with proprietary software > provided the project (or user modified) source component is freely > available for end users to view and download and further distribute to > others under the project license even if the proprietary component is not. > > BTW, Django doesn't require that my project use the Django license and of > course I won't be distributing Django. > > I'm leaning towards the LGPL but would appreciate feedback from anyone > with contrary views. > > Thanks > > Mike > _______________________________________________ > 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 pete at flooble.net Mon Aug 11 04:13:15 2014 From: pete at flooble.net (Peter Wright) Date: Mon, 11 Aug 2014 10:13:15 +0800 Subject: [melbourne-pug] OS license requirements In-Reply-To: <85mwbb97hm.fsf@benfinney.id.au> References: <53E80F97.8030008@dewhirst.com.au> <85mwbb97hm.fsf@benfinney.id.au> Message-ID: <20140811021315.GQ29239@flooble.net> On 11/08 10:48:21, Ben Finney wrote: > Mike Dewhirst writes: > > 3. However, if the user modified source is kept in-house and not > > further distributed the changed source may be kept private or > > offered back to the project as a patch at the whim of that user. > > Fine. It's not at all clear copyright even applies to modifications > if they're not redistributed to others; [ snip ] It's worth noting that (as Ben implies) the ?distribution? concept is fairly important. You could quite happily license your software as GPL and someone else would still be able to modify it and even sell access to its enhanced(?) functionality over a web service, *without* needing to make their changes available at all. It's only if they wanted to distribute that software outside their organisation that the GPL requirements start to apply. For web software, this can be a bit of a loophole. :-) The Affero GPL attempts to close this loophole. I don't *think* you'd want to use it, but you might find it worth a look to make sure: https://en.wikipedia.org/wiki/Affero_General_Public_License Pete. -- Real programmers don't draw flowcharts. Flowcharts are, after all, the illiterate's form of documentation. Cavemen drew flowcharts; look how much good it did them. From miked at dewhirst.com.au Mon Aug 11 06:38:25 2014 From: miked at dewhirst.com.au (Mike Dewhirst) Date: Mon, 11 Aug 2014 14:38:25 +1000 Subject: [melbourne-pug] OS license requirements In-Reply-To: <85mwbb97hm.fsf@benfinney.id.au> References: <53E80F97.8030008@dewhirst.com.au> <85mwbb97hm.fsf@benfinney.id.au> Message-ID: <53E848C1.10605@dewhirst.com.au> On 11/08/2014 10:48 AM, Ben Finney wrote: > Mike Dewhirst writes: > >> I'm getting near to open sourcing a Django project and have to choose >> an appropriate license. Can anyone help me choose? > > Thank you for working to release the software under free terms. > >> I have settled on the following requirements ... >> >> 1. Project source must be freely available for end users to view and >> download and modify and further distribute to others > > These are essential to free software. > >> 2. But if user modified source is distributed the modified source must >> be freely available for others to view and download and modify and be >> subject to the identical license as the project source > > This makes the license a ???copyleft???: the recipient is free to > redistribute only under terms with all the same freedoms. > >> 3. However, if the user modified source is kept in-house and not >> further distributed the changed source may be kept private or offered >> back to the project as a patch at the whim of that user. > > Fine. It's not at all clear copyright even applies to modifications if > they're not redistributed to others; you can assume this is permitted in > any free software license. > >> 4. Project (and user modified) source may be combined with proprietary >> software but the project (or user mofified) source component remains >> subject to the same license. > > As you describe this, it is an oxymoron. Complying with the terms above > makes the work free, not proprietary. A free work distributed under > non-free terms (???proprietary???) is not free. My software will need to interface with unknown other systems on other platforms than the server platform I provide. If someone else wants to distribute their (unknown to me) system with mine interfaced, I don't wish to prevent that. If the other user doesn't want to use my license they have to dual-license and specify my license for my software. Their license might be proprietary and their component might be closed source. If they modify my source I want that to be freely available. > > So I don't understand what it is you want with this. Either you want to > require redistributino under free terms, or you want further > restrictions to be allowed. Which? > >> I'm leaning towards the LGPL but would appreciate feedback from anyone >> with contrary views. > > Based on your stated requirements, I would advice you to license the > work under ???GNU GPL version 3 or later???, but you'll need to clarify what > appear to be incompatible constraints. > From miked at dewhirst.com.au Mon Aug 11 08:33:45 2014 From: miked at dewhirst.com.au (Mike Dewhirst) Date: Mon, 11 Aug 2014 16:33:45 +1000 Subject: [melbourne-pug] OS license requirements In-Reply-To: <53E84A5B.2050806@gmail.com> References: <53E84A5B.2050806@gmail.com> Message-ID: <53E863C9.5090400@dewhirst.com.au> On 11/08/2014 2:45 PM, Oliver Nagy wrote: > Hi Mike, > > I do not seem to be able to post to the list, so here is a private > reply. > > I believe you want the Mozilla Public License. It is similar in > spirit to the LGPL but allows your code to be freely mixed with other > (proprietary) code. > > You can find the license here https://www.mozilla.org/MPL/ > > A useful explanation is here: > http://en.wikipedia.org/wiki/Mozilla_Public_License. > > And a brief discussion about the differences between LGPL and MPL is > here: > > http://programmers.stackexchange.com/questions/221365/mozilla-public-license-mpl-2-0-vs-lesser-gnu-general-public-license-lgpl-3-0 It certainly seems more permissive from a technical perspective. However, not being compiled software, I can't see much effective difference between the two licenses with respect to dynamic and static linking. The advice which seems worth thinking about the most is whether the Free Software Foundation or the Mozilla Foundation will help if their license is breached. Not sure there - although I am aware of FSF efforts in Europe. Thanks Oli Mike > > > > Good luck! > > Best, Oli > From pizza at netspace.net.au Mon Aug 11 09:29:15 2014 From: pizza at netspace.net.au (Jason King) Date: Mon, 11 Aug 2014 17:29:15 +1000 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 In-Reply-To: References: Message-ID: <53E870CB.2080206@netspace.net.au> On 10/08/14 15:42, Javier Candeira wrote: > * Jason King -- BDD using Behave with Quicksilver > no javier! bad javier!. its selenium http://periodictable.com/Samples/034.12/s9s.JPG http://periodictable.com/Samples/034.21/s7s.JPG not quicksilver/mercury http://periodictable.com/Samples/080.14/s9s.JPG http://imgur.com/JMJ9vne completely different substances. From javier at candeira.com Mon Aug 11 10:38:16 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 11 Aug 2014 18:38:16 +1000 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 In-Reply-To: <53E870CB.2080206@netspace.net.au> References: <53E870CB.2080206@netspace.net.au> Message-ID: Argh, for my sins, I repasted from the previous email with the mistake! At least the wiki was already amended. Apologies again from this penitent, J On Mon, Aug 11, 2014 at 5:29 PM, Jason King wrote: > On 10/08/14 15:42, Javier Candeira wrote: >> >> * Jason King -- BDD using Behave with Quicksilver >> > > no javier! bad javier!. its selenium > http://periodictable.com/Samples/034.12/s9s.JPG > http://periodictable.com/Samples/034.21/s7s.JPG > > not quicksilver/mercury > http://periodictable.com/Samples/080.14/s9s.JPG > http://imgur.com/JMJ9vne > > completely different substances. > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug From jni.soma at gmail.com Mon Aug 11 13:22:13 2014 From: jni.soma at gmail.com (Juan Nunez-Iglesias) Date: Mon, 11 Aug 2014 21:22:13 +1000 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 In-Reply-To: References: <53E870CB.2080206@netspace.net.au> Message-ID: Hi all, Apologies that I had to run -- had to catch a train home (Geelong) that was subsequently cancelled! =\ Nick, sux might be my favourite name for a library, ever. And it is simply amazing that it works so well! =) Thanks everyone for listening and I hope to chat on 1/9! Or feel free to get in touch beforehand if you want to discuss anything and everything. Juan. On Mon, Aug 11, 2014 at 6:38 PM, Javier Candeira wrote: > Argh, for my sins, I repasted from the previous email with the mistake! > > At least the wiki was already amended. > > Apologies again from this penitent, > > J > > > > On Mon, Aug 11, 2014 at 5:29 PM, Jason King wrote: > > On 10/08/14 15:42, Javier Candeira wrote: > >> > >> * Jason King -- BDD using Behave with Quicksilver > >> > > > > no javier! bad javier!. its selenium > > http://periodictable.com/Samples/034.12/s9s.JPG > > http://periodictable.com/Samples/034.21/s7s.JPG > > > > not quicksilver/mercury > > http://periodictable.com/Samples/080.14/s9s.JPG > > http://imgur.com/JMJ9vne > > > > completely different substances. > > _______________________________________________ > > 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 Aug 11 13:37:13 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 11 Aug 2014 21:37:13 +1000 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 In-Reply-To: References: <53E870CB.2080206@netspace.net.au> Message-ID: Gracias, Juan! Thanks also Rory and Nick for their presentations, and Mike for shouting us beer. We are now looking for presentations for November (there is one slot in October that is only penciled in, but I'm hoping for confirmation). I know, it looks like a long time, but think of this: you have two months and three weeks to prepare! J On Mon, Aug 11, 2014 at 9:22 PM, Juan Nunez-Iglesias wrote: > Hi all, > > Apologies that I had to run ? had to catch a train home (Geelong) that was > subsequently cancelled! =\ > > Nick, sux might be my favourite name for a library, ever. And it is simply > amazing that it works so well! =) > > Thanks everyone for listening and I hope to chat on 1/9! Or feel free to get > in touch beforehand if you want to discuss anything and everything. > > Juan. > > > On Mon, Aug 11, 2014 at 6:38 PM, Javier Candeira > wrote: >> >> Argh, for my sins, I repasted from the previous email with the mistake! >> >> At least the wiki was already amended. >> >> Apologies again from this penitent, >> >> J >> >> >> >> On Mon, Aug 11, 2014 at 5:29 PM, Jason King wrote: >> > On 10/08/14 15:42, Javier Candeira wrote: >> >> >> >> * Jason King -- BDD using Behave with Quicksilver >> >> >> > >> > no javier! bad javier!. its selenium >> > http://periodictable.com/Samples/034.12/s9s.JPG >> > http://periodictable.com/Samples/034.21/s7s.JPG >> > >> > not quicksilver/mercury >> > http://periodictable.com/Samples/080.14/s9s.JPG >> > http://imgur.com/JMJ9vne >> > >> > completely different substances. >> > _______________________________________________ >> > 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 > From za at python.or.id Mon Aug 11 13:54:06 2014 From: za at python.or.id (Zaki Akhmad) Date: Mon, 11 Aug 2014 18:54:06 +0700 Subject: [melbourne-pug] MPUG meeting tomorrow, 11 August, 6pm, Inspire 9 In-Reply-To: References: <53E870CB.2080206@netspace.net.au> Message-ID: Gracias Javier and everyone. It was my first Python meetup in Melbourne. Cheers, -- Zaki Akhmad PlanPin | Planet Python Indonesia http://planet.python.or.id -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at greenberg.pro Mon Aug 11 16:52:08 2014 From: paul at greenberg.pro (Paul Greenberg) Date: Mon, 11 Aug 2014 14:52:08 +0000 Subject: [melbourne-pug] OS license requirements In-Reply-To: <1fbc42b4-7f95-4d70-8a96-acd79ae27844@googlegroups.com> References: <53E80F97.8030008@dewhirst.com.au>, <1fbc42b4-7f95-4d70-8a96-acd79ae27844@googlegroups.com> Message-ID: <1407768703501.74668@greenberg.pro> Perhaps, OSL would work better in this case? http://en.wikipedia.org/wiki/Open_Software_License Open Software License The Open Software License (OSL) is a software license created by Lawrence Rosen. The Open Source Initiative (OSI) has certified it as an open-source license... Read more... ________________________________ From: django-users at googlegroups.com on behalf of Collin Anderson Sent: Monday, August 11, 2014 9:45 AM To: django-users at googlegroups.com Cc: melbourne-pug at python.org Subject: Re: OS license requirements LGPL sounds the closest to me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe at googlegroups.com. To post to this group, send email to django-users at googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1fbc42b4-7f95-4d70-8a96-acd79ae27844%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From olitheolix at gmail.com Mon Aug 11 05:00:10 2014 From: olitheolix at gmail.com (Oliver Nagy) Date: Mon, 11 Aug 2014 13:00:10 +1000 Subject: [melbourne-pug] OS license requirements In-Reply-To: <53E80F97.8030008@dewhirst.com.au> References: <53E80F97.8030008@dewhirst.com.au> Message-ID: <53E831BA.8090506@gmail.com> Hi Mike, if you are leaning towards the LGPL you may want to consider the Mozilla Public License as well. Both licenses are similar in spirit but the MPL makes code mixing with differently licensed projects easier (Point 4 in your list). For license details see https://www.mozilla.org/MPL/ or http://en.wikipedia.org/wiki/Mozilla_Public_License. A brief discussion about the differences between LGPL and MPL is available here: http://programmers.stackexchange.com/questions/221365/mozilla-public-license-mpl-2-0-vs-lesser-gnu-general-public-license-lgpl-3-0 Best, Oli On 11/08/14 10:34, Mike Dewhirst wrote: > Apologies for cross-posting > > I'm getting near to open sourcing a Django project and have to choose an > appropriate license. Can anyone help me choose? > > I have settled on the following requirements ... > > 1. Project source must be freely available for end users to view and download > and modify and further distribute to others > > 2. But if user modified source is distributed the modified source must be freely > available for others to view and download and modify and be subject to the > identical license as the project source > > 3. However, if the user modified source is kept in-house and not further > distributed the changed source may be kept private or offered back to the > project as a patch at the whim of that user. > > 4. Project (and user modified) source may be combined with proprietary software > but the project (or user mofified) source component remains subject to the same > license. It cannot be distributed as a combined whole under any other license > than the project license. > > 5. But it can be distributed as a combined whole with proprietary software > provided the project (or user modified) source component is freely available for > end users to view and download and further distribute to others under the > project license even if the proprietary component is not. > > BTW, Django doesn't require that my project use the Django license and of course > I won't be distributing Django. > > I'm leaning towards the LGPL but would appreciate feedback from anyone with > contrary views. > > Thanks > > Mike > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug From cmawebsite at gmail.com Mon Aug 11 15:45:36 2014 From: cmawebsite at gmail.com (Collin Anderson) Date: Mon, 11 Aug 2014 06:45:36 -0700 (PDT) Subject: [melbourne-pug] OS license requirements In-Reply-To: <53E80F97.8030008@dewhirst.com.au> References: <53E80F97.8030008@dewhirst.com.au> Message-ID: <1fbc42b4-7f95-4d70-8a96-acd79ae27844@googlegroups.com> LGPL sounds the closest to me. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony.briggs at gmail.com Tue Aug 12 03:46:37 2014 From: anthony.briggs at gmail.com (Anthony Briggs) Date: Tue, 12 Aug 2014 11:46:37 +1000 Subject: [melbourne-pug] List courtesy Message-ID: Hi All, Just as a courtesy to us list admins, would you mind posting to the list with the address that you used to subscribe? I had a bunch waiting for me this morning - it'll mean that your email will be seen sooner, and save us some time. Thanks, Anthony -------------- next part -------------- An HTML attachment was scrubbed... URL: From ed at pythoncharmers.com Tue Aug 12 06:35:57 2014 From: ed at pythoncharmers.com (Ed Schofield) Date: Tue, 12 Aug 2014 14:35:57 +1000 Subject: [melbourne-pug] Python jobs Message-ID: Hi guys, I have been asked to post a Python job to this list: - Software Developer: Python / Django, Primary Health Care, Ballarat: http://www.seek.com.au/job/26965709 Please contact the company if you?re interested! Cheers, Ed -- Dr. Edward Schofield Python Charmers +61 (0)405 676 229 http://pythoncharmers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From noonslists at gmail.com Tue Aug 12 06:47:01 2014 From: noonslists at gmail.com (Noon Silk) Date: Tue, 12 Aug 2014 14:47:01 +1000 Subject: [melbourne-pug] OS license requirements In-Reply-To: <1407768703501.74668@greenberg.pro> References: <53E80F97.8030008@dewhirst.com.au> <1fbc42b4-7f95-4d70-8a96-acd79ae27844@googlegroups.com> <1407768703501.74668@greenberg.pro> Message-ID: There's also this: - https://github.com/pygy/The-Romantic-WTF-Public-License On Tue, Aug 12, 2014 at 12:52 AM, Paul Greenberg wrote: > Perhaps, OSL would work better in this case? > > > http://en.wikipedia.org/wiki/Open_Software_License > Open Software License > The Open Software License (OSL) is a software license created by Lawrence > Rosen. The Open Source Initiative (OSI) has certified it as an open-source > license... > Read more... > > > ------------------------------ > *From:* django-users at googlegroups.com on > behalf of Collin Anderson > *Sent:* Monday, August 11, 2014 9:45 AM > *To:* django-users at googlegroups.com > *Cc:* melbourne-pug at python.org > *Subject:* Re: OS license requirements > > LGPL sounds the closest to me. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscribe at googlegroups.com. > To post to this group, send email to django-users at googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/1fbc42b4-7f95-4d70-8a96-acd79ae27844%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -- Noon Silk, ? https://sites.google.com/site/noonsilk/ "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 Aug 12 07:07:12 2014 From: tleeuwenburg at gmail.com (Tennessee Leeuwenburg) Date: Tue, 12 Aug 2014 15:07:12 +1000 Subject: [melbourne-pug] OS license requirements In-Reply-To: References: <53E80F97.8030008@dewhirst.com.au> <1fbc42b4-7f95-4d70-8a96-acd79ae27844@googlegroups.com> <1407768703501.74668@greenberg.pro> Message-ID: Hi Mike, I always go first to the Apache 2 license. It might not meet your needs, but it's pretty flexible and reasonably specific. One reason to choose any of the major licenses already listed is that it is probably going to be more reliable than a hand-crafted license that people are unfamiliar with. On Tue, Aug 12, 2014 at 2:47 PM, Noon Silk wrote: > There's also this: > - https://github.com/pygy/The-Romantic-WTF-Public-License > > > On Tue, Aug 12, 2014 at 12:52 AM, Paul Greenberg > wrote: > >> Perhaps, OSL would work better in this case? >> >> >> http://en.wikipedia.org/wiki/Open_Software_License >> Open Software License >> The Open Software License (OSL) is a software license created by >> Lawrence Rosen. The Open Source Initiative (OSI) has certified it as an >> open-source license... >> Read more... >> >> >> ------------------------------ >> *From:* django-users at googlegroups.com on >> behalf of Collin Anderson >> *Sent:* Monday, August 11, 2014 9:45 AM >> *To:* django-users at googlegroups.com >> *Cc:* melbourne-pug at python.org >> *Subject:* Re: OS license requirements >> >> LGPL sounds the closest to me. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscribe at googlegroups.com. >> To post to this group, send email to django-users at googlegroups.com. >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/1fbc42b4-7f95-4d70-8a96-acd79ae27844%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > > > -- > Noon Silk, ? > > https://sites.google.com/site/noonsilk/ > > "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 ben+python at benfinney.id.au Wed Aug 13 00:34:44 2014 From: ben+python at benfinney.id.au (Ben Finney) Date: Wed, 13 Aug 2014 08:34:44 +1000 Subject: [melbourne-pug] OS license requirements References: <53E80F97.8030008@dewhirst.com.au> <1fbc42b4-7f95-4d70-8a96-acd79ae27844@googlegroups.com> <1407768703501.74668@greenberg.pro> Message-ID: <854mxh8hh7.fsf@benfinney.id.au> Noon Silk writes: > There's also this: > - https://github.com/pygy/The-Romantic-WTF-Public-License While it's natural for people who like programming to also experiment with writing their own license texts, it is to be strongly discouraged. Please, do not consider the license landscape to be an open banquet. The vast majority of lesser-known license texts out there are poor choices. Law does *not* work according to pure logic, and the ramifications of a particular license text can be both confusing, seemingly-nonsensical, *and* real nevertheless. We non-lawyers are not experts in discerning the many effects of a license text, and we should not be choosing a license merely because it seems to say what we want. Worse, the effects of a license for software have ramifications beyond one's own work: the recipient will often want to combine several works, and needs to satisfy all the licenses simultaneously. A little-known license will more often make this onerous or impossible, simply because it has not been tested as widely in combination with others. When choosing a license for software, please, choose one of the very widely-understood and widely-implemented free software licenses: the GNU licenses (GPL v3 ?or, at your option, any later version?); the Apache License 2.0; the Expat (sometimes called ?MIT?) license; the 2-clause BSD license. Others are a distant lower option, *because* they're less widely used. -- \ ?I do not believe in forgiveness as it is preached by the | `\ church. We do not need the forgiveness of God, but of each | _o__) other and of ourselves.? ?Robert G. Ingersoll | Ben Finney From brian at python.org Thu Aug 14 04:58:07 2014 From: brian at python.org (Brian Curtin) Date: Thu, 14 Aug 2014 02:58:07 -0000 Subject: [melbourne-pug] PyCon 2015 Call for Proposals is open! Message-ID: Hi Melbourne Python Users Group! The PyCon organizers invite you to submit proposals for talks, tutorials, and posters to be presented at PyCon 2015 - https://us.pycon.org/2015/. The conference takes place April 8-16 in Montreal, Queubec, Canada and we'll be accepting talk and tutorial proposals through September 15, with posters accepted through November 1! We want everyone to be a part of making PyCon what it is, which is why we invite everyone to submit proposals, and we invite everyone to be a part of the program committee. It's your PyCon, not mine. Whether you started with Python yesterday or you've been writing it since the 90s, everyone has different experiences, different knowledge, and a different story to tell. This is why we aim to strike a balance between beginner, intermediate, and advanced talks. We want the entire community to level up as a result of PyCon. Over the years, we've put together proposal resources and advice to help answer some common topics surrounding our CFP (https://us.pycon.org/2015/speaking/proposal-resources/). We even put together a sample proposal and reviewed it for you at https://us.pycon.org/2015/speaking/proposal_advice/samples/SpacePug/. If you have any questions or tips that may help others, please email them to pycon-pc at python.org, or feel free to respond and I'll help you out. The full details of our Call for Proposals are available at https://us.pycon.org/2015/speaking/cfp/. Keep an eye on that page as well as https://twitter.com/pycon and http://pycon.blogspot.com/ for details about ticket sales, financial aid, and more PyCon news! Thanks for your time! Brian Curtin, brian at python.org Publicity Coordinator, PyCon 2015 From javier at candeira.com Thu Aug 14 08:41:55 2014 From: javier at candeira.com (Javier Candeira) Date: Thu, 14 Aug 2014 16:41:55 +1000 Subject: [melbourne-pug] MPUG venue sponsorship thanks and other thanks Message-ID: On Monday, I forgot to thank Planet Innovation for the use of the venue. Last month Inspire 9 started charging us a fee for the space, and different companies will be paying for MPUG to be able to stay there. Planet Innovation is the first of them, so thanks, PI! And thanks again to all the speakers, and to Mike Dewhirst for bringing beer. You are a gentleman! Since I am in public announcement mode, let me remind you that we are always looking for speakers, and you don't have to be the author of the library or project you present. If you've used it last week, and you found it was good, we'd like to hear about it. Thanks in advance! Cheers, The MPUG organisers. From tom at eastman.net.nz Fri Aug 15 08:00:01 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Fri, 15 Aug 2014 18:00:01 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: One month to go! Message-ID: <53EDA1E1.7020303@eastman.net.nz> Time flies! And it's now just under one month until Kiwi PyCon 2014 kicks off on the 12 of September in Newtown, Wellington. We have a couple things to get through in today's update: * Registration and tutorials * Accommodation! * Financial aid * Dinner plans Registration and tutorials ========================== (tl; dr: act *now* to get the last tutorial spots! And register soon for the main event!) We're thrilled to see the registration numbers climb -- as of this minute we've already sold almost almost half our tickets and the number is climbing by the hour. If you *are* intending to come to Kiwi PyCon, don't delay but register as soon as you can! Our ticket prices are so cheap that it's hard to incentivise early sales (there's no point in having an 'early-bird' price when the main price is so affordable!), but if you register early you're really doing us a favour by helping us confirm numbers and solidify our plans. Eventually there *will* be some firm deadlines, for example: "register before XXXX or you won't be guaranteed a T-Shirt in your size". Or you might even miss out on catering! We'll warn you when we're about to bump into one of those deadlines, but please, if you're going to come to Kiwi PyCon, tell us sooner rather than later! As for tutorials -- you're very nearly out of luck! As I write this two tutorials are sold out, one has six places left, and the other has exactly ONE spot left (Maybe you should go and register for it then keep reading...). The registration details are all at: http://kiwi.pycon.org/registration/ Better head there now, sign up, and then come back and read the rest. Accommodation! ============== (tl; dr: Book your accommodation soon soon like now soon we can't emphasize it enough kind of yesterday soon) On the weekend of the 12th of September there is not only the best Python conference ever happening, but also an All Blacks vs South Africa match. Hotels and accommodation are filling up fast! Wellington is not a small town but it's going to be filled to the brim. (Not to mention, with the general election the next week all sorts of other characters might be flitting into town) The Kiwi PyCon team have managed to reserve sets of rooms at two hotels -- one in Kilburnie and one a bit out of town at Lower Hutt. The Kilburnie hotel is a short bus ride to the venue, and the Angus Hotel (Lower Hutt) is a longer ride but we'll be chartering a bus to and from the hotel. However, you need to know that we can only hold onto these blocked bookings for about another week. After that they will be released again to be snapped up by the general non-Pythonista public, and we want to make sure you all have a place to stay before that happens! Head to http://kiwi.pycon.org/accommodation/ for the details on some hotels, don't wait till the week before the conference! Financial Aid ============= (tl; dr: If you want to come but don't think you can afford it, ask for help!) Once again this year, Kiwi PyCon has launched a financial aid program for those who wish to come to Kiwi PyCon but are worried about being able to afford it. The details are all online at http://kiwi.pycon.org/financial-aid/ but the low-down is: send an email to kiwipycon at nzpug.org with "Application for Financial Aid" with a brief rundown on who you are and what sort of assistance you're hoping to get, that is: we want to know if you just need help paying for the ticket, or if you need help with flights, or accommodation, or any combination of the above. If you: - want to come to Kiwi PyCon, and - are not sure if you can, and - are not sure if you're the sort of person who can apply for financial aid, then: let me answer: you are EXACTLY the sort of person who can apply for financial aid. Dinner Plans ============ (tl; dr: Announcement and a new event on the registration page coming soon!) The conference dinner will be on Saturday night, the final details are being pinned down now. We'll send out an announcement when the registration for the dinner opens, along with the details about time and location. That's it for this edition, but look look out soon for some more announcements in the works! See you all soon! Tom On behalf of the New Zealand Python User Group and the Kiwi PyCon team. From tom at eastman.net.nz Sun Aug 17 05:54:23 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Sun, 17 Aug 2014 15:54:23 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: Dinner ticket on sale now Message-ID: <53F0276F.5050000@eastman.net.nz> The New Zealand Python User Group and the Kiwi PyCon 2014 team are pleased to announce that tickets are now on sale for the Kiwi PyCon Conference dinner, to be held on Saturday the 13th of September. The venue for this year's conference dinner is Ozeki, a recently-opened Japanese restaurant at the high end of Tory Street in the CBD. It's about a 20 minute walk from the conference venue or a short hop by bus. http://www.ozeki.co.nz/ Tickets to the conference dinner are being sold separately from the main conference event, and you are welcome to purchase tickets for partners/+1s who may not be attending the conference itself. NOTE: When you registered for the conference, you may have ticked the little box indicating that you would be interested in attending a conference dinner. This does *not* mean you already have a ticket to the dinner -- you still need to go to the dinner event page and register. The ticket price of $38.00 covers the set menu, there will be a cash bar for drinks and the restaurant is BYO (a corkage fee may apply). An evening of delicious food and great company, head over to the registration page and sign up! https://register.nzpug.org/event-1738760 Cheers! Tom, on behalf of the New Zealand Python User Group and the Kiwi PyCon 2014 team. From tom at eastman.net.nz Mon Aug 18 11:07:23 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Mon, 18 Aug 2014 21:07:23 +1200 Subject: [melbourne-pug] Kiwi Pycon 2014: Cheap Flights to NZ from Australia! Message-ID: <53F1C24B.4000807@eastman.net.nz> Two things to tell you! - Cheap Flights from Australia to Wellington! - Accommodation! Cheap Flights from Australia to Wellington! ------------------------------------------- Our Tasmanian colleague and occasionally-on-the-ground informant Chris Neugebauer informs us that Virgin Australia are currently offering cheap flights from Australian departure points to Wellington for flights that fall during around around the weekend of Kiwi PyCon 2014! So if you've been on the fence about whether to cross the ditch and come to Wellington next month, now is the time to register! The VA website won't let me post direct links, but it looks like you start here: > http://www.virginaustralia.com/au/en/specials-offers/flight-specials/view-best-fares/ And click on the 'NZ' tab. Page down to the 'lucky last' destination Wellington and have a look at the deals on the first line: 03 Sep, 2014 - 17 Sep, 2014 Don't spent too long thinking about it though! The sale looks like it ends on midnight Wednesday night! Accommodation! -------------- Once you get to Wellington, no matter where in the world you came in from, we think it would be great if you had a place to sleep. Accommodation in Wellington could end up being tight on the weekend of the conference, since there may be an influx of many, many thousands of Rugby fans swooping in to see the All Blacks vs South Africa match on Saturday the 13th of September[1]. We have block bookings at two hotels, one is a short bus ride from the venue, and the other is a long bus ride from the venue (but we'll be providing the bus). WARNING! We will only be able to hold on to these block bookings for a few more days, after that they will be up for grabs by the general public! Head to http://kiwi.pycon.org/accommodation/ as soon as you can and make sure you have a place to stay for Kiwi PyCon! There's more to come in the next update, this is shaping up to be quite a weekend! Cheers! Tom, on behalf of the New Zealand Python User Group and Kiwi PyCon 2014 [1] ...when they *could* be coming to the Kiwi PyCon Conference dinner! book your ticket at https://register.nzpug.org/event-1738760 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From tom.eastman at gmail.com Mon Aug 18 11:05:56 2014 From: tom.eastman at gmail.com (Tom Eastman) Date: Mon, 18 Aug 2014 21:05:56 +1200 Subject: [melbourne-pug] Kiwi Pycon 2014: Cheap Flights to NZ from Australia! Message-ID: <53F1C1F4.3030308@gmail.com> Two things to tell you! - Cheap Flights from Australia to Wellington! - Accommodation! Cheap Flights from Australia to Wellington! ------------------------------------------- Our Tasmanian colleague and occasionally-on-the-ground informant Chris Neugebauer informs us that Virgin Australia are currently offering cheap flights from Australian departure points to Wellington for flights that fall during around around the weekend of Kiwi PyCon 2014! So if you've been on the fence about whether to cross the ditch and come to Wellington next month, now is the time to register! The VA website won't let me post direct links, but it looks like you start here: > http://www.virginaustralia.com/au/en/specials-offers/flight-specials/view-best-fares/ And click on the 'NZ' tab. Page down to the 'lucky last' destination Wellington and have a look at the deals on the first line: 03 Sep, 2014 - 17 Sep, 2014 Don't spent too long thinking about it though! The sale looks like it ends on midnight Wednesday night! Accommodation! -------------- Once you get to Wellington, no matter where in the world you came in from, we think it would be great if you had a place to sleep. Accommodation in Wellington could end up being tight on the weekend of the conference, since there may be an influx of many, many thousands of Rugby fans swooping in to see the All Blacks vs South Africa match on Saturday the 13th of September[1]. We have block bookings at two hotels, one is a short bus ride from the venue, and the other is a long bus ride from the venue (but we'll be providing the bus). WARNING! We will only be able to hold on to these block bookings for a few more days, after that they will be up for grabs by the general public! Head to http://kiwi.pycon.org/accommodation/ as soon as you can and make sure you have a place to stay for Kiwi PyCon! There's more to come in the next update, this is shaping up to be quite a weekend! Cheers! Tom, on behalf of the New Zealand Python User Group and Kiwi PyCon 2014 [1] ...when they *could* be coming to the Kiwi PyCon Conference dinner! book your ticket at https://register.nzpug.org/event-1738760) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From tom at eastman.net.nz Wed Aug 20 08:06:23 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Wed, 20 Aug 2014 18:06:23 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014 Financial aid deadline 22nd Message-ID: <53F43ADF.1070602@eastman.net.nz> Good evening, There are only two days left to apply for Financial Aid to attend Kiwi PyCon 2014. If you would like to come to the conference, but for whatever reason don't feel like you have the resources to make it, the financial aid programme can help. Head over to http://kiwi.pycon.org/financial-aid/ and read the details, but the TL; DR version is: ANYONE can apply. ...as long as you do it on the 22nd or before, because we're going to have to contact people as soon as humanly possible after the deadline passes. Late applications may well be out of luck. So please, don't hesitate to apply, if you want to come to Kiwi PyCon, then we want to do what we can to get you here. Cheers! Tom -- Tom Eastman // Catalyst IT // +64 4 803 2432 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From tom at catalyst.net.nz Wed Aug 20 08:05:53 2014 From: tom at catalyst.net.nz (Tom Eastman) Date: Wed, 20 Aug 2014 18:05:53 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014 Financial aid deadline 22nd Message-ID: <53F43AC1.5020802@catalyst.net.nz> Good evening, There are only two days left to apply for Financial Aid to attend Kiwi PyCon 2014. If you would like to come to the conference, but for whatever reason don't feel like you have the resources to make it, the financial aid programme can help. Head over to http://kiwi.pycon.org/financial-aid/ and read the details, but the TL; DR version is: ANYONE can apply. ...as long as you do it on the 22nd or before, because we're going to have to contact people as soon as humanly possible after the deadline passes. Late applications may well be out of luck. So please, don't hesitate to apply, if you want to come to Kiwi PyCon, then we want to do what we can to get you here. Cheers! Tom -- Tom Eastman // Catalyst IT // +64 4 803 2432 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From javier at candeira.com Wed Aug 20 13:20:46 2014 From: javier at candeira.com (Javier Candeira) Date: Wed, 20 Aug 2014 21:20:46 +1000 Subject: [melbourne-pug] 1 September 2014: Behaviour Driven Development, Machine Learning in the Cloud Message-ID: Dear Melbourne Pythonistas, In about ten days, on theMonday 1 September, we'll hold the September meeting of the Melbourne Python Users Group! Time: 6PM Venue: Inspire 9: Level 1, 41 Stewart Street, Richmond. 50m from Richmond Train Station. Program: 15 minute talks * Javier Candeira -- What's new in Python, Sepetmbre Edition. 25 minute talks * Jason King -- BDD using Behave with Selenium (the web browser automation tool, not the heavy metal) * Andy Kitchen -- Pattern Recognition: Machine Learning on GPUs in the Cloud (the buzzwords are also interesting: Andy uses Bolzmann Machines with Theano and AWS) :: As usual, we'll order pizza, with a $10 contribution required. Drinks are BYO, but you're invited to bring a six-pack to share if you want! If you'd like to give the What's New in Python talk in a future session, you have a cool project you want to show, or you want to give a short presentation on a library you've been using lately, please just come forward during the meeting. With many thanks to Planet Innovation for sponsoring our use of the venue, The MPUG organisers From andy.larrymite at gmail.com Thu Aug 21 02:23:37 2014 From: andy.larrymite at gmail.com (Andrew Jones) Date: Thu, 21 Aug 2014 10:23:37 +1000 Subject: [melbourne-pug] We're after a python automation tester Message-ID: Hi All, our team is after a python automation tester. We're a mature agile team that has a really fun team culture. Our tech stack is: python, django, angular.js, flask, postgresql, selenium and linux. This role would also suite a developer who's interested in learning new skills and working in the agile testing space. More details here: http://www.seek.com.au/job/27115990?tracking=JMC-0000787 Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at eastman.net.nz Thu Aug 21 02:17:45 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Thu, 21 Aug 2014 12:17:45 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: Last chance for our accommodation block booking! Message-ID: <53F53AA9.1030201@eastman.net.nz> Move fast! Today and tomorrow might be your last chance to take advantage of the deals being offered on the Kiwi PyCon 2014 Acommodation page for both the Brentwood Hotel and for the Angus Inn Hotel. Kiwi PyCon 2014 is being held in Newtown, Wellington on the weekend of 12-14 September. Accommodation in Wellington is a little tight that weekend because of the All Blacks vs South Africa game being held on the Saturday night. So: if you already have accommodation for Kiwi PyCon sorted out, then no worries! But if you want to take advantage of the guaranteed availability of the rooms at the Brentwood or the Angus Inn, you should book today or tomorrow at the latest to be sure. After that, the rooms will still be available, but they won't be held in reserve for Kiwi PyCon anymore and they might start getting snapped up by non-Pythonistas! Cheers! Tom, on behalf of the New Zealand Python User Group and Kiwi PyCon 2014 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From tom at eastman.net.nz Fri Aug 22 07:04:34 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Fri, 22 Aug 2014 17:04:34 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: Last chance for our accommodation block booking! Message-ID: <53F6CF62.1030608@eastman.net.nz> Today is the FINAL day for potential attendees to apply for financial aid for Kiwi PyCon 2014. In addition, today is the last day that we can hold onto the reserved accommodation booking at the Brentwood Hotel and at the Angus Inn Hotel in Lower Hutt. Help us out and spread the word if you can -- if you already have accommodation sorted, that's fine, and if you already have everything sorted and you're not interested in financial assistance, that's great! However, we'd be heartbroken either of the above were not true and the only reason you didn't get it sorted today was because you didn't know today was the deadline! So: Head over to our financial aid page and send us an email before midnight tonight! The Kiwi PyCon 2014 team are going to be considering applications early tomorrow morning (no Saturday sleep-ins for us till the conference is done!) so this deadline is not theoretical. If we don't have your application, you will miss out! http://kiwi.pycon.org/financial-aid/ Likewise: If you don't have accommodation for the conference, tomorrow we have to call our hotels and release the block booking -- at that point all the leftover rooms at both locations will be open to reservations from the general public and might end up getting snapped up. So get in quick and give them a call today! http://kiwi.pycon.org/accommodation/ Cheers! Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From tom at eastman.net.nz Sat Aug 23 04:51:25 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Sat, 23 Aug 2014 14:51:25 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: Call for volunteers Message-ID: <53F801AD.70108@eastman.net.nz> A conference can't happen without a team of volunteers dedicated to making it the very best it can be. We want your help! Kiwi PyCon is completely a volunteer-run event. Without a dedicated team there's just no way it could happen at all. If you're prepared to give some of your time to helping us run the best Kiwi PyCon yet, we'd like you to register your interest using this form. > https://docs.google.com/forms/d/1x7DhUapv0MN6uLkhxMPWnVD8o9AMBepFPhXozNTY-iQ/viewform Whether you think you can help us lug some equipment around, or you want to help staff the registration desk or host one of the conference streams, or anything else, we want to hear from you! Cheers! Tom -- http://kiwi.pycon.org/blog/2014/08/23/call-for-volunteers/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From javier at candeira.com Sat Aug 23 12:26:08 2014 From: javier at candeira.com (Javier Candeira) Date: Sat, 23 Aug 2014 20:26:08 +1000 Subject: [melbourne-pug] Paging Ryan "Next Day Video" Verner Message-ID: Hi Ryan, I think you're on the MPUG list. I have an old email of yours, but I don't know if you still read it. In any case, hi Ryan, I'm looking for you! (apologies everyone else, I didn't know how else to do this). Javier -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier at candeira.com Mon Aug 25 01:32:46 2014 From: javier at candeira.com (Javier Candeira) Date: Mon, 25 Aug 2014 09:32:46 +1000 Subject: [melbourne-pug] Paging Ryan "Next Day Video" Verner In-Reply-To: References: Message-ID: Thanks to the two people and Ryan himself who answered privately. Found! J On Sat, Aug 23, 2014 at 8:26 PM, Javier Candeira wrote: > Hi Ryan, > > I think you're on the MPUG list. I have an old email of yours, but I don't > know if you still read it. > > In any case, hi Ryan, I'm looking for you! > > (apologies everyone else, I didn't know how else to do this). > > Javier > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at eastman.net.nz Mon Aug 25 08:44:01 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Mon, 25 Aug 2014 18:44:01 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: PyLadies lunch! Message-ID: <53FADB31.9070001@eastman.net.nz> If you've been to Kiwi PyCon[1] before, you know PyLadies[2] Breakfast has been a regular event for us. This year, however, we'd like to try something new - a lunch instead of a breakfast. We're cordially inviting all woman-identified attendees of PyCon, and their +1 of any gender to the first-ever PyLadies Luncheon on Saturday, September 13th from 12:35pm. This will be a free event, made possible by our wonderful sponsor Catalyst[3]. It's a good way to socialise with other women attendees at the conference. We'll be hosting at Bebemos[4], a lovely Brazillian restaurant across the street from the main conference center, and we'll be pre-ordering to make sure you're back in time for the afternoon sessions. We'll announce the menu shortly. Spaces are limited! RSVP today! Registration: https://www.eventbrite.co.nz/e/pyladies-lunch-at-kiwi-pycon-tickets-12768006451 Cheers! Tom, on behalf of Kiwi PyCon 2014, the New Zealand Python User Group, and PyLadies! [1] http://kiwi.pycon.org/ [2] http://www.pyladies.com/ [3] http://www.catalyst.net.nz/ [4] http://bebemos.co.nz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From gaganjyoti at gmail.com Sat Aug 23 08:43:38 2014 From: gaganjyoti at gmail.com (Gagan J Sharma) Date: Sat, 23 Aug 2014 16:43:38 +1000 Subject: [melbourne-pug] Kiwi PyCon 2014: Call for volunteers In-Reply-To: <53F801AD.70108@eastman.net.nz> References: <53F801AD.70108@eastman.net.nz> Message-ID: <726C6A28-9EC9-40B5-A950-DD8DED9FA487@gmail.com> Hi Tom Write down my name.. Regards Gagan Sent from my iPhone > On 23 Aug 2014, at 12:51 pm, Tom Eastman wrote: > > A conference can't happen without a team of volunteers dedicated to > making it the very best it can be. We want your help! > > Kiwi PyCon is completely a volunteer-run event. Without a dedicated team > there's just no way it could happen at all. > > If you're prepared to give some of your time to helping us run the best > Kiwi PyCon yet, we'd like you to register your interest using this form. > >> https://docs.google.com/forms/d/1x7DhUapv0MN6uLkhxMPWnVD8o9AMBepFPhXozNTY-iQ/viewform > > Whether you think you can help us lug some equipment around, or you want > to help staff the registration desk or host one of the conference > streams, or anything else, we want to hear from you! > > Cheers! > > Tom > > -- > http://kiwi.pycon.org/blog/2014/08/23/call-for-volunteers/ > > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug From dcrisp at netspace.net.au Wed Aug 27 07:22:06 2014 From: dcrisp at netspace.net.au (David Crisp) Date: Wed, 27 Aug 2014 15:22:06 +1000 (EST) Subject: [melbourne-pug] PyCharm - Accidently enabled Unit Tests and cant turn off Message-ID: Hello, I know a few people here use PyCharm so I am hopeing sombody can answer my question: Somehow a little while ago I accidently enabled Unit Testing on my code and now every time I go to run my code it runs a unit test instead of just the code. I have no idea what button I pressed and I cant find where to enable or disable it. Unit Tests are now enabled by default in a new project. This is doing my head in... HOW DO I DISABLE UNIT TESTS as a default Regards, David From dcrisp at netspace.net.au Wed Aug 27 07:27:37 2014 From: dcrisp at netspace.net.au (David Crisp) Date: Wed, 27 Aug 2014 15:27:37 +1000 (EST) Subject: [melbourne-pug] PyCharm - Accidently enabled Unit Tests and cant turn off In-Reply-To: References: Message-ID: AHhh.. dont mind me!.. I named a Class Test..... because I was trying to test a feature. WHat does this do when you do it in pycharm! thats right. it kicks in the unit test feature.. I think.. when I renamed the class to a proper name the unit testing disapeared. *waves fists at crazy design* On Wed, 27 Aug 2014, David Crisp wrote: > Hello, > > I know a few people here use PyCharm so I am hopeing sombody can answer my > question: > > Somehow a little while ago I accidently enabled Unit Testing on my code and > now every time I go to run my code it runs a unit test instead of just the > code. > > I have no idea what button I pressed and I cant find where to enable or > disable it. > > Unit Tests are now enabled by default in a new project. > > This is doing my head in... HOW DO I DISABLE UNIT TESTS as a default > > Regards, > David > From tom at eastman.net.nz Wed Aug 27 08:48:38 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Wed, 27 Aug 2014 18:48:38 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: Register now to get your T-Shirt! DEADLINE Message-ID: <53FD7F46.2050304@eastman.net.nz> Register BEFORE 1 September to be guaranteed a T-Shirt ------------------------------------------------------ http://kiwi.pycon.org/registration/ Kiwi PyCon 2014 is being held in Newtown, Wellington from 12 September to 14 September. If you haven't registered yet, the next few days will be your last chance to be able to guarantee that you get a T-Shirt in your size! So if you're planning on coming to Kiwi PyCon, and you want a T-Shirt that fits, you need to have registered no later than the 31st of August. CodeWars V: The Perlmonger Strikes Back --------------------------------------- http://kiwi.pycon.org/events/codewars/ Grant McLean is a senior developer and trainer with Gold Sponsor Catalyst ? an IT consultancy specialising in Open Source development and support. Grant has been developing web sites and applications for over 15 years, primarily using Perl and Ruby on the back-end and Javascript on the front-end. Grant is a regular speaker at user group meetings and conferences including OSDC and OSCON. That's right, we have a Perl grand master setting your challenges at this year's Kiwi PyCon CodeWars. This could turn into a language war except that you are welcome to solve the programming challenges in any language you see fit. Even Perl, only you'd be doing so at the risk of proving Grant right... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: From krshackleton at gmail.com Sun Aug 31 03:11:43 2014 From: krshackleton at gmail.com (Kevin Shackleton) Date: Sun, 31 Aug 2014 09:11:43 +0800 Subject: [melbourne-pug] Rounded-value ticks on X axis Message-ID: Hi, New to Melbourne PUG. Fairly new to Python. I have a script that interprets power levels at several automated surveying total stations working at a site. The idea is to show that the batteries have enough amp-hours to see the total station through a run of cloudy days. After 2 or 3 years of battery life the battery amp-hour capacity will have reduced to a point where the installation will run often out of power before the solar panels kick in each morning. In practice this is often affected by 3rd parties hanging extra electrical load on our installation. The data looks like this: 2014-06-16T18:40:20,HUT1,56 2014-06-16T19:02:49,HUT2,15 2014-06-16T20:16:12,HUT1,58 2014-06-16T20:17:08,HUT2,11 2014-06-16T20:51:17,HUT1,67 2014-06-17T11:51:05,HUT1,100 2014-06-17T11:51:07,HUT2,48 2014-06-17T11:51:08,HUT3,57 where power level readings are coming from each of the huts (there are actually 4 of them) at random times and with different data densities per hut according to the cycle schedules. The power levels are percent. Some total stations report in volts but that's another problem. My script solution is: import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv('Power_Log.csv',names=['DT','Station','Power']) df2=df.groupby(['Station']) # set 'Station' as the data index d = dict(iter(df2)) # make a dictionary including each station's data for stn in d.keys(): plt.figure() # creates a new plot canvas fig, ax = plt.subplots() # creates components of the plot ax.set_ylabel('Power (%)',fontsize=12) fig.subplots_adjust(bottom=0.15) d[stn].interpolate().plot(x='DT',y='Power',rot=15,title='Power Level: ' + stn) ax.set_xlabel('Date-Time',fontsize=12) plt.savefig('Station_Power_' + stn + '.png') Possibly a bit wasteful going from dataframe to dataframe to dictionary. This code knocks out nice graphs, except for one thing - the x ticks are at unrounded positions and therefore have long labels. I'm getting nowhere with set_major_formatter and autofmt_xdate methods to try to set the ticks to rounded days. And brilliant ideas here? Thanks, Kevin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Station_Power_HUT2.png Type: image/png Size: 88008 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Station_Power_HUT4.png Type: image/png Size: 79364 bytes Desc: not available URL: From anthony.briggs at gmail.com Sun Aug 31 05:57:02 2014 From: anthony.briggs at gmail.com (Anthony Briggs) Date: Sun, 31 Aug 2014 13:57:02 +1000 Subject: [melbourne-pug] Rounded-value ticks on X axis In-Reply-To: References: Message-ID: Hi Kevin, Looks like it's just pulling those keys from the data, so something to convert those explicitly when you read it in would probably be the easiest way. There might be something in the read_csv function to convert data from a particular column, or you could try a dictionary comprehension per station (something along the lines of station_data = {reading['DT'][:10]: reading for reading in d[stn]}. You seem to have a lot of values for the same day though, so you'd either want to grab just the minimum, or do some sort of formatting in matplotlib. Another method would be to find the minimum value (or minimum 3) for a station and just report a warning if it's below a certain amount, rather than a graph which someone has to interpret. Final point - having a lot of one and two character variables makes it really hard to tell what your script is doing. Hope that helps, Anthony On 31 August 2014 11:11, Kevin Shackleton wrote: > Hi, > > New to Melbourne PUG. Fairly new to Python. > > I have a script that interprets power levels at several automated > surveying total stations working at a site. The idea is to show that the > batteries have enough amp-hours to see the total station through a run of > cloudy days. After 2 or 3 years of battery life the battery amp-hour > capacity will have reduced to a point where the installation will run often > out of power before the solar panels kick in each morning. In practice > this is often affected by 3rd parties hanging extra electrical load on our > installation. > > The data looks like this: > 2014-06-16T18:40:20,HUT1,56 > 2014-06-16T19:02:49,HUT2,15 > 2014-06-16T20:16:12,HUT1,58 > 2014-06-16T20:17:08,HUT2,11 > 2014-06-16T20:51:17,HUT1,67 > 2014-06-17T11:51:05,HUT1,100 > 2014-06-17T11:51:07,HUT2,48 > 2014-06-17T11:51:08,HUT3,57 > where power level readings are coming from each of the huts (there are > actually 4 of them) at random times and with different data densities per > hut according to the cycle schedules. The power levels are percent. Some > total stations report in volts but that's another problem. > > My script solution is: > import pandas as pd > import matplotlib.pyplot as plt > df = pd.read_csv('Power_Log.csv',names=['DT','Station','Power']) > df2=df.groupby(['Station']) # set 'Station' as the data index > d = dict(iter(df2)) # make a dictionary including each station's data > for stn in d.keys(): > plt.figure() # creates a new plot canvas > fig, ax = plt.subplots() # creates components of the plot > ax.set_ylabel('Power (%)',fontsize=12) > fig.subplots_adjust(bottom=0.15) > d[stn].interpolate().plot(x='DT',y='Power',rot=15,title='Power Level: > ' + stn) > ax.set_xlabel('Date-Time',fontsize=12) > plt.savefig('Station_Power_' + stn + '.png') > > Possibly a bit wasteful going from dataframe to dataframe to dictionary. > > This code knocks out nice graphs, except for one thing - the x ticks are > at unrounded positions and therefore have long labels. > > I'm getting nowhere with set_major_formatter and autofmt_xdate methods to > try to set the ticks to rounded days. > > And brilliant ideas here? > > Thanks, > > Kevin. > > _______________________________________________ > 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 anthony.briggs at gmail.com Sun Aug 31 06:01:02 2014 From: anthony.briggs at gmail.com (Anthony Briggs) Date: Sun, 31 Aug 2014 14:01:02 +1000 Subject: [melbourne-pug] Rounded-value ticks on X axis In-Reply-To: References: Message-ID: Quick update: http://matplotlib.org/examples/api/date_demo.html and http://stackoverflow.com/questions/3677368/matplotlib-format-axis-offset-values-to-whole-numbers-or-specific-number mention something called a Formatter. DateFormatter from the first link looks like it should do what you're after (convert to a date rather than a time). Anthony On 31 August 2014 13:57, Anthony Briggs wrote: > Hi Kevin, > > Looks like it's just pulling those keys from the data, so something to > convert those explicitly when you read it in would probably be the easiest > way. There might be something in the read_csv function to convert data from > a particular column, or you could try a dictionary comprehension per > station (something along the lines of station_data = {reading['DT'][:10]: > reading for reading in d[stn]}. > > You seem to have a lot of values for the same day though, so you'd either > want to grab just the minimum, or do some sort of formatting in matplotlib. > > Another method would be to find the minimum value (or minimum 3) for a > station and just report a warning if it's below a certain amount, rather > than a graph which someone has to interpret. > > Final point - having a lot of one and two character variables makes it > really hard to tell what your script is doing. > > Hope that helps, > > Anthony > > > > On 31 August 2014 11:11, Kevin Shackleton wrote: > >> Hi, >> >> New to Melbourne PUG. Fairly new to Python. >> >> I have a script that interprets power levels at several automated >> surveying total stations working at a site. The idea is to show that the >> batteries have enough amp-hours to see the total station through a run of >> cloudy days. After 2 or 3 years of battery life the battery amp-hour >> capacity will have reduced to a point where the installation will run often >> out of power before the solar panels kick in each morning. In practice >> this is often affected by 3rd parties hanging extra electrical load on our >> installation. >> >> The data looks like this: >> 2014-06-16T18:40:20,HUT1,56 >> 2014-06-16T19:02:49,HUT2,15 >> 2014-06-16T20:16:12,HUT1,58 >> 2014-06-16T20:17:08,HUT2,11 >> 2014-06-16T20:51:17,HUT1,67 >> 2014-06-17T11:51:05,HUT1,100 >> 2014-06-17T11:51:07,HUT2,48 >> 2014-06-17T11:51:08,HUT3,57 >> where power level readings are coming from each of the huts (there are >> actually 4 of them) at random times and with different data densities per >> hut according to the cycle schedules. The power levels are percent. Some >> total stations report in volts but that's another problem. >> >> My script solution is: >> import pandas as pd >> import matplotlib.pyplot as plt >> df = pd.read_csv('Power_Log.csv',names=['DT','Station','Power']) >> df2=df.groupby(['Station']) # set 'Station' as the data index >> d = dict(iter(df2)) # make a dictionary including each station's data >> for stn in d.keys(): >> plt.figure() # creates a new plot canvas >> fig, ax = plt.subplots() # creates components of the plot >> ax.set_ylabel('Power (%)',fontsize=12) >> fig.subplots_adjust(bottom=0.15) >> d[stn].interpolate().plot(x='DT',y='Power',rot=15,title='Power Level: >> ' + stn) >> ax.set_xlabel('Date-Time',fontsize=12) >> plt.savefig('Station_Power_' + stn + '.png') >> >> Possibly a bit wasteful going from dataframe to dataframe to dictionary. >> >> This code knocks out nice graphs, except for one thing - the x ticks are >> at unrounded positions and therefore have long labels. >> >> I'm getting nowhere with set_major_formatter and autofmt_xdate methods to >> try to set the ticks to rounded days. >> >> And brilliant ideas here? >> >> Thanks, >> >> Kevin. >> >> _______________________________________________ >> 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 eastman.net.nz Sun Aug 31 07:34:46 2014 From: tom at eastman.net.nz (Tom Eastman) Date: Sun, 31 Aug 2014 17:34:46 +1200 Subject: [melbourne-pug] Kiwi PyCon 2014: T-Shirt order happens tomorrow! Message-ID: <5402B3F6.501@eastman.net.nz> Hope everyone has had a beautiful weekend! We're in the final days of conference prep here in Wellington. The T-Shirt order happens tomorrow afternoon. What that means is: Today and tomorrow morning are your last chances toregister for Kiwi PyCon and be absolutely sure that you'll be getting a T-Shirt in your size. After that, of course you can still register, but we might not get another chance to refine the T-Shirt order, so you might be caught having to wear something baggy! While you're at it, don't forget to register for the Saturday night dinner! http://kiwi.pycon.org/registration/ http://kiwi.pycon.org/events/saturday-dinner/ We don't want anyone to miss out! Please don't delay! Tom, on behalf of the Kiwi PyCon 2014 team. From javier at candeira.com Sun Aug 31 10:06:42 2014 From: javier at candeira.com (Javier Candeira) Date: Sun, 31 Aug 2014 18:06:42 +1000 Subject: [melbourne-pug] 1 September, 6pm, MPUG@Inspire9: Behaviour Driven Development, Machine Learning in the Cloud. Message-ID: Dear Melbourne Pythonistas, Tomorrow, Monday 1 September, we'll hold the September meeting of the Melbourne Python Users Group! Time: 6PM Venue: Inspire 9: Level 1, 41 Stewart Street, Richmond. 50m from Richmond Train Station. Program: 25 minute talks * Javier Candeira -- What's new in Python, September Edition. * Jason King -- BDD using Behave with Selenium (the web browser automation tool, not the heavy metal) * Andy Kitchen -- Pattern Recognition: Machine Learning on GPUs in the Cloud (the buzzwords are also interesting: Andy uses Bolzmann Machines with Theano and AWS) :: As usual, we'll order pizza, with a $10 contribution required. Drinks are BYO, but you're invited to bring a six-pack to share if you want! If you'd like to give the What's New in Python talk in a future session, you have a cool project you want to show, or you want to give a short presentation on a library you've been using lately, please just come forward during the meeting. With many thanks to Planet Innovation for sponsoring our use of the venue, The MPUG organisers From krshackleton at gmail.com Sun Aug 31 06:15:56 2014 From: krshackleton at gmail.com (Kevin Shackleton) Date: Sun, 31 Aug 2014 12:15:56 +0800 Subject: [melbourne-pug] Rounded-value ticks on X axis In-Reply-To: References: Message-ID: Thanks Anthony, Plotting all the data allows you to see the rate of fall of voltage ("% power"), so I'm quite happy with the approach, rather than looking at minima. Similarly, I found that using interpolate.plot gave the best looking curves I agree about the short variable names - I was sticking with the textbooks on that but I should break free and use more descriptive names. Thanks for the references, I'll follow up on them. Regards, Kevin. On 31 August 2014 11:57, Anthony Briggs wrote: > Hi Kevin, > > Looks like it's just pulling those keys from the data, so something to > convert those explicitly when you read it in would probably be the easiest > way. There might be something in the read_csv function to convert data from > a particular column, or you could try a dictionary comprehension per > station (something along the lines of station_data = {reading['DT'][:10]: > reading for reading in d[stn]}. > > You seem to have a lot of values for the same day though, so you'd either > want to grab just the minimum, or do some sort of formatting in matplotlib. > > Another method would be to find the minimum value (or minimum 3) for a > station and just report a warning if it's below a certain amount, rather > than a graph which someone has to interpret. > > Final point - having a lot of one and two character variables makes it > really hard to tell what your script is doing. > > Hope that helps, > > Anthony > > > > On 31 August 2014 11:11, Kevin Shackleton wrote: > >> Hi, >> >> New to Melbourne PUG. Fairly new to Python. >> >> I have a script that interprets power levels at several automated >> surveying total stations working at a site. The idea is to show that the >> batteries have enough amp-hours to see the total station through a run of >> cloudy days. After 2 or 3 years of battery life the battery amp-hour >> capacity will have reduced to a point where the installation will run often >> out of power before the solar panels kick in each morning. In practice >> this is often affected by 3rd parties hanging extra electrical load on our >> installation. >> >> The data looks like this: >> 2014-06-16T18:40:20,HUT1,56 >> 2014-06-16T19:02:49,HUT2,15 >> 2014-06-16T20:16:12,HUT1,58 >> 2014-06-16T20:17:08,HUT2,11 >> 2014-06-16T20:51:17,HUT1,67 >> 2014-06-17T11:51:05,HUT1,100 >> 2014-06-17T11:51:07,HUT2,48 >> 2014-06-17T11:51:08,HUT3,57 >> where power level readings are coming from each of the huts (there are >> actually 4 of them) at random times and with different data densities per >> hut according to the cycle schedules. The power levels are percent. Some >> total stations report in volts but that's another problem. >> >> My script solution is: >> import pandas as pd >> import matplotlib.pyplot as plt >> df = pd.read_csv('Power_Log.csv',names=['DT','Station','Power']) >> df2=df.groupby(['Station']) # set 'Station' as the data index >> d = dict(iter(df2)) # make a dictionary including each station's data >> for stn in d.keys(): >> plt.figure() # creates a new plot canvas >> fig, ax = plt.subplots() # creates components of the plot >> ax.set_ylabel('Power (%)',fontsize=12) >> fig.subplots_adjust(bottom=0.15) >> d[stn].interpolate().plot(x='DT',y='Power',rot=15,title='Power Level: >> ' + stn) >> ax.set_xlabel('Date-Time',fontsize=12) >> plt.savefig('Station_Power_' + stn + '.png') >> >> Possibly a bit wasteful going from dataframe to dataframe to dictionary. >> >> This code knocks out nice graphs, except for one thing - the x ticks are >> at unrounded positions and therefore have long labels. >> >> I'm getting nowhere with set_major_formatter and autofmt_xdate methods to >> try to set the ticks to rounded days. >> >> And brilliant ideas here? >> >> Thanks, >> >> Kevin. >> >> _______________________________________________ >> 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 krshackleton at gmail.com Sun Aug 31 08:31:53 2014 From: krshackleton at gmail.com (Kevin Shackleton) Date: Sun, 31 Aug 2014 14:31:53 +0800 Subject: [melbourne-pug] Rounded-value ticks on X axis In-Reply-To: References: Message-ID: Unfortunately these matplotlib methods expect the data to be float, where using pandas I am able to parse and handle the time series data as datetime. But graphing in pandas does not seem to inherit all the matplotlib methods (I suppose that would be a mammoth task, including all the method overlays). I'm forming the opinion that I either do the job in numpy/matplotlib with extra code to sculpt the exact format I want or I go the concise and elegant pandas way and live with the loss of control of the x axis. Thanks, Kevin On 31 August 2014 12:01, Anthony Briggs wrote: > Quick update: http://matplotlib.org/examples/api/date_demo.html and > http://stackoverflow.com/questions/3677368/matplotlib-format-axis-offset-values-to-whole-numbers-or-specific-number > mention something called a Formatter. DateFormatter from the first link > looks like it should do what you're after (convert to a date rather than a > time). > > Anthony > > > > > > On 31 August 2014 13:57, Anthony Briggs wrote: > >> Hi Kevin, >> >> Looks like it's just pulling those keys from the data, so something to >> convert those explicitly when you read it in would probably be the easiest >> way. There might be something in the read_csv function to convert data from >> a particular column, or you could try a dictionary comprehension per >> station (something along the lines of station_data = {reading['DT'][:10]: >> reading for reading in d[stn]}. >> >> You seem to have a lot of values for the same day though, so you'd either >> want to grab just the minimum, or do some sort of formatting in matplotlib. >> >> Another method would be to find the minimum value (or minimum 3) for a >> station and just report a warning if it's below a certain amount, rather >> than a graph which someone has to interpret. >> >> Final point - having a lot of one and two character variables makes it >> really hard to tell what your script is doing. >> >> Hope that helps, >> >> Anthony >> >> >> >> On 31 August 2014 11:11, Kevin Shackleton >> wrote: >> >>> Hi, >>> >>> New to Melbourne PUG. Fairly new to Python. >>> >>> I have a script that interprets power levels at several automated >>> surveying total stations working at a site. The idea is to show that the >>> batteries have enough amp-hours to see the total station through a run of >>> cloudy days. After 2 or 3 years of battery life the battery amp-hour >>> capacity will have reduced to a point where the installation will run often >>> out of power before the solar panels kick in each morning. In practice >>> this is often affected by 3rd parties hanging extra electrical load on our >>> installation. >>> >>> The data looks like this: >>> 2014-06-16T18:40:20,HUT1,56 >>> 2014-06-16T19:02:49,HUT2,15 >>> 2014-06-16T20:16:12,HUT1,58 >>> 2014-06-16T20:17:08,HUT2,11 >>> 2014-06-16T20:51:17,HUT1,67 >>> 2014-06-17T11:51:05,HUT1,100 >>> 2014-06-17T11:51:07,HUT2,48 >>> 2014-06-17T11:51:08,HUT3,57 >>> where power level readings are coming from each of the huts (there are >>> actually 4 of them) at random times and with different data densities per >>> hut according to the cycle schedules. The power levels are percent. Some >>> total stations report in volts but that's another problem. >>> >>> My script solution is: >>> import pandas as pd >>> import matplotlib.pyplot as plt >>> df = pd.read_csv('Power_Log.csv',names=['DT','Station','Power']) >>> df2=df.groupby(['Station']) # set 'Station' as the data index >>> d = dict(iter(df2)) # make a dictionary including each station's data >>> for stn in d.keys(): >>> plt.figure() # creates a new plot canvas >>> fig, ax = plt.subplots() # creates components of the plot >>> ax.set_ylabel('Power (%)',fontsize=12) >>> fig.subplots_adjust(bottom=0.15) >>> d[stn].interpolate().plot(x='DT',y='Power',rot=15,title='Power >>> Level: ' + stn) >>> ax.set_xlabel('Date-Time',fontsize=12) >>> plt.savefig('Station_Power_' + stn + '.png') >>> >>> Possibly a bit wasteful going from dataframe to dataframe to dictionary. >>> >>> This code knocks out nice graphs, except for one thing - the x ticks are >>> at unrounded positions and therefore have long labels. >>> >>> I'm getting nowhere with set_major_formatter and autofmt_xdate methods >>> to try to set the ticks to rounded days. >>> >>> And brilliant ideas here? >>> >>> Thanks, >>> >>> Kevin. >>> >>> _______________________________________________ >>> 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: