From cbc at unc.edu Tue Nov 1 11:36:21 2016 From: cbc at unc.edu (Chris Calloway) Date: Tue, 1 Nov 2016 11:36:21 -0400 Subject: [TriPython] Fwd: [PyData-Triangle] Q4 PyData Triangle meetup tomorrow In-Reply-To: <1557146741.1478013705732.JavaMail.nobody@james1.pvt.meetup.com> References: <1557146741.1478013705732.JavaMail.nobody@james1.pvt.meetup.com> Message-ID: An associated user group, PyData Triangle, managed by Eric Dill and Ginny Ghezzo, is having its inaugural meeting tomorrow. The RSVP capacity of 60 people is already full on meetup.com. But there is a wait list and you should get on it. If you have RSVP'd and are not coming, please un-RSVP on meetup.com so that someone else can take your place. The program is super excellent. https://www.meetup.com/PyData-Triangle -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 -------- Forwarded Message -------- Subject: [PyData-Triangle] Q4 PyData Triangle meetup tomorrow Date: Tue, 1 Nov 2016 11:21:46 -0400 From: Eric Dill Reply-To: PyData-Triangle-list at meetup.com To: PyData-Triangle-announce at meetup.com Hi All, Thanks for RSVPing to the Q4 PyData Triangle meetup at MaxPoint that is happening tomorrow. The meetup is full at 60 people which is super exciting! I am looking forward to meeting many of you for the first time and seeing some old faces too. If you know that you cannot come, please un-RSVP so that another can come in your place. Food: We are going to have pizzas delivered at around 5:45, so feel free to arrive as early as 5:45. Directions: MaxPoint HQ in Morrisville, NC at 3020 Carrington Mill Blvd. There is plenty of parking as this is an office park with no parking restrictions. To get to the meetup room, go into the lobby of the 3020 building and go up to the third floor. Someone from MaxPoint will be waiting in the 3rd floor lobby to direct you to the meeting location. See you tomorrow! Best, Eric From cbc at unc.edu Wed Nov 2 12:05:17 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 2 Nov 2016 12:05:17 -0400 Subject: [TriPython] TriPython November 2016 Meeting: The Code Review Review In-Reply-To: References: Message-ID: After Erik's talk at this meeting, there will also be a 20 minute presentation from Mark Hutchinson. The details are: Talk Title: Data Transformation in a Domain-Specific Language Context Description: Recently, Mark worked on a problem that involved transforming data into JSON. The input was a specification of the data structures along with the data. Mark will show the steps involved, packages used, and the Python code. There will be a brief presentation at the end about domain-specific language problems and the packages that support those solutions. Speaker Bio: Mark is an IT Consultant and software instructor in Durham. Mark has worn many hats in his decades-long career. Mark is a contributing expert and zone advisor at Experts-Exchange.com. Mark has been active in the user group (and meetup) communities. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From lgtateos at ncsu.edu Thu Nov 3 21:35:16 2016 From: lgtateos at ncsu.edu (Laura Tateosian) Date: Thu, 3 Nov 2016 21:35:16 -0400 Subject: [TriPython] Let's talk about classes: invoking class methods with the class name Message-ID: Hello all, I would like to hear your take on this. Say you have defined a class and instantiated an instance as below. class LineSeg: def __init__(self, x1, y1, x2, y2): self.x1 = x1 self.y1 = y1 self.x2 = x2 self.y2 = y2 def printSegment(self): print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) theSeg = LineSeg(1,2,3,4) Then suppose you then invoke the printSegment method like below... LineSeg.printSegment(theSeg) This line is not what I would expect. What is this approach called? Why would you want to do this? It works. I can kind of see why it works, but what are the pros/cons as compared to the standard approach like below? theSeg.printSegment() -------------- next part -------------- Hello all, I would like to hear your take on this. Say you have defined a class and instantiated an instance as below. ?? class LineSeg: ? ? def __init__(self, x1, y1, x2, y2): ? ? ? ? self.x1 = x1 ? ? ? ? self.y1 = y1 ? ? ? ? self.x2 = x2 ? ? ? ? self.y2 = y2 ? ? def printSegment(self): ? ? ? ? print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) ? ? ? ? print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) theSeg = LineSeg(1,2,3,4) Then suppose you then invoke the printSegment method like below... LineSeg.printSegment(theSeg) This line is not what I would expect. ? What is this approach called?? Why would you want to do this?? It works.? I can kind of see why it works, but what are the pros/cons as compared to the standard approach like below? theSeg.printSegment() From jefferson.r.heard at gmail.com Thu Nov 3 21:57:40 2016 From: jefferson.r.heard at gmail.com (Jeff Heard) Date: Thu, 3 Nov 2016 21:57:40 -0400 Subject: [TriPython] Let's talk about classes: invoking class methods with the class name In-Reply-To: References: Message-ID: I would call it "message passing style" personally, but I'm not sure it has a name. similar though to the way Smalltalk or Common Lisp's methods work. I don't think it's "good python style" but you *could* technically pass an object that is not of type LineSeg, not even related, and as along as it "walks like a duck and quacks like a duck it would ... um, swim like a duck. On Thu, Nov 3, 2016 at 9:35 PM, Laura Tateosian wrote: > Hello all, > I would like to hear your take on this. Say you have defined a class and > instantiated an instance as below. > > class LineSeg: > def __init__(self, x1, y1, x2, y2): > self.x1 = x1 > self.y1 = y1 > self.x2 = x2 > self.y2 = y2 > def printSegment(self): > print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) > print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) > theSeg = LineSeg(1,2,3,4) > Then suppose you then invoke the printSegment method like below... > LineSeg.printSegment(theSeg) > This line is not what I would expect. What is this approach called? > Why > would you want to do this? It works. I can kind of see why it works, > but > what are the pros/cons as compared to the standard approach like below? > theSeg.printSegment() > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group > -------------- next part -------------- I would call it "message passing style" personally, but I'm not sure it has a name. ?similar though to the way Smalltalk or Common Lisp's methods work.? I don't think it's "good python style" but you *could* technically pass an object that is not of type LineSeg, not even related, and as along as it "walks like a duck and quacks like a duck it would ... um, swim like a duck. On Thu, Nov 3, 2016 at 9:35 PM, Laura Tateosian <[1]lgtateos at ncsu.edu> wrote: ? ?Hello all, ? ?I would like to hear your take on this. Say you have defined a class and ? ?instantiated an instance as below. ? ??? ? ?class LineSeg: ? ?? ? def __init__(self, x1, y1, x2, y2): ? ?? ? ? ? self.x1 = x1 ? ?? ? ? ? self.y1 = y1 ? ?? ? ? ? self.x2 = x2 ? ?? ? ? ? self.y2 = y2 ? ?? ? def printSegment(self): ? ?? ? ? ? print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) ? ?? ? ? ? print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) ? ?theSeg = LineSeg(1,2,3,4) ? ?Then suppose you then invoke the printSegment method like below... ? ?LineSeg.printSegment(theSeg) ? ?This line is not what I would expect. ? What is this approach called?? Why ? ?would you want to do this?? It works.? I can kind of see why it works, but ? ?what are the pros/cons as compared to the standard approach like below? ? ?theSeg.printSegment() _______________________________________________ TriZPUG mailing list [2]TriZPUG at python.org [3]https://mail.python.org/mailman/listinfo/trizpug [4]http://tripython.org is the Triangle Python Users Group References Visible links 1. mailto:lgtateos at ncsu.edu 2. mailto:TriZPUG at python.org 3. https://mail.python.org/mailman/listinfo/trizpug 4. http://tripython.org/ From ironfroggy at gmail.com Thu Nov 3 23:18:51 2016 From: ironfroggy at gmail.com (Calvin Spealman) Date: Thu, 3 Nov 2016 23:18:51 -0400 Subject: [TriPython] Let's talk about classes: invoking class methods with the class name In-Reply-To: References: Message-ID: Depending on the context, and based on the code style (it looks like a fairly older style) this is a pattern that I used to see to invoke a method on a *specific* class of an instance which might have more than one class through inheritance. On Thu, Nov 3, 2016 at 9:57 PM, Jeff Heard wrote: > I would call it "message passing style" personally, but I'm not sure it > has a name. similar though to the way Smalltalk or Common Lisp's > methods > work. I don't think it's "good python style" but you *could* > technically > pass an object that is not of type LineSeg, not even related, and as > along > as it "walks like a duck and quacks like a duck it would ... um, swim > like > a duck. > On Thu, Nov 3, 2016 at 9:35 PM, Laura Tateosian <[1]lgtateos at ncsu.edu> > wrote: > > Hello all, > I would like to hear your take on this. Say you have defined a > class > and > instantiated an instance as below. > > class LineSeg: > def __init__(self, x1, y1, x2, y2): > self.x1 = x1 > self.y1 = y1 > self.x2 = x2 > self.y2 = y2 > def printSegment(self): > print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) > print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) > theSeg = LineSeg(1,2,3,4) > Then suppose you then invoke the printSegment method like below... > LineSeg.printSegment(theSeg) > This line is not what I would expect. What is this approach > called? Why > would you want to do this? It works. I can kind of see why it > works, but > what are the pros/cons as compared to the standard approach like > below? > theSeg.printSegment() > > _______________________________________________ > TriZPUG mailing list > [2]TriZPUG at python.org > [3]https://mail.python.org/mailman/listinfo/trizpug > [4]http://tripython.org is the Triangle Python Users Group > > References > > Visible links > 1. mailto:lgtateos at ncsu.edu > 2. mailto:TriZPUG at python.org > 3. https://mail.python.org/mailman/listinfo/trizpug > 4. http://tripython.org/ > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group > -- Read my blog! I depend on your acceptance of my opinion! I am interesting! http://hub.ironfroggy.com/ Follow me if you're into that sort of thing: http://www.twitter.com/ironfroggy -------------- next part -------------- Depending on the context, and based on the code style (it looks like a fairly older style) this is a pattern that I used to see to invoke a method on a *specific* class of an instance which might have more than one class through inheritance. On Thu, Nov 3, 2016 at 9:57 PM, Jeff Heard <[1]jefferson.r.heard at gmail.com> wrote: ? ?I would call it "message passing style" personally, but I'm not sure it ? ?has a name. ?similar though to the way Smalltalk or Common Lisp's methods ? ?work.? I don't think it's "good python style" but you *could* technically ? ?pass an object that is not of type LineSeg, not even related, and as along ? ?as it "walks like a duck and quacks like a duck it would ... um, swim like ? ?a duck. ? ?On Thu, Nov 3, 2016 at 9:35 PM, Laura Tateosian <[1][2]lgtateos at ncsu.edu> ? ?wrote: ? ? ?? ?Hello all, ? ? ?? ?I would like to hear your take on this. Say you have defined a class ? ? ?and ? ? ?? ?instantiated an instance as below. ? ? ?? ??? ? ? ?? ?class LineSeg: ? ? ?? ?? ? def __init__(self, x1, y1, x2, y2): ? ? ?? ?? ? ? ? self.x1 = x1 ? ? ?? ?? ? ? ? self.y1 = y1 ? ? ?? ?? ? ? ? self.x2 = x2 ? ? ?? ?? ? ? ? self.y2 = y2 ? ? ?? ?? ? def printSegment(self): ? ? ?? ?? ? ? ? print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) ? ? ?? ?? ? ? ? print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) ? ? ?? ?theSeg = LineSeg(1,2,3,4) ? ? ?? ?Then suppose you then invoke the printSegment method like below... ? ? ?? ?LineSeg.printSegment(theSeg) ? ? ?? ?This line is not what I would expect. ? What is this approach ? ? ?called?? Why ? ? ?? ?would you want to do this?? It works.? I can kind of see why it ? ? ?works, but ? ? ?? ?what are the pros/cons as compared to the standard approach like ? ? ?below? ? ? ?? ?theSeg.printSegment() ? ? ?_______________________________________________ ? ? ?TriZPUG mailing list ? ? ?[2][3]TriZPUG at python.org ? ? ?[3][4]https://mail.python.org/mailman/listinfo/trizpug ? ? ?[4][5]http://tripython.org is the Triangle Python Users Group References ? ?Visible links ? ?1. mailto:[6]lgtateos at ncsu.edu ? ?2. mailto:[7]TriZPUG at python.org ? ?3. [8]https://mail.python.org/mailman/listinfo/trizpug ? ?4. [9]http://tripython.org/ _______________________________________________ TriZPUG mailing list [10]TriZPUG at python.org [11]https://mail.python.org/mailman/listinfo/trizpug [12]http://tripython.org is the Triangle Python Users Group -- Read my blog! I depend on your acceptance of my opinion! I am interesting! [13]http://hub.ironfroggy.com/ Follow me if you're into that sort of thing: [14]http://www.twitter.com/ironfroggy References Visible links 1. mailto:jefferson.r.heard at gmail.com 2. mailto:lgtateos at ncsu.edu 3. mailto:TriZPUG at python.org 4. https://mail.python.org/mailman/listinfo/trizpug 5. http://tripython.org/ 6. mailto:lgtateos at ncsu.edu 7. mailto:TriZPUG at python.org 8. https://mail.python.org/mailman/listinfo/trizpug 9. http://tripython.org/ 10. mailto:TriZPUG at python.org 11. https://mail.python.org/mailman/listinfo/trizpug 12. http://tripython.org/ 13. http://hub.ironfroggy.com/ 14. http://www.twitter.com/ironfroggy From jefferson.r.heard at gmail.com Fri Nov 4 11:09:34 2016 From: jefferson.r.heard at gmail.com (Jeff Heard) Date: Fri, 4 Nov 2016 11:09:34 -0400 Subject: [TriPython] Let's talk about classes: invoking class methods with the class name In-Reply-To: References: Message-ID: Also, yes, as Calvin said. If you had inherited from one or multiple classes, this lets you control what super-class's method implementation you call, usually within your class implementation. class C(A, B): # use the method defined in B, rather than leave it up to the interpreter default. def method_defined_in_a_and_b(self, *args, **kwargs): return B.method_defined_in_a_and_b(self, *args, **kwargs) On Thu, Nov 3, 2016 at 11:18 PM, Calvin Spealman wrote: > Depending on the context, and based on the code style (it looks like a > fairly older style) this is a pattern that I used to see to invoke a > method on a *specific* class of an instance which might have more than > one > class through inheritance. > On Thu, Nov 3, 2016 at 9:57 PM, Jeff Heard > <[1]jefferson.r.heard at gmail.com> wrote: > > I would call it "message passing style" personally, but I'm not > sure > it > has a name. similar though to the way Smalltalk or Common Lisp's > methods > work. I don't think it's "good python style" but you *could* > technically > pass an object that is not of type LineSeg, not even related, and > as > along > as it "walks like a duck and quacks like a duck it would ... um, > swim > like > a duck. > On Thu, Nov 3, 2016 at 9:35 PM, Laura Tateosian > <[1][2]lgtateos at ncsu.edu> > wrote: > > Hello all, > I would like to hear your take on this. Say you have defined a > class > and > instantiated an instance as below. > > class LineSeg: > def __init__(self, x1, y1, x2, y2): > self.x1 = x1 > self.y1 = y1 > self.x2 = x2 > self.y2 = y2 > def printSegment(self): > print 'Endpoint 1:( {0}, {1} > )'.format(self.x1,self.y1) > print 'Endpoint 2:( {0}, {1} > )'.format(self.x2,self.y2) > theSeg = LineSeg(1,2,3,4) > Then suppose you then invoke the printSegment method like > below... > LineSeg.printSegment(theSeg) > This line is not what I would expect. What is this approach > called? Why > would you want to do this? It works. I can kind of see why > it > works, but > what are the pros/cons as compared to the standard approach > like > below? > theSeg.printSegment() > > _______________________________________________ > TriZPUG mailing list > [2][3]TriZPUG at python.org > [3][4]https://mail.python.org/mailman/listinfo/trizpug > [4][5]http://tripython.org is the Triangle Python Users Group > > References > > Visible links > 1. mailto:[6]lgtateos at ncsu.edu > 2. mailto:[7]TriZPUG at python.org > 3. [8]https://mail.python.org/mailman/listinfo/trizpug > 4. [9]http://tripython.org/ > > _______________________________________________ > TriZPUG mailing list > [10]TriZPUG at python.org > [11]https://mail.python.org/mailman/listinfo/trizpug > [12]http://tripython.org is the Triangle Python Users Group > > -- > Read my blog! I depend on your acceptance of my opinion! I am > interesting! > [13]http://hub.ironfroggy.com/ > Follow me if you're into that sort of thing: > [14]http://www.twitter.com/ironfroggy > > References > > Visible links > 1. mailto:jefferson.r.heard at gmail.com > 2. mailto:lgtateos at ncsu.edu > 3. mailto:TriZPUG at python.org > 4. https://mail.python.org/mailman/listinfo/trizpug > 5. http://tripython.org/ > 6. mailto:lgtateos at ncsu.edu > 7. mailto:TriZPUG at python.org > 8. https://mail.python.org/mailman/listinfo/trizpug > 9. http://tripython.org/ > 10. mailto:TriZPUG at python.org > 11. https://mail.python.org/mailman/listinfo/trizpug > 12. http://tripython.org/ > 13. http://hub.ironfroggy.com/ > 14. http://www.twitter.com/ironfroggy > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group > -------------- next part -------------- Also, yes, as Calvin said. If you had inherited from one or multiple classes, this lets you control what super-class's method implementation you call, usually within your class implementation. class C(A, B): ? # use the method defined in B, rather than leave it up to the interpreter default. ? def method_defined_in_a_and_b(self, *args, **kwargs): ? ? ?return B.method_defined_in_a_and_b(self, *args, **kwargs) On Thu, Nov 3, 2016 at 11:18 PM, Calvin Spealman <[1]ironfroggy at gmail.com> wrote: ? ?Depending on the context, and based on the code style (it looks like a ? ?fairly older style) this is a pattern that I used to see to invoke a ? ?method on a *specific* class of an instance which might have more than one ? ?class through inheritance. ? ?On Thu, Nov 3, 2016 at 9:57 PM, Jeff Heard ? ?<[1][2]jefferson.r.heard at gmail.com> wrote: ? ? ?? ?I would call it "message passing style" personally, but I'm not sure ? ? ?it ? ? ?? ?has a name. ?similar though to the way Smalltalk or Common Lisp's ? ? ?methods ? ? ?? ?work.? I don't think it's "good python style" but you *could* ? ? ?technically ? ? ?? ?pass an object that is not of type LineSeg, not even related, and as ? ? ?along ? ? ?? ?as it "walks like a duck and quacks like a duck it would ... um, swim ? ? ?like ? ? ?? ?a duck. ? ? ?? ?On Thu, Nov 3, 2016 at 9:35 PM, Laura Tateosian ? ? ?<[1][2][3]lgtateos at ncsu.edu> ? ? ?? ?wrote: ? ? ?? ? ?? ?Hello all, ? ? ?? ? ?? ?I would like to hear your take on this. Say you have defined a ? ? ?class ? ? ?? ? ?and ? ? ?? ? ?? ?instantiated an instance as below. ? ? ?? ? ?? ??? ? ? ?? ? ?? ?class LineSeg: ? ? ?? ? ?? ?? ? def __init__(self, x1, y1, x2, y2): ? ? ?? ? ?? ?? ? ? ? self.x1 = x1 ? ? ?? ? ?? ?? ? ? ? self.y1 = y1 ? ? ?? ? ?? ?? ? ? ? self.x2 = x2 ? ? ?? ? ?? ?? ? ? ? self.y2 = y2 ? ? ?? ? ?? ?? ? def printSegment(self): ? ? ?? ? ?? ?? ? ? ? print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) ? ? ?? ? ?? ?? ? ? ? print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) ? ? ?? ? ?? ?theSeg = LineSeg(1,2,3,4) ? ? ?? ? ?? ?Then suppose you then invoke the printSegment method like ? ? ?below... ? ? ?? ? ?? ?LineSeg.printSegment(theSeg) ? ? ?? ? ?? ?This line is not what I would expect. ? What is this approach ? ? ?? ? ?called?? Why ? ? ?? ? ?? ?would you want to do this?? It works.? I can kind of see why it ? ? ?? ? ?works, but ? ? ?? ? ?? ?what are the pros/cons as compared to the standard approach like ? ? ?? ? ?below? ? ? ?? ? ?? ?theSeg.printSegment() ? ? ?? ? ?_______________________________________________ ? ? ?? ? ?TriZPUG mailing list ? ? ?? ? ?[2][3][4]TriZPUG at python.org ? ? ?? ? ?[3][4][5]https://mail.python.org/mailman/listinfo/trizpug ? ? ?? ? ?[4][5][6]http://tripython.org is the Triangle Python Users Group ? ? ?References ? ? ?? ?Visible links ? ? ?? ?1. mailto:[6][7]lgtateos at ncsu.edu ? ? ?? ?2. mailto:[7][8]TriZPUG at python.org ? ? ?? ?3. [8][9]https://mail.python.org/mailman/listinfo/trizpug ? ? ?? ?4. [9][10]http://tripython.org/ ? ? ?_______________________________________________ ? ? ?TriZPUG mailing list ? ? ?[10][11]TriZPUG at python.org ? ? ?[11][12]https://mail.python.org/mailman/listinfo/trizpug ? ? ?[12][13]http://tripython.org is the Triangle Python Users Group ? ?-- ? ?Read my blog! I depend on your acceptance of my opinion! I am interesting! ? ?[13][14]http://hub.ironfroggy.com/ ? ?Follow me if you're into that sort of thing: ? ?[14][15]http://www.twitter.com/ironfroggy References ? ?Visible links ? ?1. mailto:[16]jefferson.r.heard at gmail.com ? ?2. mailto:[17]lgtateos at ncsu.edu ? ?3. mailto:[18]TriZPUG at python.org ? ?4. [19]https://mail.python.org/mailman/listinfo/trizpug ? ?5. [20]http://tripython.org/ ? ?6. mailto:[21]lgtateos at ncsu.edu ? ?7. mailto:[22]TriZPUG at python.org ? ?8. [23]https://mail.python.org/mailman/listinfo/trizpug ? ?9. [24]http://tripython.org/ ? 10. mailto:[25]TriZPUG at python.org ? 11. [26]https://mail.python.org/mailman/listinfo/trizpug ? 12. [27]http://tripython.org/ ? 13. [28]http://hub.ironfroggy.com/ ? 14. [29]http://www.twitter.com/ironfroggy _______________________________________________ TriZPUG mailing list [30]TriZPUG at python.org [31]https://mail.python.org/mailman/listinfo/trizpug [32]http://tripython.org is the Triangle Python Users Group References Visible links 1. mailto:ironfroggy at gmail.com 2. mailto:jefferson.r.heard at gmail.com 3. mailto:lgtateos at ncsu.edu 4. mailto:TriZPUG at python.org 5. https://mail.python.org/mailman/listinfo/trizpug 6. http://tripython.org/ 7. mailto:lgtateos at ncsu.edu 8. mailto:TriZPUG at python.org 9. https://mail.python.org/mailman/listinfo/trizpug 10. http://tripython.org/ 11. mailto:TriZPUG at python.org 12. https://mail.python.org/mailman/listinfo/trizpug 13. http://tripython.org/ 14. http://hub.ironfroggy.com/ 15. http://www.twitter.com/ironfroggy 16. mailto:jefferson.r.heard at gmail.com 17. mailto:lgtateos at ncsu.edu 18. mailto:TriZPUG at python.org 19. https://mail.python.org/mailman/listinfo/trizpug 20. http://tripython.org/ 21. mailto:lgtateos at ncsu.edu 22. mailto:TriZPUG at python.org 23. https://mail.python.org/mailman/listinfo/trizpug 24. http://tripython.org/ 25. mailto:TriZPUG at python.org 26. https://mail.python.org/mailman/listinfo/trizpug 27. http://tripython.org/ 28. http://hub.ironfroggy.com/ 29. http://www.twitter.com/ironfroggy 30. mailto:TriZPUG at python.org 31. https://mail.python.org/mailman/listinfo/trizpug 32. http://tripython.org/ From cbc at unc.edu Fri Nov 4 14:02:37 2016 From: cbc at unc.edu (Chris Calloway) Date: Fri, 4 Nov 2016 14:02:37 -0400 Subject: [TriPython] Let's talk about classes: invoking class methods with the class name In-Reply-To: References: Message-ID: On 11/3/16 9:35 PM, Laura Tateosian wrote: > Hello all, > I would like to hear your take on this. Say you have defined a class and > instantiated an instance as below. > > class LineSeg: > def __init__(self, x1, y1, x2, y2): > self.x1 = x1 > self.y1 = y1 > self.x2 = x2 > self.y2 = y2 > def printSegment(self): > print 'Endpoint 1:( {0}, {1} )'.format(self.x1,self.y1) > print 'Endpoint 2:( {0}, {1} )'.format(self.x2,self.y2) > theSeg = LineSeg(1,2,3,4) > Then suppose you then invoke the printSegment method like below... > LineSeg.printSegment(theSeg) > This line is not what I would expect. What is this approach called? Why > would you want to do this? It works. I can kind of see why it works, but > what are the pros/cons as compared to the standard approach like below? > theSeg.printSegment() I would add to what others have said that this is pretty close to using printSegment as a static method. As, I'm sure you know the expected way to call printSegment is as an instance method in which the self parameter is automatically bound to the instance on which the method is called: theSeg.printSegment() If your intent is to use printSegment as a static method, it should be so declared for clarity that you are explicitly binding an instance to the method's parameter: class LineSeg: def __init__(self, x1, y1, x2, y2): self.x1 = x1 self.y1 = y1 self.x2 = x2 self.y2 = y2 @staticmethod def printSegment(instance): print 'Endpoint 1:( {0}, {1} )'.format(instance.x1,instance.y1) print 'Endpoint 2:( {0}, {1} )'.format(instance.x2,instance.y2) theSeg = LineSeg(1,2,3,4) LineSeg.printSegment(theSeg) That is, unless the case is what Calvin brought up that you are attempting to be explicit regarding which class supplies an inherited instance method in a multiple inheritance search order. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From livalencia at my.waketech.edu Tue Nov 8 08:52:32 2016 From: livalencia at my.waketech.edu (Luis Valencia) Date: Tue, 8 Nov 2016 13:52:32 +0000 Subject: [TriPython] Regular Expressions Message-ID: Hello all, I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I can use this to match if someone's name does not match the said pattern before making a call to the API. The documentation states the following: "The full set of allowed characters across regions includes any visible Unicode letter characters, digits (0-9), spaces, underscores, and periods. Other than that, no punctuation characters are allowed. Thus, the regular expression to use for validating summoner names would be "^[0-9\p{L} _\.]+$". You should be rejecting inputs that don't match this regular expression (i.e., that contain any punctuation characters other than periods, underscores, and spaces), rather than sending them to the API." When I try to test and type any punctuation characters other than periods, underscores, and spaces the pattern fails to recognize them. Any regex experts that could point me in the right direction. I am perhaps not understanding this correctly, and an explanation would be greatly appreciated. All the best, Luis -------------- next part -------------- Hello all, I have the following regex pattern for matching:??"^[0-9\p{L} _\.]+$".??I can use this to match if someone's ??name does not match the said pattern??before making a call to the API. The documentation states the following: "The full set of allowed characters across ??regions includes any visible Unicode letter characters, digits (0-9), spaces, underscores, and periods. Other than that, no punctuation characters are allowed. Thus, the regular expression to use for validating summoner names would be "^[0-9\p{L} _\.]+$". You should be rejecting inputs that don't match this regular expression (i.e., that contain any punctuation characters other than periods, underscores, and spaces), rather than sending them to the API." When I try to test and type any punctuation characters other than periods, underscores, and spaces the pattern fails to recognize them. Any regex experts??that??could point me in the right direction. I am perhaps not understanding this correctly, and an explanation would be greatly appreciated. All the best, Luis From devin at nacredata.com Tue Nov 8 08:59:18 2016 From: devin at nacredata.com (Devin Ceartas) Date: Tue, 8 Nov 2016 08:59:18 -0500 Subject: [TriPython] Regular Expressions In-Reply-To: References: Message-ID: <6899D695-23D7-4BED-B326-53B8EFDCF9E1@nacredata.com> Can you put together some tiny demo code? devin -- contact info: http://nacredata.com/devin > On Nov 8, 2016, at 08:52, Luis Valencia wrote: > > Hello all, > > I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I > can use this to match if someone's name does not match the said > pattern before making a call to the API. > > The documentation states the following: > > "The full set of allowed characters across regions includes any visible > Unicode letter characters, digits (0-9), spaces, underscores, and periods. > Other than that, no punctuation characters are allowed. Thus, the regular > expression to use for validating summoner names would be "^[0-9\p{L} > _\.]+$". You should be rejecting inputs that don't match this regular > expression (i.e., that contain any punctuation characters other than > periods, underscores, and spaces), rather than sending them to the API." > > When I try to test and type any punctuation characters other than periods, > underscores, and spaces the pattern fails to recognize them. > > Any regex experts that could point me in the right direction. I am perhaps > not understanding this correctly, and an explanation would be greatly > appreciated. > > All the best, > > Luis > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group From j.alligood47 at gmail.com Tue Nov 8 09:42:42 2016 From: j.alligood47 at gmail.com (Jon Alligood) Date: Tue, 8 Nov 2016 09:42:42 -0500 Subject: [TriPython] Regular Expressions In-Reply-To: References: Message-ID: Quick question: are you using re? The re module in python doesn't support \p{L} sadly. You will have to install the regex package (https://pypi.python.org/pypi/regex/2016.10.22) which should have the support for the full unicode letter search. Cheers, Jon On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia wrote: > Hello all, > > I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I > can use this to match if someone's name does not match the said > pattern before making a call to the API. > > The documentation states the following: > > "The full set of allowed characters across regions includes any visible > Unicode letter characters, digits (0-9), spaces, underscores, and > periods. > Other than that, no punctuation characters are allowed. Thus, the > regular > expression to use for validating summoner names would be "^[0-9\p{L} > _\.]+$". You should be rejecting inputs that don't match this regular > expression (i.e., that contain any punctuation characters other than > periods, underscores, and spaces), rather than sending them to the API." > > When I try to test and type any punctuation characters other than > periods, > underscores, and spaces the pattern fails to recognize them. > > Any regex experts that could point me in the right direction. I am > perhaps > not understanding this correctly, and an explanation would be greatly > appreciated. > > All the best, > > Luis > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group > -------------- next part -------------- Quick question: are you using re? The re module in python doesn't support \p{L} sadly. You will have to install the regex package ([1]https://pypi.python.org/pypi/regex/2016.10.22) which should have the support for the full unicode letter search. Cheers, Jon On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia <[2]livalencia at my.waketech.edu> wrote: ? ?Hello all, ? ?I have the following regex pattern for matching:?"^[0-9\p{L} _\.]+$".?I ? ?can use this to match if someone's ?name does not match the said ? ?pattern?before making a call to the API. ? ?The documentation states the following: ? ?"The full set of allowed characters across ?regions includes any visible ? ?Unicode letter characters, digits (0-9), spaces, underscores, and periods. ? ?Other than that, no punctuation characters are allowed. Thus, the regular ? ?expression to use for validating summoner names would be "^[0-9\p{L} ? ?_\.]+$". You should be rejecting inputs that don't match this regular ? ?expression (i.e., that contain any punctuation characters other than ? ?periods, underscores, and spaces), rather than sending them to the API." ? ?When I try to test and type any punctuation characters other than periods, ? ?underscores, and spaces the pattern fails to recognize them. ? ?Any regex experts?that?could point me in the right direction. I am perhaps ? ?not understanding this correctly, and an explanation would be greatly ? ?appreciated. ? ?All the best, ? ?Luis _______________________________________________ TriZPUG mailing list [3]TriZPUG at python.org [4]https://mail.python.org/mailman/listinfo/trizpug [5]http://tripython.org is the Triangle Python Users Group References Visible links 1. https://pypi.python.org/pypi/regex/2016.10.22 2. mailto:livalencia at my.waketech.edu 3. mailto:TriZPUG at python.org 4. https://mail.python.org/mailman/listinfo/trizpug 5. http://tripython.org/ From livalencia at my.waketech.edu Tue Nov 8 11:01:21 2016 From: livalencia at my.waketech.edu (Luis Valencia) Date: Tue, 8 Nov 2016 16:01:21 +0000 Subject: [TriPython] Regular Expressions In-Reply-To: References: , Message-ID: Thanks for the reply guys, @Devin here is a snippet that I got as a referenced from stackoverflow import re a_string = 'Python@!' pattern = re.compile("^[0-9\p{L} _\.]+$") pattern.match(a_string) if pattern.match(a_string): print('Yes') The above snipper should not return "Yes"? @jon I am using re. Thank you Luis ________________________________ From: TriZPUG on behalf of Jon Alligood Sent: Tuesday, November 8, 2016 9:42:42 AM To: Triangle (North Carolina) Python Users Group (formerly TriZPUG) Subject: Re: [TriPython] Regular Expressions Quick question: are you using re? The re module in python doesn't support \p{L} sadly. You will have to install the regex package (https://pypi.python.org/pypi/regex/2016.10.22) which should have the support for the full unicode letter search. Cheers, Jon On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia wrote: > Hello all, > > I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I > can use this to match if someone's name does not match the said > pattern before making a call to the API. > > The documentation states the following: > > "The full set of allowed characters across regions includes any visible > Unicode letter characters, digits (0-9), spaces, underscores, and > periods. > Other than that, no punctuation characters are allowed. Thus, the > regular > expression to use for validating summoner names would be "^[0-9\p{L} > _\.]+$". You should be rejecting inputs that don't match this regular > expression (i.e., that contain any punctuation characters other than > periods, underscores, and spaces), rather than sending them to the API." > > When I try to test and type any punctuation characters other than > periods, > underscores, and spaces the pattern fails to recognize them. > > Any regex experts that could point me in the right direction. I am > perhaps > not understanding this correctly, and an explanation would be greatly > appreciated. > > All the best, > > Luis > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group > -------------- next part -------------- Thanks for the reply guys, @Devin here is a snippet that I got as a referenced from??stackoverflow import re a_string = 'Python@!' pattern = re.compile("^[0-9\p{L} _\.]+$") pattern.match(a_string) if pattern.match(a_string): ?? ?? print('Yes') The above snipper should not??return "Yes"? @jon I am using re. Thank you Luis -------------------------------------------------------------------------- From: TriZPUG on behalf of Jon Alligood Sent: Tuesday, November 8, 2016 9:42:42 AM To: Triangle (North Carolina) Python Users Group (formerly TriZPUG) Subject: Re: [TriPython] Regular Expressions ?? Quick question: are you using re? The re module in python doesn't support \p{L} sadly. You will have to install the regex package ([1]https://pypi.python.org/pypi/regex/2016.10.22) which should have the support for the full unicode letter search. Cheers, Jon On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia wrote: >?????? Hello all, > >?????? I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I >?????? can use this to match if someone's?? name does not match the said >?????? pattern before making a call to the API. > >?????? The documentation states the following: > >?????? "The full set of allowed characters across?? regions includes any visible >?????? Unicode letter characters, digits (0-9), spaces, underscores, and > periods. >?????? Other than that, no punctuation characters are allowed. Thus, the > regular >?????? expression to use for validating summoner names would be "^[0-9\p{L} >?????? _\.]+$". You should be rejecting inputs that don't match this regular >?????? expression (i.e., that contain any punctuation characters other than >?????? periods, underscores, and spaces), rather than sending them to the API." > >?????? When I try to test and type any punctuation characters other than > periods, >?????? underscores, and spaces the pattern fails to recognize them. > >?????? Any regex experts that could point me in the right direction. I am > perhaps >?????? not understanding this correctly, and an explanation would be greatly >?????? appreciated. > >?????? All the best, > >?????? Luis > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > [2]https://mail.python.org/mailman/listinfo/trizpug > [3]http://tripython.org is the Triangle Python Users Group > References Visible links 1. https://pypi.python.org/pypi/regex/2016.10.22 2. https://mail.python.org/mailman/listinfo/trizpug 3. http://tripython.org/ From david.lanouette at gmail.com Tue Nov 8 11:30:46 2016 From: david.lanouette at gmail.com (David Lanouette) Date: Tue, 8 Nov 2016 11:30:46 -0500 Subject: [TriPython] Regular Expressions In-Reply-To: References: Message-ID: Try http://www.pyregex.com/ It lets you test your expressions out on your own sample input. NOTE: this is just one such sites. There are quite a few others. ______________________________ - David Lanouette - David.Lanouette at GMail.com - 919-610-6656 Enter by the narrow gate. For the gate is wide and the way is easy that leads to destruction, and those who enter by it are many. For the gate is narrow and the way is hard that leads to life, and those who find it are few. - Matt 7:13-14 On Tue, Nov 8, 2016 at 11:01 AM, Luis Valencia wrote: > Thanks for the reply guys, @Devin here is a snippet that I got as a > referenced from stackoverflow > > import re > > a_string = 'Python@!' > pattern = re.compile("^[0-9\p{L} _\.]+$") > pattern.match(a_string) > > if pattern.match(a_string): > > print('Yes') > > The above snipper should not return "Yes"? > > @jon I am using re. > > Thank you > > Luis > > ------------------------------------------------------------ > -------------- > > From: TriZPUG > on > behalf of Jon Alligood > Sent: Tuesday, November 8, 2016 9:42:42 AM > To: Triangle (North Carolina) Python Users Group (formerly TriZPUG) > Subject: Re: [TriPython] Regular Expressions > > Quick question: are you using re? > > The re module in python doesn't support \p{L} sadly. You will have to > install the regex package > ([1]https://pypi.python.org/pypi/regex/2016.10.22) > which should have the support for the full unicode letter search. > > Cheers, > Jon > > On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia < > livalencia at my.waketech.edu> > wrote: > > > Hello all, > > > > I have the following regex pattern for matching: "^[0-9\p{L} > _\.]+$". > I > > can use this to match if someone's name does not match the said > > pattern before making a call to the API. > > > > The documentation states the following: > > > > "The full set of allowed characters across regions includes any > visible > > Unicode letter characters, digits (0-9), spaces, underscores, and > > periods. > > Other than that, no punctuation characters are allowed. Thus, the > > regular > > expression to use for validating summoner names would be > "^[0-9\p{L} > > _\.]+$". You should be rejecting inputs that don't match this > regular > > expression (i.e., that contain any punctuation characters other > than > > periods, underscores, and spaces), rather than sending them to the > API." > > > > When I try to test and type any punctuation characters other than > > periods, > > underscores, and spaces the pattern fails to recognize them. > > > > Any regex experts that could point me in the right direction. I am > > perhaps > > not understanding this correctly, and an explanation would be > greatly > > appreciated. > > > > All the best, > > > > Luis > > > > _______________________________________________ > > TriZPUG mailing list > > TriZPUG at python.org > > [2]https://mail.python.org/mailman/listinfo/trizpug > > [3]http://tripython.org is the Triangle Python Users Group > > > > References > > Visible links > 1. https://pypi.python.org/pypi/regex/2016.10.22 > 2. https://mail.python.org/mailman/listinfo/trizpug > 3. http://tripython.org/ > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users Group > -------------- next part -------------- Try [1]http://www.pyregex.com/? It lets you test your expressions out on your own sample input.? NOTE: this is just one such sites.? There are quite a few others. ______________________________ - David Lanouette - David.Lanouette at GMail.com - 919-610-6656 Enter by the narrow gate. For the gate is wide and the way is easy that leads to destruction, and those who enter by it are many.? For the gate is narrow and the way is hard that leads to life, and those who find it are few. - Matt 7:13-14 On Tue, Nov 8, 2016 at 11:01 AM, Luis Valencia <[2]livalencia at my.waketech.edu> wrote: ? ?Thanks for the reply guys, @Devin here is a snippet that I got as a ? ?referenced from?stackoverflow ?import re ?a_string = 'Python@!' ?pattern = re.compile("^[0-9\p{L} _\.]+$") ?pattern.match(a_string) ? ?if pattern.match(a_string): ? ?? ? print('Yes') ? ?The above snipper should not?return "Yes"? ? ?@jon I am using re. ? ?Thank you ? ?Luis ? ?-------------------------------------------------------------------------- ? ?From: TriZPUG on ? ?behalf of Jon Alligood <[4]j.alligood47 at gmail.com> ? ?Sent: Tuesday, November 8, 2016 9:42:42 AM ? ?To: Triangle (North Carolina) Python Users Group (formerly TriZPUG) ? ?Subject: Re: [TriPython] Regular Expressions ? ?? ? ?Quick question: are you using re? ? ?The re module in python doesn't support \p{L} sadly. You will have to ? ?install the regex package ? ?([1][5]https://pypi.python.org/pypi/regex/2016.10.22) ? ?which should have the support for the full unicode letter search. ? ?Cheers, ? ?Jon ? ?On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia <[6]livalencia at my.waketech.edu> ? ?wrote: ? ?>??? Hello all, ? ?> ? ?>??? I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". ? ?I ? ?>??? can use this to match if someone's? name does not match the said ? ?>??? pattern before making a call to the API. ? ?> ? ?>??? The documentation states the following: ? ?> ? ?>??? "The full set of allowed characters across? regions includes any ? ?visible ? ?>??? Unicode letter characters, digits (0-9), spaces, underscores, and ? ?> periods. ? ?>??? Other than that, no punctuation characters are allowed. Thus, the ? ?> regular ? ?>??? expression to use for validating summoner names would be "^[0-9\p{L} ? ?>??? _\.]+$". You should be rejecting inputs that don't match this regular ? ?>??? expression (i.e., that contain any punctuation characters other than ? ?>??? periods, underscores, and spaces), rather than sending them to the ? ?API." ? ?> ? ?>??? When I try to test and type any punctuation characters other than ? ?> periods, ? ?>??? underscores, and spaces the pattern fails to recognize them. ? ?> ? ?>??? Any regex experts that could point me in the right direction. I am ? ?> perhaps ? ?>??? not understanding this correctly, and an explanation would be greatly ? ?>??? appreciated. ? ?> ? ?>??? All the best, ? ?> ? ?>??? Luis ? ?> ? ?> _______________________________________________ ? ?> TriZPUG mailing list ? ?> [7]TriZPUG at python.org ? ?> [2][8]https://mail.python.org/mailman/listinfo/trizpug ? ?> [3][9]http://tripython.org is the Triangle Python Users Group ? ?> References ? ?Visible links ? ?1. [10]https://pypi.python.org/pypi/regex/2016.10.22 ? ?2. [11]https://mail.python.org/mailman/listinfo/trizpug ? ?3. [12]http://tripython.org/ _______________________________________________ TriZPUG mailing list [13]TriZPUG at python.org [14]https://mail.python.org/mailman/listinfo/trizpug [15]http://tripython.org is the Triangle Python Users Group References Visible links 1. http://www.pyregex.com/ 2. mailto:livalencia at my.waketech.edu 3. mailto:my.waketech.edu at python.org 4. mailto:j.alligood47 at gmail.com 5. https://pypi.python.org/pypi/regex/2016.10.22 6. mailto:livalencia at my.waketech.edu 7. mailto:TriZPUG at python.org 8. https://mail.python.org/mailman/listinfo/trizpug 9. http://tripython.org/ 10. https://pypi.python.org/pypi/regex/2016.10.22 11. https://mail.python.org/mailman/listinfo/trizpug 12. http://tripython.org/ 13. mailto:TriZPUG at python.org 14. https://mail.python.org/mailman/listinfo/trizpug 15. http://tripython.org/ From david at handysoftware.com Tue Nov 8 13:17:43 2016 From: david at handysoftware.com (David Handy) Date: Tue, 8 Nov 2016 13:17:43 -0500 (EST) Subject: [TriPython] Regular Expressions In-Reply-To: References: Message-ID: <1478629063.17014127@apps.rackspace.com> Thank you, Jon! I checked the Python re module documentation [1] again and again and couldn't find any reference to \p{L}. It's good to know that I'm not going blind; it truly is not supported. Luis, your regular expression is not working because you are trying to use non-supported features. David H [1] https://docs.python.org/3/library/re.html#module-re On Tuesday, November 8, 2016 9:42am, "Jon Alligood" said: > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users GroupQuick question: are you > using re? > > The re module in python doesn't support \p{L} sadly. You will have to > install the regex package (https://pypi.python.org/pypi/regex/2016.10.22) > which should have the support for the full unicode letter search. > > Cheers, > Jon > > On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia > wrote: > >> Hello all, >> >> I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I >> can use this to match if someone's name does not match the said >> pattern before making a call to the API. >> >> The documentation states the following: >> >> "The full set of allowed characters across regions includes any visible >> Unicode letter characters, digits (0-9), spaces, underscores, and >> periods. >> Other than that, no punctuation characters are allowed. Thus, the >> regular >> expression to use for validating summoner names would be "^[0-9\p{L} >> _\.]+$". You should be rejecting inputs that don't match this regular >> expression (i.e., that contain any punctuation characters other than >> periods, underscores, and spaces), rather than sending them to the API." >> >> When I try to test and type any punctuation characters other than >> periods, >> underscores, and spaces the pattern fails to recognize them. >> >> Any regex experts that could point me in the right direction. I am >> perhaps >> not understanding this correctly, and an explanation would be greatly >> appreciated. >> >> All the best, >> >> Luis >> >> _______________________________________________ >> TriZPUG mailing list >> TriZPUG at python.org >> https://mail.python.org/mailman/listinfo/trizpug >> http://tripython.org is the Triangle Python Users Group >> > Quick question: are you using re? > The re module in python doesn't support \p{L} sadly. You will have to > install the regex package > ([1]https://pypi.python.org/pypi/regex/2016.10.22) which should have the > support for the full unicode letter search. > Cheers, > Jon > On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia > <[2]livalencia at my.waketech.edu> wrote: > > ? ?Hello all, > > ? ?I have the following regex pattern for > matching:?"^[0-9\p{L} > _\.]+$".?I > ? ?can use this to match if someone's ?name does not match the > said > ? ?pattern?before making a call to the API. > > ? ?The documentation states the following: > > ? ?"The full set of allowed characters across ?regions > includes any > visible > ? ?Unicode letter characters, digits (0-9), spaces, underscores, > and > periods. > ? ?Other than that, no punctuation characters are allowed. Thus, > the > regular > ? ?expression to use for validating summoner names would be > "^[0-9\p{L} > ? ?_\.]+$". You should be rejecting inputs that don't match this > regular > ? ?expression (i.e., that contain any punctuation characters other > than > ? ?periods, underscores, and spaces), rather than sending them to > the > API." > > ? ?When I try to test and type any punctuation characters other > than > periods, > ? ?underscores, and spaces the pattern fails to recognize them. > > ? ?Any regex experts?that?could point me in the right > direction. I am > perhaps > ? ?not understanding this correctly, and an explanation would be > greatly > ? ?appreciated. > > ? ?All the best, > > ? ?Luis > > _______________________________________________ > TriZPUG mailing list > [3]TriZPUG at python.org > [4]https://mail.python.org/mailman/listinfo/trizpug > [5]http://tripython.org is the Triangle Python Users Group > > References > > Visible links > 1. https://pypi.python.org/pypi/regex/2016.10.22 > 2. mailto:livalencia at my.waketech.edu > 3. mailto:TriZPUG at python.org > 4. https://mail.python.org/mailman/listinfo/trizpug > 5. http://tripython.org/ > From aikimark at aol.com Tue Nov 8 15:10:30 2016 From: aikimark at aol.com (Mark Hutchinson) Date: Tue, 8 Nov 2016 15:10:30 -0500 Subject: [TriPython] Regular Expressions Message-ID: <15845903b7c-f91-23f2@webstg-m04.mail.aol.com> I usually test my regex patterns at myregextester.com. This pattern will match the alphanumeric and space characters starting at the beginning of the string: "^[\w ]+\b" I'm not sure what you are trying to match at the end of the string in your posted example. Mark -------------- next part -------------- I usually test my regex patterns at myregextester.com. This pattern will match the alphanumeric and space characters starting at the beginning of the string: "^[\w ]+\b" I'm not sure what you are trying to match at the end of the string in your posted example. Mark From livalencia at my.waketech.edu Wed Nov 9 08:45:45 2016 From: livalencia at my.waketech.edu (Luis Valencia) Date: Wed, 9 Nov 2016 13:45:45 +0000 Subject: [TriPython] Regular Expressions In-Reply-To: <1478629063.17014127@apps.rackspace.com> References: , <1478629063.17014127@apps.rackspace.com> Message-ID: Thank you all for your help! ________________________________ From: TriZPUG on behalf of David Handy Sent: Tuesday, November 8, 2016 1:17:43 PM To: Triangle (North Carolina) Python Users Group (formerly TriZPUG) Subject: Re: [TriPython] Regular Expressions Thank you, Jon! I checked the Python re module documentation [1] again and again and couldn't find any reference to \p{L}. It's good to know that I'm not going blind; it truly is not supported. Luis, your regular expression is not working because you are trying to use non-supported features. David H [1] https://docs.python.org/3/library/re.html#module-re On Tuesday, November 8, 2016 9:42am, "Jon Alligood" said: > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://tripython.org is the Triangle Python Users GroupQuick question: are you > using re? > > The re module in python doesn't support \p{L} sadly. You will have to > install the regex package (https://pypi.python.org/pypi/regex/2016.10.22) > which should have the support for the full unicode letter search. > > Cheers, > Jon > > On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia > wrote: > >> Hello all, >> >> I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I >> can use this to match if someone's name does not match the said >> pattern before making a call to the API. >> >> The documentation states the following: >> >> "The full set of allowed characters across regions includes any visible >> Unicode letter characters, digits (0-9), spaces, underscores, and >> periods. >> Other than that, no punctuation characters are allowed. Thus, the >> regular >> expression to use for validating summoner names would be "^[0-9\p{L} >> _\.]+$". You should be rejecting inputs that don't match this regular >> expression (i.e., that contain any punctuation characters other than >> periods, underscores, and spaces), rather than sending them to the API." >> >> When I try to test and type any punctuation characters other than >> periods, >> underscores, and spaces the pattern fails to recognize them. >> >> Any regex experts that could point me in the right direction. I am >> perhaps >> not understanding this correctly, and an explanation would be greatly >> appreciated. >> >> All the best, >> >> Luis >> >> _______________________________________________ >> TriZPUG mailing list >> TriZPUG at python.org >> https://mail.python.org/mailman/listinfo/trizpug >> http://tripython.org is the Triangle Python Users Group >> > Quick question: are you using re? > The re module in python doesn't support \p{L} sadly. You will have to > install the regex package > ([1]https://pypi.python.org/pypi/regex/2016.10.22) which should have the > support for the full unicode letter search. > Cheers, > Jon > On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia > <[2]livalencia at my.waketech.edu> wrote: > > Hello all, > > I have the following regex pattern for > matching: "^[0-9\p{L} > _\.]+$". I > can use this to match if someone's name does not match the > said > pattern before making a call to the API. > > The documentation states the following: > > "The full set of allowed characters across regions > includes any > visible > Unicode letter characters, digits (0-9), spaces, underscores, > and > periods. > Other than that, no punctuation characters are allowed. Thus, > the > regular > expression to use for validating summoner names would be > "^[0-9\p{L} > _\.]+$". You should be rejecting inputs that don't match this > regular > expression (i.e., that contain any punctuation characters other > than > periods, underscores, and spaces), rather than sending them to > the > API." > > When I try to test and type any punctuation characters other > than > periods, > underscores, and spaces the pattern fails to recognize them. > > Any regex experts that could point me in the right > direction. I am > perhaps > not understanding this correctly, and an explanation would be > greatly > appreciated. > > All the best, > > Luis > > _______________________________________________ > TriZPUG mailing list > [3]TriZPUG at python.org > [4]https://mail.python.org/mailman/listinfo/trizpug > [5]http://tripython.org is the Triangle Python Users Group > > References > > Visible links > 1. https://pypi.python.org/pypi/regex/2016.10.22 > 2. mailto:livalencia at my.waketech.edu > 3. mailto:TriZPUG at python.org > 4. https://mail.python.org/mailman/listinfo/trizpug > 5. http://tripython.org/ > _______________________________________________ TriZPUG mailing list TriZPUG at python.org https://mail.python.org/mailman/listinfo/trizpug http://tripython.org is the Triangle Python Users Group -------------- next part -------------- Thank you all for your help! -------------------------------------------------------------------------- From: TriZPUG on behalf of David Handy Sent: Tuesday, November 8, 2016 1:17:43 PM To: Triangle (North Carolina) Python Users Group (formerly TriZPUG) Subject: Re: [TriPython] Regular Expressions ?? Thank you, Jon! I checked the Python re module documentation [1] again and again and couldn't find any reference to \p{L}. It's good to know that I'm not going blind; it truly is not supported. Luis, your regular expression is not working because you are trying to use non-supported features. David H [1] [1]https://docs.python.org/3/library/re.html#module-re On Tuesday, November 8, 2016 9:42am, "Jon Alligood" said: > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > [2]https://mail.python.org/mailman/listinfo/trizpug > [3]http://tripython.org is the Triangle Python Users GroupQuick question: are you > using re? > > The re module in python doesn't support \p{L} sadly. You will have to > install the regex package ([4]https://pypi.python.org/pypi/regex/2016.10.22) > which should have the support for the full unicode letter search. > > Cheers, > Jon > > On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia > wrote: > >>?????? Hello all, >> >>?????? I have the following regex pattern for matching: "^[0-9\p{L} _\.]+$". I >>?????? can use this to match if someone's?? name does not match the said >>?????? pattern before making a call to the API. >> >>?????? The documentation states the following: >> >>?????? "The full set of allowed characters across?? regions includes any visible >>?????? Unicode letter characters, digits (0-9), spaces, underscores, and >> periods. >>?????? Other than that, no punctuation characters are allowed. Thus, the >> regular >>?????? expression to use for validating summoner names would be "^[0-9\p{L} >>?????? _\.]+$". You should be rejecting inputs that don't match this regular >>?????? expression (i.e., that contain any punctuation characters other than >>?????? periods, underscores, and spaces), rather than sending them to the API." >> >>?????? When I try to test and type any punctuation characters other than >> periods, >>?????? underscores, and spaces the pattern fails to recognize them. >> >>?????? Any regex experts that could point me in the right direction. I am >> perhaps >>?????? not understanding this correctly, and an explanation would be greatly >>?????? appreciated. >> >>?????? All the best, >> >>?????? Luis >> >> _______________________________________________ >> TriZPUG mailing list >> TriZPUG at python.org >> [5]https://mail.python.org/mailman/listinfo/trizpug >> [6]http://tripython.org is the Triangle Python Users Group >> >?????? Quick question: are you using re? >?????? The re module in python doesn't support \p{L} sadly. You will have to >?????? install the regex package >?????? ([1]https://pypi.python.org/pypi/regex/2016.10.22) which should have the >?????? support for the full unicode letter search. >?????? Cheers, >?????? Jon >?????? On Tue, Nov 8, 2016 at 8:52 AM, Luis Valencia >?????? <[2]livalencia at my.waketech.edu> wrote: > >?????????? ?? ??Hello all, > >?????????? ?? ??I have the following regex pattern for > matching:??"^[0-9\p{L} >?????????? _\.]+$".??I >?????????? ?? ??can use this to match if someone's ??name does not match the > said >?????????? ?? ??pattern??before making a call to the API. > >?????????? ?? ??The documentation states the following: > >?????????? ?? ??"The full set of allowed characters across ??regions > includes any >?????????? visible >?????????? ?? ??Unicode letter characters, digits (0-9), spaces, underscores, > and >?????????? periods. >?????????? ?? ??Other than that, no punctuation characters are allowed. Thus, > the >?????????? regular >?????????? ?? ??expression to use for validating summoner names would be > "^[0-9\p{L} >?????????? ?? ??_\.]+$". You should be rejecting inputs that don't match this > regular >?????????? ?? ??expression (i.e., that contain any punctuation characters other > than >?????????? ?? ??periods, underscores, and spaces), rather than sending them to > the >?????????? API." > >?????????? ?? ??When I try to test and type any punctuation characters other > than >?????????? periods, >?????????? ?? ??underscores, and spaces the pattern fails to recognize them. > >?????????? ?? ??Any regex experts??that??could point me in the right > direction. I am >?????????? perhaps >?????????? ?? ??not understanding this correctly, and an explanation would be > greatly >?????????? ?? ??appreciated. > >?????????? ?? ??All the best, > >?????????? ?? ??Luis > >?????????? _______________________________________________ >?????????? TriZPUG mailing list >?????????? [3]TriZPUG at python.org >?????????? [4]https://mail.python.org/mailman/listinfo/trizpug >?????????? [5]http://tripython.org is the Triangle Python Users Group > > References > >?????? Visible links >?????? 1. [7]https://pypi.python.org/pypi/regex/2016.10.22 >?????? 2. [8]mailto:livalencia at my.waketech.edu >?????? 3. [9]mailto:TriZPUG at python.org >?????? 4. [10]https://mail.python.org/mailman/listinfo/trizpug >?????? 5. [11]http://tripython.org/ > _______________________________________________ TriZPUG mailing list TriZPUG at python.org [12]https://mail.python.org/mailman/listinfo/trizpug [13]http://tripython.org is the Triangle Python Users Group References Visible links 1. https://docs.python.org/3/library/re.html#module-re 2. https://mail.python.org/mailman/listinfo/trizpug 3. http://tripython.org/ 4. https://pypi.python.org/pypi/regex/2016.10.22 5. https://mail.python.org/mailman/listinfo/trizpug 6. http://tripython.org/ 7. https://pypi.python.org/pypi/regex/2016.10.22 8. mailto:livalencia at my.waketech.edu 9. mailto:TriZPUG at python.org 10. https://mail.python.org/mailman/listinfo/trizpug 11. http://tripython.org/ 12. https://mail.python.org/mailman/listinfo/trizpug 13. http://tripython.org/ From cbc at unc.edu Wed Nov 9 10:47:48 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 9 Nov 2016 10:47:48 -0500 Subject: [TriPython] Regular Expressions In-Reply-To: References: Message-ID: <96db428c-e444-8aad-baed-a10c4ab8a8ea@unc.edu> Some observations to supplement the fine suggestions already put forward by the TriPython hive mind: a) If you use an online regex tester with a Python search patter, be sure the tester supports Python re like this one: https://regex101.com/ Many of the online testers are set up to use PCRE (Perl) by default. b) See Rex Dwyer's fine presentation to TriPython about the new regex extentions: https://github.com/rexdwyer/splitsville c) When talking about text, please be sure to always specify whether Python 2 or Python 3. d) If you can get your hands on the *first edition* of the O'Reilly regex book, about half of it is Python. Later editions entirely omit Python re. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Wed Nov 9 11:24:11 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 9 Nov 2016 11:24:11 -0500 Subject: [TriPython] TriPython November 2016 Meeting: The Code Review Review In-Reply-To: References: Message-ID: <171a09ff-50e3-70db-08c0-0626309fba5c@unc.edu> On 11/2/16 12:05 PM, Chris Calloway wrote: > After Erik's talk at this meeting, there will also be a 20 minute > presentation from Mark Hutchinson. The details are: > > Talk Title: Data Transformation in a Domain-Specific Language Context > > Description: > Recently, Mark worked on a problem that involved transforming data into > JSON. The input was a specification of the data structures along with > the data. Mark will show the steps involved, packages used, and the > Python code. There will be a brief presentation at the end about > domain-specific language problems and the packages that support those > solutions. > > Speaker Bio: > Mark is an IT Consultant and software instructor in Durham. Mark has > worn many hats in his decades-long career. Mark is a contributing > expert and zone advisor at Experts-Exchange.com. Mark has been active > in the user group (and meetup) communities. Mark's additional talk at the next meeting has been postponed until another month. So there is once again some time that you could fill with another short presentation. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Wed Nov 9 11:28:52 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 9 Nov 2016 11:28:52 -0500 Subject: [TriPython] Reminder: Chapel Hill Project Night Tonight Message-ID: <67625f98-3f2c-6af3-58fb-f96ee3149118@unc.edu> Tonight's Chapel Hill project night is special. We have been targeted by PyLadies RDU who are sending 10 women to "crash" project night. This is an effort at making our groups more integrated and will be repeated at other project nights in other cities that PyLadies RDU designates in the future. There will, of course, be extra pizza. http://tripython.org/Members/cbc/nov-16-chpn When: Wednesday, November 9, 2016 Where: Renaissance Computing Institute (RENCI) Biltmore Conference Room, 5th Floor, Europa Center 100 Europa Drive, Suite 590 Chapel Hill What: Chapel Hill Project Night meets on second Wednesdays. Have a project you want to show off, share, seek help with, or just get some work done surrounded by like minded Python lovers? Join us for our monthly project night and do just that! Don't have something to work on? Just need some help with Python? Show up and enjoy the energy, sprint on an open source project, find something interesting to contribute to or be inspired by! The setting is informal and there is no schedule, so don't worry if you show up past the start time. Whether you are a Python newbie needing help or have an open source project you want to share, come hang out and hack. Plenty of free after hours parking is available in the RENCI parking deck. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Wed Nov 9 12:00:10 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 9 Nov 2016 12:00:10 -0500 Subject: [TriPython] Reminder: Chapel Hill Project Night Tonight In-Reply-To: <67625f98-3f2c-6af3-58fb-f96ee3149118@unc.edu> References: <67625f98-3f2c-6af3-58fb-f96ee3149118@unc.edu> Message-ID: On 11/9/16 11:28 AM, Chris Calloway wrote: > When: Wednesday, November 9, 2016 And of course, I forgot the time again. 6-9pm. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Wed Nov 9 11:00:20 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 9 Nov 2016 11:00:20 -0500 Subject: [TriPython] Regular Expressions In-Reply-To: <96db428c-e444-8aad-baed-a10c4ab8a8ea@unc.edu> References: <96db428c-e444-8aad-baed-a10c4ab8a8ea@unc.edu> Message-ID: On 11/9/16 10:47 AM, Chris Calloway wrote: > b) See Rex Dwyer's fine presentation to TriPython about the new regex > extentions: > > https://github.com/rexdwyer/splitsville And the static notebook view: https://github.com/rexdwyer/Splitsville/blob/master/Splitsville.ipynb -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From jeremyhwllc at gmail.com Thu Nov 10 14:25:36 2016 From: jeremyhwllc at gmail.com (Jeremy Davis) Date: Thu, 10 Nov 2016 19:25:36 +0000 Subject: [TriPython] Fwd: TriLUG Software Defined Radio (SDR) Meeting and Hackfest tonight! In-Reply-To: References: Message-ID: TriPython You are invited to join TriLUG tonight on the topic of SDR. Details below ---------- Forwarded message --------- From: Jeremy Davis Date: Thu, Nov 10, 2016 at 2:20 PM Subject: TriLUG Software Defined Radio (SDR) Meeting and Hackfest tonight! To: TriLUG Mailing List The topic of Software Defined Radio (SDR) was proposed and that is tonight's TriLUG Topic! Yes this is an extremely interesting topic especially since recent technological advancements have made things possible that were previously theoretical only. Scott Hall and Phil Rhodes will start the meeting with an overview and demo. Then we will turn the meeting into a hands on hackfest. So bring your SDR dongles, whip antennas, laptops etc.. You might want to have GNU Radio installed. Also please invite any of your friends who may have any knowledge to contribute, such as ham radio enthusiasts, security researchers, wireless technology professionals, and people who might want a chance to receive a highly coveted 3d printed TriTux. There may even be an SDR door prize. Some things you can do with SDR Regain communications and control of old decommissioned NASA satellites in space such as the ISEE-3. Google ?ISEE-3 SDR? for details. Create and/or spoof a cellular base station. If you are a security researcher, or if you are a business with assets that could be affected, or if you want to understand how to protect your privacy, this capability is of particular interest for a number of reasons obviously. If you can setup a cellular base station with free software surely you will think of many fun things to do with it. Aviation- You can track lots of flight information transmitted by aircraft flying in your area. Miscellaneous other things: key fobs, restaurant pagers, keyless entry, toll booth RFIDs DARPA proves this topic is interesting by continuously sponsoring numerous SDR hackfest events around the world. Google ?DARPA SDR hackfest? for more details. There will be free beer served at the same location from 4:30 to 6:30. We will serve free pizza and drinks! Thanks to our sponsors Oak City Tech, Caktus Group, and Brian Henning?s 3DHubs page. Topic: Software Defined Radio Presenter: Scott Hall and Phil Rhodes When: Thursday, 10 November 2016 Time: 7:00pm to 9:00pm Where: The Frontier, 800 Park Offices Drive, Durham, NC Parking is free, onsite Jeremy Davis TriLUG PR -------------- next part -------------- TriPython You are invited to join TriLUG tonight on the topic of SDR. Details below ---------- Forwarded message --------- From: Jeremy Davis <[1]jeremyhwllc at gmail.com> Date: Thu, Nov 10, 2016 at 2:20 PM Subject: TriLUG Software Defined Radio (SDR) Meeting and Hackfest tonight! To: TriLUG Mailing List <[2]trilug at trilug.org> The topic of Software Defined Radio (SDR) was proposed and that is tonight's TriLUG Topic! Yes this is an extremely interesting topic especially since recent technological advancements have made things possible that were previously theoretical only. Scott Hall and Phil Rhodes will start the meeting with an overview and demo. Then we will turn the meeting into a hands on hackfest. So bring your SDR dongles, whip antennas, laptops etc.. You might want to have GNU Radio installed. Also please invite any of your friends who may have any knowledge to contribute, such as ham radio enthusiasts, security researchers, wireless technology professionals, and people who might want a chance to receive a highly coveted 3d printed TriTux. There may even be an SDR door prize. Some things you can do with SDR Regain communications and control of old decommissioned NASA satellites in space such as the ISEE-3. Google ?ISEE-3 SDR? for details. Create and/or spoof a cellular base station. If you are a security researcher, or if you are a business with assets that could be affected, or if you want to understand how to protect your privacy, this capability is of particular interest for a number of reasons obviously. If you can setup a cellular base station with free software surely you will think of many fun things to do with it. Aviation- You can track lots of flight information transmitted by aircraft flying in your area. Miscellaneous other things: key fobs, restaurant pagers, keyless entry, toll booth RFIDs DARPA proves this topic is interesting by continuously sponsoring numerous SDR hackfest events around the world. Google ?DARPA SDR hackfest? for more details. There will be free beer served at the same location from 4:30 to 6:30. We will serve free pizza and drinks! Thanks to our sponsors Oak City Tech, Caktus Group, and Brian Henning?s 3DHubs page. Topic: Software Defined Radio Presenter: Scott Hall and Phil Rhodes When: Thursday, 10 November 2016 Time: 7:00pm to 9:00pm Where: The Frontier, 800 Park Offices Drive, Durham, NC Parking is free, onsite Jeremy Davis TriLUG PR References Visible links 1. mailto:jeremyhwllc at gmail.com 2. mailto:trilug at trilug.org From cbc at unc.edu Thu Nov 10 15:47:34 2016 From: cbc at unc.edu (Chris Calloway) Date: Thu, 10 Nov 2016 15:47:34 -0500 Subject: [TriPython] Fwd: Attend the First AnacondaCON in Austin, TX February 7-9, 2017! In-Reply-To: <2136034367.-447516770.1478804016789.JavaMail.root@abmas02.marketo.org> References: <2136034367.-447516770.1478804016789.JavaMail.root@abmas02.marketo.org> Message-ID: <544f1ef3-bae4-56de-95c3-f73089a55ae6@unc.edu> FYI... -------- Forwarded Message -------- Subject: Attend the First AnacondaCON in Austin, TX February 7-9, 2017! Date: Thu, 10 Nov 2016 12:53:36 -0600 (CST) From: Team Anaconda Reply-To: conference at continuum.io To: cbc at unc.edu Anaconda Anaconda Twitter Linkedin SlideShare GitHub AnacondaCON'17 Austin,TX ** ** *Join Us in Austin, TX for the First AnacondaCON, February 7-9, 2017* ** ** aconspeakersomg.jpg AnacondaCON 2017 is the first conference for Open Data Science leaders around the world. The definitive gathering place for the #AnacondaCREW, AnacondaCON will provide an engaging and informative atmosphere for those interested in harnessing the power of Open Data Science. We're excited to announce that registration for AnacondaCON is now OPEN and limited to 500! *Five Reasons to Attend* 1. Discover what #OpenDataScienceMeans as you engage with enterprise leaders that use Anaconda 2. Hear how our customers and your peers are leveraging the Anaconda platform to supercharge the business impact of their data science work 3. Check out our current keynote speakers, Travis Oliphant and Peter Wang, plus many others in the business and technical breakout sessions 4. Network with the the foundational contributors and thought leaders in the Open Data Science movement 5. Party with your peers at AnacondaCON Carne, where attendees will enjoy authentic Austin food, music and entertainment REGISTER NOW Interested in sponsoring AnacondaCON? Visit our website to get more information or download our prospectus . Sincerely, Team Anaconda 221 W 6th Street #1550, Austin, TX 78701, USA ? 2016, Continuum Analytics. All Rights Reserved. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 -------------- next part -------------- FYI... -------- Forwarded Message -------- Subject: Attend the First AnacondaCON in Austin, TX February 7-9, 2017! Date: Thu, 10 Nov 2016 12:53:36 -0600 (CST) From: Team Anaconda [1] Reply-To: [2]conference at continuum.io To: [3]cbc at unc.edu [4]Anaconda [5]Twitter?? [6]Linkedin?? [7]SlideShare?? [8]GitHub?? AnacondaCON '17 Austin, TX Join Us in Austin, TX for the First AnacondaCON, February 7-9, 2017 [9]aconspeakersomg.jpg [10]AnacondaCON 2017 is the first conference for Open Data Science leaders around the world. The definitive gathering place for the #AnacondaCREW, AnacondaCON will provide an engaging and informative atmosphere for those interested in harnessing the power of Open Data Science. We're excited to announce that registration for AnacondaCON is now OPEN and limited to 500! Five Reasons to Attend ?1.?Discover what #OpenDataScienceMeans as you engage with enterprise leaders that use Anaconda ?2.?Hear how our customers and your peers?are leveraging the Anaconda platform to supercharge the business impact of their data science work ?3.?Check out our current keynote speakers, Travis Oliphant and Peter Wang, plus many others in the business and technical breakout sessions ?4.?Network with the the foundational contributors and thought leaders in the Open Data Science movement ?5.?Party with your peers at AnacondaCON Carne, where attendees will enjoy authentic Austin food, music and entertainment [11]REGISTER NOW Interested in sponsoring AnacondaCON? [12]Visit our website to get more information or [13]download our prospectus. Sincerely, Team Anaconda 221 W 6th Street #1550, Austin, TX 78701, USA ? 2016, Continuum Analytics. All Rights Reserved. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 References Visible links 1. mailto:conference at continuum.io 2. mailto:conference at continuum.io 3. mailto:cbc at unc.edu 4. http://go2.continuum.io/kX0E20R00Hk01NCfM00q00W 5. http://go2.continuum.io/v00M0RHr0C2WXkF0N01f000 6. http://go2.continuum.io/XC20kGN0R000WH0Mf010Xs0 7. http://go2.continuum.io/eR0MtW01000NXH0f00H2k0C 8. http://go2.continuum.io/HX0010f0RkIMHW0020N00uC 9. http://go2.continuum.io/VMNJ000CH00W100X20fkvR0 10. http://go2.continuum.io/F0MN200wK0X0k1Hf000WCR0 11. http://go2.continuum.io/F0MN200wK0X0k1Hf000WCR0 12. http://go2.continuum.io/TLRXH0k00000MNx1020fCW0 13. http://go2.continuum.io/r00y0W1H0NM2MRX0k00f0C0 From betsy at python.org Tue Nov 15 14:36:34 2016 From: betsy at python.org (Betsy Waliszewski) Date: Tue, 15 Nov 2016 11:36:34 -0800 Subject: [TriPython] PyCon US 2017 Call for Proposals & Deadlines - TrizPUG Python User Group Message-ID: Hello TrizPUG, PyCon US's proposal application is open. If you are interested in submitting a proposal for a tutorial, talk, poster, or the education summit, please check out https://us.pycon.org/2017/speaking/. ? The deadline to submit a tutorial proposal is coming up: November 30, 2016 AoE. ? The deadline to submit proposals for talks, poster, and the Education Summit is January 3, 2017 AoE. ? Financial aid is also accepting applications. Deadline is February 15, 2017 AoE (https://us.pycon.org/2017/financial-assistance/). ? PyCon US registration is open https://us.pycon.org/2017/registration/ and we still have early bird ticket rates available. Best Regards, Betsy -- Betsy Waliszewski Python Software Foundation Event Coordinator / Administrator @betswaliszewski -------------- next part -------------- Hello TrizPUG, PyCon US's proposal application is open. If you are interested in submitting a proposal for a tutorial, talk, poster, or the education summit, please check out [1]https://us.pycon.org/2017/speaking/. ? The deadline to submit a tutorial proposal is coming up: November 30, 2016 AoE. ? The deadline to submit proposals for talks, poster, and the Education Summit is January 3, 2017 AoE. ? Financial aid is also accepting applications. Deadline is February 15, 2017 AoE ([2]https://us.pycon.org/2017/financial-assistance/). ? PyCon US registration is open [3]https://us.pycon.org/2017/registration/ and we still have early bird ticket rates available. Best Regards, Betsy -- Betsy Waliszewski Python Software Foundation Event Coordinator / Administrator @betswaliszewski References Visible links 1. https://us.pycon.org/2017/speaking/ 2. https://us.pycon.org/2017/financial-assistance/ 3. https://us.pycon.org/2017/registration/ From cbc at unc.edu Wed Nov 16 12:06:14 2016 From: cbc at unc.edu (Chris Calloway) Date: Wed, 16 Nov 2016 12:06:14 -0500 Subject: [TriPython] Reminder: TriPython November 2016 Meeting: The Code Review Review Message-ID: <2c3b2ac9-80be-5dec-d90e-f4baa052075d@unc.edu> Meeting tomorrow at WebAssign... Erik's talk is expected to take only 45 minutes. So if you have a half hour talk to give before lightning talks, speak up and get on the program for the meeting. When: Thursday, November 17, 2016, 7-9pm Where: WebAssign NCSU Centennial Campus 1791 Varsity Drive, Suite 200 Raleigh What: "Your code is bad and you are bad. Have a bad day." It seems like a lot of code reviews head that way, but we can turn this around. Constructive Code Review is a new part of Mozilla's onboarding process, a cultural nudge toward fostering encouragement, spending the right amount of time mentoring newcomers, reducing nitpicking without wrecking quality, and understanding our own crazy human emotions. Join us (and bring your stories) for a session devoted to bettering code, coders, and our use of time. Our presenter is Erik Rose. Erik makes static analysis, search, and pattern-finding software at Mozilla, venting a byproduct of eclectic Python libraries. Skeletons in his closet include the self-bootstrapping mechanism for Let's Encrypt, the hash-verification functionality in pip, and a book about Plone. He's a frequent speaker and keynoter at various PyCons but is really just using the travel as an opportunity to find the world's best root beer. Extemporaneous "lightning talks" of 5-10 minute duration are also welcome and don't need to be pre-announced. Plenty of free after hours parking is available in the upper level of the deck behind WebAssign (turn through the median just before the intersection of Varsity and Main Campus Drives). If the door is locked, call the number posted on the door. An after-meeting location for food and beverage will be decided at the meeting (usually BaDa Wings for the Thursday night draught specials). -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Fri Nov 18 13:35:18 2016 From: cbc at unc.edu (Chris Calloway) Date: Fri, 18 Nov 2016 13:35:18 -0500 Subject: [TriPython] Reminder: Durham Project Night Message-ID: <9f524ab7-a7bd-2745-4508-cc3ab027dcab@unc.edu> Thanks for coming out to WebAssign last night. It was fun. Good discussions. Also, thanks to Erik Rose for the great presentation and Steve Gambino for hosting us once again. A reminder that Durham Project Night is this coming Monday at Caktus. I'm going to be there for this one as there are no other meetups I'm attending that week. http://tripython.org/Members/markdlavin/nov-16-dpn When: Monday, November 21, 6-9pm Where: Caktus Group, 108 Morris St., Durham What: Join us for our monthly project night and do just that! Don't have something to work on? Just need some help with Python? Show up and enjoy the energy, sprint on an open source project, find something interesting to contribute to or be inspired by! The setting is informal and there is no schedule, so don't worry if you show up past the start time. Whether you are a Python newbie needing help or have an open source project you want to share, come hang out and hack. Park in the municipal deck on the other side of the Arts Council across W. Morgan St.. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Mon Nov 28 14:37:26 2016 From: cbc at unc.edu (Chris Calloway) Date: Mon, 28 Nov 2016 14:37:26 -0500 Subject: [TriPython] TriPython December 2016 Meeting: Deploying Serverless WSGI Apps with Zapp Message-ID: Big news. We are consolidating our Durham meeting locations into one: Caktus Group. Both the third Monday project nights and our trimonthly Durham featured speaker meetings will now be in the same place. This will make explaining our meeting locations and times much simpler. Thanks, Caktus! http://tripython.org/Members/cbc/dec-16-mtg/ When: Thursday, December 15, 7pm Where: Caktus Group, 108 Morris St., Durham What: Brian Elliott Jinwright says, "Ok I lied there are servers, but you (the developer) don't have to manage them. By using a combination of AWS services like Lambda, API Gateway, CloudFront, and Route53 you can deploy globally scalable WSGI apps. In addition, to replacing WSGI app servers, you can also use Zappa and Lambda to replace most Celery tasks." Brian is a Senior Software Engineer at MetaMetrics in Durham. Most of his time is spent working on education tools that help match students with appropriate text for their reading level and just beyond. Recently, Brian has taken on a new role exploring options to reduce server costs and deployment turn around times. He is a core committer for the Zappa project. Extemporaneous "lightning talks" of 5-10 minute duration are also welcome and don't need to be pre-announced. This will be our first monthly meeting at our Durham location, the same place we've been meeting for Durham project nights for a few years now, Caktus Group. Park in the municipal deck on the other side of the Arts Council across W. Morgan St. The meeting will be followed by our usual after-meeting at a nearby tavern for food and beverage. Come join us for a fun and informative evening. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Mon Nov 28 16:58:31 2016 From: cbc at unc.edu (Chris Calloway) Date: Mon, 28 Nov 2016 16:58:31 -0500 Subject: [TriPython] TriPython December 2016 Meeting: Deploying Serverless WSGI Apps with Zapp In-Reply-To: References: Message-ID: <75f799c3-e809-0c9f-31ca-d6a1f4067d2a@unc.edu> Hey, sorry, but we need to reschedule this for a week earlier on Thursday, December 8 at 7pm (that's the second Thursday) ... On 11/28/16 2:37 PM, Chris Calloway wrote: > Big news. We are consolidating our Durham meeting locations into one: > Caktus Group. Both the third Monday project nights and our trimonthly > Durham featured speaker meetings will now be in the same place. This > will make explaining our meeting locations and times much simpler. > Thanks, Caktus! > > http://tripython.org/Members/cbc/dec-16-mtg/ > > When: Thursday, December 8, 7pm > Where: Caktus Group, 108 Morris St., Durham > What: Brian Elliott Jinwright says, "Ok I lied there are servers, but > you (the developer) don't have to manage them. By using a combination of > AWS services like Lambda, API Gateway, CloudFront, and Route53 you can > deploy globally scalable WSGI apps. In addition, to replacing WSGI app > servers, you can also use Zappa and Lambda to replace most Celery > tasks." Brian is a Senior Software Engineer at MetaMetrics in Durham. > Most of his time is spent working on education tools that help match > students with appropriate text for their reading level and just beyond. > Recently, Brian has taken on a new role exploring options to reduce > server costs and deployment turn around times. He is a core committer > for the Zappa project. Extemporaneous "lightning talks" of 5-10 minute > duration are also welcome and don't need to be pre-announced. This will > be our first monthly meeting at our Durham location, the same place > we've been meeting for Durham project nights for a few years now, Caktus > Group. Park in the municipal deck on the other side of the Arts Council > across W. Morgan St. The meeting will be followed by our usual > after-meeting at a nearby tavern for food and beverage. Come join us for > a fun and informative evening. > -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530