From cbc at unc.edu Sat Jan 4 22:18:05 2014 From: cbc at unc.edu (Chris Calloway) Date: Sat, 04 Jan 2014 16:18:05 -0500 Subject: [TriZPUG] Two Project Nights, January Meeting Call For Talks, and Infrastructure Improvements Message-ID: <52C87A8D.3090203@unc.edu> Because of how the days fall in the New Year calendar, we have two project nights next week: First Tuesday Raleigh Project Night at 6pm at WebAssign on January 7. Second Wednesday Carrboro Project Night at 6pm at Caktus on January 8. We also have open slots for featured speakers for our January meeting on the 23rd at 7pm at Caktus in Carrboro. If you'd like for your talk to be featured, please speak up. There have been some efforts to improve our infrastructure in the last month. If you join #trizpug on freenode IRC, you will be redirected into #tripython. Also, tripython.org is now running on a much newer and nicer server with many security and other improvements. If you observe any service difficulties using tripython.org, please let me know. If you see a 503 error from Apache, please flush your browser cache. Tripython now runs on Nginx, not Apache. More work is underway. Planet.tripython.org is temporarily unavailable until further notice. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Wed Jan 8 17:00:26 2014 From: cbc at unc.edu (Chris Calloway) Date: Wed, 08 Jan 2014 11:00:26 -0500 Subject: [TriZPUG] Last Night's Raleigh Project Night Message-ID: <52CD761A.3070002@unc.edu> We had a bit of a surprise at Raleigh Project Night last night. A first time member, Chris Laffra, demonstrated his online Python algorithm visualization site, http://pyalgoviz.appspot.com , and the code behind it. The code behind it was fascinating. First time I'd seen anybody do a "with self". That alone was worth the price of admission. I've seen other sites like this for sorting algorithms. But what makes this one different is you can click on a visualization, see the algorithm code, see the visualization code, and control its execution. You can also log in and add your own algorithms and visualization to the collection. I thought this was so cool that I asked Chris if he would speak about this at this month's meeting in Carrboro and he agreed. So look for the meeting announcement soon. Thank you, Chris! See you at Carrboro Project Night tonight. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Wed Jan 8 19:18:36 2014 From: cbc at unc.edu (Chris Calloway) Date: Wed, 08 Jan 2014 13:18:36 -0500 Subject: [TriZPUG] Two Project Nights, January Meeting Call For Talks, and Infrastructure Improvements In-Reply-To: <52C87A8D.3090203@unc.edu> References: <52C87A8D.3090203@unc.edu> Message-ID: <52CD967C.8030405@unc.edu> On 1/4/2014 4:18 PM, Chris Calloway wrote: > More work is underway. Planet.tripython.org is temporarily unavailable > until further notice. After some work at last night's project night that went better than expected, http://planet.tripython.org is back in production with some subtle changes and is hosted on a new server that I'm told is "snappy." -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From eric.leary at gmail.com Thu Jan 9 05:50:04 2014 From: eric.leary at gmail.com (Eric Leary) Date: Wed, 8 Jan 2014 23:50:04 -0500 Subject: [TriZPUG] Two Project Nights, January Meeting Call For Talks, and Infrastructure Improvements In-Reply-To: <52CD967C.8030405@unc.edu> References: <52C87A8D.3090203@unc.edu> <52CD967C.8030405@unc.edu> Message-ID: It's great. Missed project night again.. Haven't linked to planet.tripython.org in a long time. This was fat! Gave me just the rev up I needed to open up the command line after a very long day accounting. thanks Chris! and thanks bloggers. quality stuff. On Wed, Jan 8, 2014 at 1:18 PM, Chris Calloway wrote: > On 1/4/2014 4:18 PM, Chris Calloway wrote: > >> More work is underway. Planet.tripython.org is temporarily unavailable >> until further notice. >> > > After some work at last night's project night that went better than > expected, http://planet.tripython.org is back in production with some > subtle changes and is hosted on a new server that I'm told is "snappy." > > > -- > Sincerely, > > Chris Calloway http://nccoos.org/Members/cbc > office: 3313 Venable Hall phone: (919) 599-3530 > mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -- Science is the establishment of expectations. Art is the manipulation of expectations. Justice is the fulfillment of expectations. Expectations are patterns of mind. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom_Roche at pobox.com Mon Jan 13 17:55:31 2014 From: Tom_Roche at pobox.com (Tom Roche) Date: Mon, 13 Jan 2014 11:55:31 -0500 Subject: [TriZPUG] fw: Intro to scikit-learn (Machine Learning in Python) with Tim Hopper References: <1683424986.1389630567155.JavaMail.root@jobs0.meetup.com> Message-ID: <87ha97stx8.fsf@pobox.com> Raleigh-Durham-Chapel Hill R Users Group Mon, 13 Jan 2014 11:29:27 -0500 > Intro to scikit-learn (Machine Learning in Python) with Tim Hopper > Raleigh-Durham-Chapel Hill R Users Group > Thursday, January 16, 2014 6:30 PM > Cameron Village Regional Library > 1930 Clark Avenue > Raleigh, NC 27605 > There has been a lively debate recently on whether Python is poised to supplant R as the preferred tool for data scientists. David Smith [an R vendor] sums it up well at > http://blog.revolutionanalytics.com/2013/12/r-and-python.html > This Thursday we have an opportunity to learn more about how Python can be used for data work. Tim Hopper will present Scikit-learn, a Python package providing an implementation of many machine learning algorithms that R can also do (e.g. SVM, kNN, linear models, HMM, k-means, spectral clustering). > Description from Tim: "The benefits of Scikit-learn goes well beyond carefully implemented learning algorithms. Being built in Python, it allows easy integration with countless other Python modules for tasks such as plotting, data munging, and application development. Its consistent API across algorithms allows for rapid experimentation with multiple learning methods. Also, Scikit-learn is well documented and provides lots of examples. Instead of discussing particular machine learning algorithms provided by the package, I will focus on Scikit-learn and Python as a toolkit for solving data problems from start to finish. I will emphasize the Pipeline tool which allows the user to chain together all the steps of a machine learning pipeline including preprocessing, dimensionality reduction, feature selection, and model fitting." From cbc at unc.edu Mon Jan 13 17:59:22 2014 From: cbc at unc.edu (Chris Calloway) Date: Mon, 13 Jan 2014 11:59:22 -0500 Subject: [TriZPUG] TriPython January 2014 Meeting: PyAlgoViz Message-ID: <52D41B6A.2090906@unc.edu> When: Thursday, January 23, 7pm Where: Caktus Group, 209 Lloyd St, Suite 320, Carrboro Chris Laffra will demonstrate his online Python Algorithm Visualizer. As always, spontaneous lightning talks of ten minutes or less on other topics are also welcome. Anything you've learned about Python, no matter how trivial, can be a lightning talk. There's plenty of parking at Caktus and we can walk to nearby after-meeting watering holes. Please note the room change for this and future meetings at Caktus. This room's entrance is at the parking lot level of the complex. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From francois.dion at gmail.com Thu Jan 16 23:47:09 2014 From: francois.dion at gmail.com (Francois Dion) Date: Thu, 16 Jan 2014 17:47:09 -0500 Subject: [TriZPUG] Python tips Message-ID: So, I've been posting some Python tips to my blog. For example: http://raspberry-python.blogspot.com/2014/01/python-tip5.html If anybody has some tips on their own blog they want to add to the list, let me know, I'll link straight to your info. I label them with PTOTD, so: http://raspberry-python.blogspot.com/search/label/PTOTD will give you the whole list. Yeah, only a few up to now, but at least it has gotten me back to blogging some. And they are always popular at project nights. Francois -- www.pyptug.org - raspberry-python.blogspot.com - @f_dion -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.dion at gmail.com Fri Jan 17 17:30:08 2014 From: francois.dion at gmail.com (Francois Dion) Date: Fri, 17 Jan 2014 11:30:08 -0500 Subject: [TriZPUG] Have a job: Python application developer Message-ID: It is in downtown Winston Salem. Requirements are: - Bachelor degree in Computer Programming, Computer Science, or Information Systems AND/OR related work experience (Python Development, PostgreSQL, Services development) - Experience working with Agile methodologies - Experience with web applications or service oriented systems using Python - Experience with PostgreSQL Furthermore, if you've used pyramid and sqlalchemy, I'd say these are strong pluses. I've already extended this to the local community in the Triad, but figured I'd reach out to TriPython, and we're hiring some locally, but we are growing. So if you have some interest in the above, let me know asap. There is also an opening for a strong postgresql db architect and a scrum master. Thanks, Francois -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip at semanchuk.com Fri Jan 17 17:40:07 2014 From: philip at semanchuk.com (Philip Semanchuk) Date: Fri, 17 Jan 2014 11:40:07 -0500 Subject: [TriZPUG] Have a job: Python application developer In-Reply-To: References: Message-ID: On Jan 17, 2014, at 11:30 AM, Francois Dion wrote: > It is in downtown Winston Salem. Requirements are: > > - Bachelor degree in Computer Programming, Computer Science, or Information > Systems AND/OR > related work experience (Python Development, PostgreSQL, Services > development) > - Experience working with Agile methodologies > - Experience with web applications or service oriented systems using Python > - Experience with PostgreSQL > > > Furthermore, if you've used pyramid and sqlalchemy, I'd say these are > strong pluses. I've already extended this to the local community in the > Triad, but figured I'd reach out to TriPython, and we're hiring some > locally, but we are growing. So if you have some interest in the above, let > me know asap. > > There is also an opening for a strong postgresql db architect and a scrum > master. Hi Francois, I'll ask what I imagine many of us in the Triangle might wonder -- are any of these positions telecommute-friendly? Thanks, Philip From rob.ladd at gmail.com Fri Jan 17 18:19:56 2014 From: rob.ladd at gmail.com (Rob Ladd) Date: Fri, 17 Jan 2014 12:19:56 -0500 Subject: [TriZPUG] Have a job: Python application developer In-Reply-To: References: Message-ID: And, to quote Lester Young, "What's the bread smell like, man?" On Fri, Jan 17, 2014 at 11:40 AM, Philip Semanchuk wrote: > > On Jan 17, 2014, at 11:30 AM, Francois Dion wrote: > > > It is in downtown Winston Salem. Requirements are: > > > > - Bachelor degree in Computer Programming, Computer Science, or > Information > > Systems AND/OR > > related work experience (Python Development, PostgreSQL, Services > > development) > > - Experience working with Agile methodologies > > - Experience with web applications or service oriented systems using > Python > > - Experience with PostgreSQL > > > > > > Furthermore, if you've used pyramid and sqlalchemy, I'd say these are > > strong pluses. I've already extended this to the local community in the > > Triad, but figured I'd reach out to TriPython, and we're hiring some > > locally, but we are growing. So if you have some interest in the above, > let > > me know asap. > > > > There is also an opening for a strong postgresql db architect and a scrum > > master. > > Hi Francois, > I'll ask what I imagine many of us in the Triangle might wonder -- are any > of these positions telecommute-friendly? > > Thanks, > Philip > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Jan 17 20:09:52 2014 From: cbc at unc.edu (Chris Calloway) Date: Fri, 17 Jan 2014 14:09:52 -0500 Subject: [TriZPUG] fw: Intro to scikit-learn (Machine Learning in Python) with Tim Hopper In-Reply-To: <87ha97stx8.fsf@pobox.com> References: <1683424986.1389630567155.JavaMail.root@jobs0.meetup.com> <87ha97stx8.fsf@pobox.com> Message-ID: <52D98000.1080609@unc.edu> On 1/13/2014 11:55 AM, Tom Roche wrote: >> Intro to scikit-learn (Machine Learning in Python) with Tim Hopper >> Raleigh-Durham-Chapel Hill R Users Group >> Thursday, January 16, 2014 6:30 PM >> Cameron Village Regional Library >> 1930 Clark Avenue >> Raleigh, NC 27605 A bunch of TriPythoneers showed up for this. It was actually a joint meeting of the Research Triangle R Users Group and the Research Triangle Analysts which seem to be acting as one group these days except that Research Triangle Analysts advertizes itself as software agnostic and Python friendly. There were at least 40 people squeezed into an overflowing room. Tim, who is a member of TriPython, gave an excellent presentation which is available as an iPython Notebook: https://github.com/tdhopper/Research-Triangle-Analysts--Intro-to-scikit-learn I liked Tim's talk so much I told him he should give it to TriPython, considering that there are so many machine learning enthusiasts among us. Tim agreed and will be our featured speaker in February at WebAssign. Thanks, Tim! -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Fri Jan 17 20:30:50 2014 From: cbc at unc.edu (Chris Calloway) Date: Fri, 17 Jan 2014 14:30:50 -0500 Subject: [TriZPUG] fw: Intro to scikit-learn (Machine Learning in Python) with Tim Hopper In-Reply-To: <52D98000.1080609@unc.edu> References: <1683424986.1389630567155.JavaMail.root@jobs0.meetup.com> <87ha97stx8.fsf@pobox.com> <52D98000.1080609@unc.edu> Message-ID: <52D984EA.8040600@unc.edu> On 1/17/2014 2:09 PM, Chris Calloway wrote: > I liked Tim's talk so much I told him he should give it to TriPython, > considering that there are so many machine learning enthusiasts among > us. Tim agreed and will be our featured speaker in February at > WebAssign. Thanks, Tim! Apparently, the best way to get people to volunteer for talks is to announce future talks. Francois Dion, the Piedmont Triad Python User Group leader, has asked to present Brython, the Python interpreter for your HTML5 browser, at our March 27 meeting at Bull City Coworking in Durham. And, of course, all your have to do to present at a TriPython meeting is speak up. So Brython in March it is! April anyone? :) -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From ncdave4life at gmail.com Fri Jan 17 20:37:33 2014 From: ncdave4life at gmail.com (David Burton) Date: Fri, 17 Jan 2014 14:37:33 -0500 Subject: [TriZPUG] fw: Intro to scikit-learn (Machine Learning in Python) with Tim Hopper In-Reply-To: <52D98000.1080609@unc.edu> References: <1683424986.1389630567155.JavaMail.root@jobs0.meetup.com> <87ha97stx8.fsf@pobox.com> <52D98000.1080609@unc.edu> Message-ID: Is that 2/27/2014 at 7 p.m.? On Fri, Jan 17, 2014 at 2:09 PM, Chris Calloway wrote: > > Intro to scikit-learn (Machine Learning in Python) with Tim Hopper >>> >> ... > I liked Tim's talk so much I told him he should give it to TriPython, > considering that there are so many machine learning enthusiasts among us. > Tim agreed and will be our featured speaker in February at WebAssign. > Thanks, Tim! > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Jan 17 20:38:26 2014 From: cbc at unc.edu (Chris Calloway) Date: Fri, 17 Jan 2014 14:38:26 -0500 Subject: [TriZPUG] fw: Intro to scikit-learn (Machine Learning in Python) with Tim Hopper In-Reply-To: References: <1683424986.1389630567155.JavaMail.root@jobs0.meetup.com> <87ha97stx8.fsf@pobox.com> <52D98000.1080609@unc.edu> Message-ID: <52D986B2.7060405@unc.edu> On 1/17/2014 2:37 PM, David Burton wrote: > Is that 2/27/2014 at 7 p.m.? Yep! -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Fri Jan 17 20:40:24 2014 From: cbc at unc.edu (Chris Calloway) Date: Fri, 17 Jan 2014 14:40:24 -0500 Subject: [TriZPUG] fw: Intro to scikit-learn (Machine Learning in Python) with Tim Hopper In-Reply-To: <52D984EA.8040600@unc.edu> References: <1683424986.1389630567155.JavaMail.root@jobs0.meetup.com> <87ha97stx8.fsf@pobox.com> <52D98000.1080609@unc.edu> <52D984EA.8040600@unc.edu> Message-ID: <52D98728.1010605@unc.edu> On 1/17/2014 2:30 PM, Chris Calloway wrote: > April anyone? :) And April is going, going, gone! Casey Goodlett of Kitware will present ParaView, a killer Python data visualization and analysis tool, at Caktus in Carrboro. May is an open slot. :) -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From iwandr at yahoo.com Fri Jan 17 23:24:51 2014 From: iwandr at yahoo.com (iwandr at yahoo.com) Date: Fri, 17 Jan 2014 22:24:51 +0000 Subject: [TriZPUG] =?utf-8?q?Have_a_job=3A_Python_application_developer?= In-Reply-To: References: Message-ID: <990415.59623.bm@smtp228.mail.bf1.yahoo.com> Hi Francois, I know you are looking for experienced Python developers for this position. But I was wondering if there might be any plans to hire at the entry level in the future since you are growing? If so I would be interested in applying. I have 7 years full SDLC experience as a COBOL mainframe software developer. I recently learned Python on my own and through Coursera and absolutely love the language. This is the link to my Coursera grade for Python https://www.coursera.org/records/FRMt7K67rM2Hygr4 Given the opportunity I know that I would be able to get up to speed quickly due to my programming background and desire to master this language. Best regard, Jackie ? From: Francois Dion Sent: ?Friday?, ?January? ?17?, ?2014 ?11?:?30? ?AM To: Triangle (North Carolina) Zope and Python Users Group It is in downtown Winston Salem. Requirements are: - Bachelor degree in Computer Programming, Computer Science, or Information Systems AND/OR related work experience (Python Development, PostgreSQL, Services development) - Experience working with Agile methodologies - Experience with web applications or service oriented systems using Python - Experience with PostgreSQL Furthermore, if you've used pyramid and sqlalchemy, I'd say these are strong pluses. I've already extended this to the local community in the Triad, but figured I'd reach out to TriPython, and we're hiring some locally, but we are growing. So if you have some interest in the above, let me know asap. There is also an opening for a strong postgresql db architect and a scrum master. Thanks, Francois -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.dion at gmail.com Mon Jan 20 22:22:59 2014 From: francois.dion at gmail.com (Francois Dion) Date: Mon, 20 Jan 2014 16:22:59 -0500 Subject: [TriZPUG] Have a job: Python application developer In-Reply-To: References: Message-ID: On Fri, Jan 17, 2014 at 11:40 AM, Philip Semanchuk wrote: > > On Jan 17, 2014, at 11:30 AM, Francois Dion wrote: > > > It is in downtown Winston Salem. Requirements are: > > Hi Francois, > I'll ask what I imagine many of us in the Triangle might wonder -- are any > of these positions telecommute-friendly? > Officially, no, sorry. Thanks, Francois -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Wed Jan 22 15:49:13 2014 From: cbc at unc.edu (Chris Calloway) Date: Wed, 22 Jan 2014 09:49:13 -0500 Subject: [TriZPUG] Reminder: TriPython January 2014 Meeting: PyAlgoViz In-Reply-To: <52D41B6A.2090906@unc.edu> References: <52D41B6A.2090906@unc.edu> Message-ID: <52DFDA69.7080902@unc.edu> Reminder, we have a meeting tomorrow at Caktus with a very interesting presentation. I hope to see you there. On 1/13/2014 11:59 AM, Chris Calloway wrote: > When: Thursday, January 23, 7pm > Where: Caktus Group, 209 Lloyd St, Suite 320, Carrboro > > Chris Laffra will demonstrate his online Python Algorithm Visualizer. As > always, spontaneous lightning talks of ten minutes or less on other > topics are also welcome. Anything you've learned about Python, no matter > how trivial, can be a lightning talk. There's plenty of parking at > Caktus and we can walk to nearby after-meeting watering holes. Please > note the room change for this and future meetings at Caktus. This room's > entrance is at the parking lot level of the complex. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From Tom_Roche at pobox.com Fri Jan 24 00:58:37 2014 From: Tom_Roche at pobox.com (Tom Roche) Date: Thu, 23 Jan 2014 18:58:37 -0500 Subject: [TriZPUG] Triangle Open Data Day Message-ID: <87sise1c9e.fsf@pobox.com> http://triangleopendataday.org http://todd2014.eventbrite.com FWIW, Tom Roche From lionface.lemonface at gmail.com Fri Jan 24 01:40:47 2014 From: lionface.lemonface at gmail.com (Josh Johnson) Date: Thu, 23 Jan 2014 19:40:47 -0500 Subject: [TriZPUG] Reference The Current Version Of Your Python Egg In Your Modules Message-ID: So I've got an app. It's packaged as an egg. I want to do stuff like write to the log file "starting MyApp version 1.2.3332". What's the best way to store that information? In the past I've set a 'constant' at the root of the egg, something like APPVERSION, and I reference it as MyApp.APPVERSION. I just have to remember to keep it in line with the version in setup.py. Is there a better way? Thanks, JJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip at semanchuk.com Fri Jan 24 03:29:39 2014 From: philip at semanchuk.com (Philip Semanchuk) Date: Thu, 23 Jan 2014 21:29:39 -0500 Subject: [TriZPUG] Reference The Current Version Of Your Python Egg In Your Modules In-Reply-To: References: Message-ID: <5037622B-326F-43A7-B9F2-B7691763DADD@semanchuk.com> On Jan 23, 2014, at 7:40 PM, Josh Johnson wrote: > So I've got an app. It's packaged as an egg. I want to do stuff like write > to the log file "starting MyApp version 1.2.3332". What's the best way to > store that information? > > In the past I've set a 'constant' at the root of the egg, something like > APPVERSION, and I reference it as MyApp.APPVERSION. I just have to remember > to keep it in line with the version in setup.py. > > Is there a better way? Hi Josh, I dunno if this is quite what you are looking for, but my app packages always contain a file called VERSION which contains (surprisingly) the version string and nothing else. That's the only place the version resides; all other code reads it from there. For instance, I have this in my setup.py -- VERSION = open("VERSION").read().strip() That value also gets compiled into my C code via a .h file (which is written by setup.py), it's used by the code that builds my tarballs, etc. This also has the advantage of putting the version in a discrete, clearly marked file so that someone can see the package version even if its directory name (which typically contains the version info) gets changed. Hope this helps, Philip From dragonstrider at gmail.com Fri Jan 24 09:13:32 2014 From: dragonstrider at gmail.com (Joseph S. Tate) Date: Fri, 24 Jan 2014 03:13:32 -0500 Subject: [TriZPUG] Reference The Current Version Of Your Python Egg In Your Modules In-Reply-To: <5037622B-326F-43A7-B9F2-B7691763DADD@semanchuk.com> References: <5037622B-326F-43A7-B9F2-B7691763DADD@semanchuk.com> Message-ID: I do something similar, I don't know of a way to read the package version from setuptools, though it's likely there somewhere. I usually have a 'version.py' file that contains "VERSION="1.0.3r9" (or whatever). Then in my setup.py I run "execfile(os.path.join('PKGNAME', 'version.py'))". Then VERSION is available locally. Where I need to use it in code, I'll from pkg.version import VERSION. On Thu, Jan 23, 2014 at 9:29 PM, Philip Semanchuk wrote: > > On Jan 23, 2014, at 7:40 PM, Josh Johnson wrote: > > > So I've got an app. It's packaged as an egg. I want to do stuff like > write > > to the log file "starting MyApp version 1.2.3332". What's the best way to > > store that information? > > > > In the past I've set a 'constant' at the root of the egg, something like > > APPVERSION, and I reference it as MyApp.APPVERSION. I just have to > remember > > to keep it in line with the version in setup.py. > > > > Is there a better way? > > Hi Josh, > I dunno if this is quite what you are looking for, but my app packages > always contain a file called VERSION which contains (surprisingly) the > version string and nothing else. That's the only place the version resides; > all other code reads it from there. For instance, I have this in my > setup.py -- > > VERSION = open("VERSION").read().strip() > > > That value also gets compiled into my C code via a .h file (which is > written by setup.py), it's used by the code that builds my tarballs, etc. > > This also has the advantage of putting the version in a discrete, clearly > marked file so that someone can see the package version even if its > directory name (which typically contains the version info) gets changed. > > Hope this helps, > Philip > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -- Joseph Tate -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Jan 24 16:48:04 2014 From: cbc at unc.edu (Chris Calloway) Date: Fri, 24 Jan 2014 10:48:04 -0500 Subject: [TriZPUG] Reference The Current Version Of Your Python Egg In Your Modules In-Reply-To: References: Message-ID: <52E28B34.8080403@unc.edu> On 1/23/2014 7:40 PM, Josh Johnson wrote: > So I've got an app. It's packaged as an egg. I want to do stuff like > write to the log file "starting MyApp version 1.2.3332". What's the best > way to store that information? >>> import pkg_resources >>> pkg_resources.get_distribution("peep").version '0.8' >>> Also, listen to the question at 4:41 in this PyCon US 2013 video (referenced in the packaging information I posted to our IRC channel yesterday): http://pyvideo.org/video/1731/panel-directions-for-packaging -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Fri Jan 24 18:22:57 2014 From: cbc at unc.edu (Chris Calloway) Date: Fri, 24 Jan 2014 12:22:57 -0500 Subject: [TriZPUG] Reference The Current Version Of Your Python Egg In Your Modules In-Reply-To: <52E28B34.8080403@unc.edu> References: <52E28B34.8080403@unc.edu> Message-ID: <52E2A171.8010905@unc.edu> On 1/24/2014 10:48 AM, Chris Calloway wrote: > Also, listen to the question at 4:41 in this PyCon US 2013 video > (referenced in the packaging information I posted to our IRC channel > yesterday): > > http://pyvideo.org/video/1731/panel-directions-for-packaging Specifically the answer to the question about accessing version information in future releases of distlib was: http://www.python.org/dev/peps/pep-0426/#version which references: http://www.python.org/dev/peps/pep-0440/ PEP 440 replaces PEP 386. A few months ago I was curious about how Erik Rose was validating version information in peep and wrote a little script which interogates Pypi for how many releases are PEP 386 compliant: https://github.com/cbcunc/releases It turns out the overwhelming majority of releases on Pypi are PEP 386 compliant: https://gist.github.com/cbcunc/6360843 -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From markdlavin at gmail.com Fri Jan 24 19:35:18 2014 From: markdlavin at gmail.com (Mark Lavin) Date: Fri, 24 Jan 2014 13:35:18 -0500 Subject: [TriZPUG] Web Developer Internship at Caktus Message-ID: Just as a follow up from last night and for anyone who missed yesterday's meeting, Caktus is looking for an intern this summer to work alongside our team creating sharp web applications. It is a paid position located in Carrboro, NC. An ideal candidate will be interested in learning Django, HTML5 and CSS3. If you are interested, you can check out the full posting here: http://www.caktusgroup.com/careers/#op-29228-django-web-developerinternship I'm happy to answer any questions as well. Best, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.humphres at windsorcircle.com Mon Jan 27 05:48:21 2014 From: chris.humphres at windsorcircle.com (Chris Humphres) Date: Sun, 26 Jan 2014 23:48:21 -0500 Subject: [TriZPUG] Have a job: Python developer Message-ID: We have an opening in downtown Durham (see job description below). If interested, please contact me. Thanks, Chris Job Description We are looking for a python software developer to join our funded startup to help us build and expand our market leading Retention Automation Platform. This is an exciting opportunity to get in on the ground floor with salary and stock options while working with cutting edge technology. Join our team and you will be using python to build the interconnect to many SaaS data stores in the e-commerce marketplace. These are primarily SOAP and REST based APIs. You will also use Python and a relational database to store and transform the data for marketing purposes. Finally, you will help build our own RESTful API supporting JSON and XML data exchange for integration with our partner network. Requirements - Python (2+ yrs experience or BS in Computer Science with python coursework) - Web services experience (RESTful and/or SOAP) - JSON/XML - Linux/Unix development experience Additional skills (nice to have, but not required) - Python Web frameworks such Pyramid, Django, web2py, etc. - PHP - C/C++ - MySQL or Oracle - Git experience - Experience developing in the cloud (e.g. Amazon EC2) Contact Info Contact: Chris Humphres E-mail contact: jobs (at) windsorcircle.com Web: http://www.windsorcircle.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From justis.peters at gmail.com Mon Jan 27 15:58:41 2014 From: justis.peters at gmail.com (Justis Peters) Date: Mon, 27 Jan 2014 09:58:41 -0500 Subject: [TriZPUG] TriLUG Feb 13: Ansible for remote system management Message-ID: <52E67421.5040008@gmail.com> Please join us for the Triangle Linux Users Group meeting, February 13, with TriPython's very own Joseph Tate. Details below: *Topic:*Ansible *Presenter:*Joseph Tate *When:*Thursday, 13th February 2014, 7pm (pizza from 6.45pm) *Where:*NC State Engineering Building II Room TBA, Centennial Campus (watch http://trilug.org/2014-02-13/ansible) for updates *Parking:*The parking decks and Oval Drive street parking are free after 5pm *Map:*Google Maps *Abstract:* Ansible is a powerful remote system management tool like Puppet or Chef for configuration management and like Fabric and Capistrano for application deployment. Ansible can also do system provisioning through modules for various cloud providers. As a hybrid, Ansible is a little more step-wise than a pure configuration management system (which makes it better for deploying software and dealing with multiple system tiers) and more declarative than your typical remote automation framework (which makes it easier to manage dissimilar systems, even systems not originally deployed with Ansible). It has very minimal client requirements and no deployed client agent. Joseph will introduce Ansible for single tasks and highlight some of the built in modules and what you can do with them. Then he will jump into best practices for stringing multiple tasks together into Ansible Playbooks (especially how not to repeat yourself). Finally, he'll tie it all together with Amazon EC2 to show how to fire up spot instances using a base image, configure it with a set of software and configuration, do some work with it, and finally tear it all down. *Bio:* Joseph was introduced to Linux while in college in 1998, and while he didn't understand Debian then (and arguably still doesn't), did manage to download RedHat 5.0 onto a bunch of floppies and install it successfully; he then tried never again to look at Windows with varying degrees of failure. He cut his first open source teeth on PHP earning commit access to a couple of modules in 2001, and since has contributed to many other projects. He now contributes most regularly to CherryPy and a couple of pet projects. A long time RPM slinger, he worked for the now defunct rPath from 2005-2009 building system configuration and distro building software. Now he runs the completely virtual infrastructure and continuous testing and build system for a small SaaS startup in California from his evil lair^W^Wbasement. Joseph holds a BSE in Electrical Engineering and Computer Science from Duke University, served as Publicity Chair of TriLUG from 2004-2006, and has reluctantly been awarded three software patents. He thinks KDE is the best desktop to run multiple terminals in, and VIM is the best editor. -------------- next part -------------- An HTML attachment was scrubbed... URL: