From sharma.shubhra07 at gmail.com Tue Dec 4 04:19:09 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Mon, 3 Dec 2012 19:19:09 -0800 Subject: [Baypiggies] Installing matplotlib using macports on Python3.2.3 Message-ID: Hi All, I'm trying to install matplotlib using macports without success. - Here's what I'm running into: ssharma-dev1:~ ssharma$ sudo port install py-matplotlib @1.2.0 ---> Computing dependencies for py-matplotlib ---> Cleaning py-matplotlib ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. ssharma-dev1:~ ssharma$ port contents py-matplotlib @1.2.0 Port py-matplotlib contains: /opt/local/share/doc/py-matplotlib/README ssharma-dev1:~ ssharma$ -------------------------------------- - I was able to install py32-numpy @1.6.2, freetype @2.4.10,libpng @1.5.13 and then I tried py27-matplotlib @1.2.0 without problems. - See download page https://github.com/matplotlib/matplotlib/downloads(there seems to be nothing for OSX10.7 64bit on python3.2.3). Is this the wrong link? - Based on this: http://pythonsprints.com/2011/04/8/matplotlib-python-3-thanks-cape-town-groupit seems that matplotlib has been ported to python3.x. But, when I go to: https://github.com/matplotlib/matplotlib-py3 I get a 404 - My question is is there a way to install matplotlib on python3.2.3 using macports? If yes how? What am I missing? Thanks for all your help. Best regards, Shubhra -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidoff56 at alluvialsw.com Tue Dec 4 08:56:12 2012 From: davidoff56 at alluvialsw.com (Monte Davidoff) Date: Mon, 03 Dec 2012 23:56:12 -0800 Subject: [Baypiggies] Installing matplotlib using macports on Python3.2.3 In-Reply-To: References: Message-ID: <50BDAC9C.906@alluvialsw.com> On 12/3/12 7:19 PM, Shubhra Sharma wrote: > My question is is there a way to install matplotlib on python3.2.3 > using macports? Not yet. Someone is working on it. See https://trac.macports.org/ticket/36930 > ssharma-dev1:~ ssharma$ sudo port install py-matplotlib @1.2.0 The py-matplotlib port is what is called a unified port, meaning the same port supports multiple versions of python. Look at the output of "port info py-matplotlib". Notice it has the py26-matplotlib and py27-matplotlib subports. This means that the py-matplotlib port supports Python 2.6 and Python 2.7. You would normally install one of these subports, which indicate the version of python to use. You would not normally install the unified port itself, py-matplotlib. Monte -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Dec 4 16:02:58 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 4 Dec 2012 07:02:58 -0800 Subject: [Baypiggies] Glen's talk on Virtualization In-Reply-To: References: Message-ID: Lyle Ryan, I think this subject is pretty large and I have a habit of trying to squeeze way too much into an hour (and I gab too quickly and too much). As this is being organized a bit better and I have a more realistic understanding of what I'll be able to provide, I don't think we can do the vmware related parts for this talk. However, I work on a team that has two products. And one of their products is actually a complete python product that has an engine that interfaces with/creates KVM, Xen, instances amont many other things. That product also interfaces with VMWare. This won't be part of the talk. It was clear as this started gelling that I needed to focus on Python specifically and there's a lot of that. So, here's the new game plan: 1) Hit a survey of all of the main concepts of virtualization. This is a general background and is not Python specific 2) Specifically introduce/review in more depth two Python "products": - virtualenv - Reviewing EC2/Using Boto to create an EC2 instance I will mention, on a closing slide or two the company that I work for and the product that I'm talking about (touching on the VMWare piece -- but barely touching). I think this is all we can do within the time frame and that may be pushing it as well. However, if this is true, then we can make new talks on other topics of peoples interest down the road. Hopefully this helps. Cheers, Glen On Mon, Nov 19, 2012 at 8:48 AM, Ryan, Lyle wrote: > ation sounds great. Can you include any areas where Python crosses-over > with VMware (a large part of my job)?**** > > ** ** > > Thanks?Lyle Ryan > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From msabramo at gmail.com Tue Dec 4 17:52:34 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Tue, 4 Dec 2012 08:52:34 -0800 Subject: [Baypiggies] Glen's talk on Virtualization In-Reply-To: References: Message-ID: <94C7F6BA-79F6-48AC-98BD-003A95CA82ED@gmail.com> Speaking of boto, it's actually the too entry on the Python 3 Wall of Shame. Very widely used library. No good Python 3 support yet. There are some efforts underway to remedy this which might be if interest to those looking for a project to hack on that will help advance Python 3: - https://github.com/boto/boto/issues/1127 - https://github.com/boto/boto/pull/1156 The latter is a PR to try to make boto.ec2 work on Python 3. The tests pass but I haven't actually tried to use it, as my new job doesn't use EC2. It would be useful if someone who uses EC2 regularly could give it a spin (Glen? ;-)) This could be fun to sprint on, at PyCon or elsewhere, like the BayPiggies sprint that Chad sugested at the last meeting. -Marc http://marc-abramowitz.com Sent from my iPhone 4S On Dec 4, 2012, at 7:02 AM, Glen Jarvis wrote: > Lyle Ryan, > > I think this subject is pretty large and I have a habit of trying to squeeze way too much into an hour (and I gab too quickly and too much). As this is being organized a bit better and I have a more realistic understanding of what I'll be able to provide, I don't think we can do the vmware related parts for this talk. > > However, I work on a team that has two products. And one of their products is actually a complete python product that has an engine that interfaces with/creates KVM, Xen, instances amont many other things. That product also interfaces with VMWare. This won't be part of the talk. It was clear as this started gelling that I needed to focus on Python specifically and there's a lot of that. > > So, here's the new game plan: > > 1) Hit a survey of all of the main concepts of virtualization. This is a general background and is not Python specific > 2) Specifically introduce/review in more depth two Python "products": > - virtualenv > - Reviewing EC2/Using Boto to create an EC2 instance > > I will mention, on a closing slide or two the company that I work for and the product that I'm talking about (touching on the VMWare piece -- but barely touching). > > I think this is all we can do within the time frame and that may be pushing it as well. However, if this is true, then we can make new talks on other topics of peoples interest down the road. > > Hopefully this helps. > > Cheers, > > > Glen > > > > On Mon, Nov 19, 2012 at 8:48 AM, Ryan, Lyle wrote: >> ation sounds great. Can you include any areas where Python crosses-over with VMware (a large part of my job)? >> >> >> >> Thanks?Lyle Ryan >> > > > > -- > "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." > > --Henry David Thoreau > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Dec 4 18:36:05 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 4 Dec 2012 09:36:05 -0800 Subject: [Baypiggies] Glen's talk on Virtualization In-Reply-To: <94C7F6BA-79F6-48AC-98BD-003A95CA82ED@gmail.com> References: <94C7F6BA-79F6-48AC-98BD-003A95CA82ED@gmail.com> Message-ID: As a complete diversion, "hey is that a chicken..." I wrote my first Django 1.5 Beta/Python 3 app this weekend (my first python 3 app). It was fairly seamless except for my nasty habit of using the built in print instead of print function. Those parenthesis will be the death of me until I rebuild that habit. Cheers, Glen On Dec 4, 2012, at 8:52 AM, Marc Abramowitz wrote: > Speaking of boto, it's actually the too entry on the Python 3 Wall of Shame. Very widely used library. No good Python 3 support yet. There are some efforts underway to remedy this which might be if interest to those looking for a project to hack on that will help advance Python 3: > > - https://github.com/boto/boto/issues/1127 > - https://github.com/boto/boto/pull/1156 > > The latter is a PR to try to make boto.ec2 work on Python 3. The tests pass but I haven't actually tried to use it, as my new job doesn't use EC2. > It would be useful if someone who uses EC2 regularly could give it a spin (Glen? ;-)) > > This could be fun to sprint on, at PyCon or elsewhere, like the BayPiggies sprint that Chad sugested at the last meeting. > > -Marc > http://marc-abramowitz.com > Sent from my iPhone 4S > > > On Dec 4, 2012, at 7:02 AM, Glen Jarvis wrote: > >> Lyle Ryan, >> >> I think this subject is pretty large and I have a habit of trying to squeeze way too much into an hour (and I gab too quickly and too much). As this is being organized a bit better and I have a more realistic understanding of what I'll be able to provide, I don't think we can do the vmware related parts for this talk. >> >> However, I work on a team that has two products. And one of their products is actually a complete python product that has an engine that interfaces with/creates KVM, Xen, instances amont many other things. That product also interfaces with VMWare. This won't be part of the talk. It was clear as this started gelling that I needed to focus on Python specifically and there's a lot of that. >> >> So, here's the new game plan: >> >> 1) Hit a survey of all of the main concepts of virtualization. This is a general background and is not Python specific >> 2) Specifically introduce/review in more depth two Python "products": >> - virtualenv >> - Reviewing EC2/Using Boto to create an EC2 instance >> >> I will mention, on a closing slide or two the company that I work for and the product that I'm talking about (touching on the VMWare piece -- but barely touching). >> >> I think this is all we can do within the time frame and that may be pushing it as well. However, if this is true, then we can make new talks on other topics of peoples interest down the road. >> >> Hopefully this helps. >> >> Cheers, >> >> >> Glen >> >> >> >> On Mon, Nov 19, 2012 at 8:48 AM, Ryan, Lyle wrote: >>> ation sounds great. Can you include any areas where Python crosses-over with VMware (a large part of my job)? >>> >>> >>> >>> Thanks?Lyle Ryan >>> >> >> >> >> -- >> "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." >> >> --Henry David Thoreau >> >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Fri Dec 7 22:38:05 2012 From: aahz at pythoncraft.com (Aahz) Date: Fri, 7 Dec 2012 13:38:05 -0800 Subject: [Baypiggies] Guido -> Dropbox Message-ID: <20121207213805.GA19518@panix.com> https://tech.dropbox.com/2012/12/welcome-guido/ -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ I support the RKAB From alexandre.conrad at gmail.com Fri Dec 7 23:31:54 2012 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Fri, 7 Dec 2012 14:31:54 -0800 Subject: [Baypiggies] Guido -> Dropbox In-Reply-To: <20121207213805.GA19518@panix.com> References: <20121207213805.GA19518@panix.com> Message-ID: Wow. 2012/12/7 Aahz > https://tech.dropbox.com/2012/12/welcome-guido/ > -- > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > I support the RKAB > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Alex | twitter.com/alexconrad -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Dec 13 01:48:38 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 12 Dec 2012 16:48:38 -0800 Subject: [Baypiggies] Glen's talk on Virtualization In-Reply-To: <94C7F6BA-79F6-48AC-98BD-003A95CA82ED@gmail.com> References: <94C7F6BA-79F6-48AC-98BD-003A95CA82ED@gmail.com> Message-ID: Marc, I hadn't yet given this a spin. My talk will be using Python 2.x to demonstrate. But, since we also talk about virtualenv and I'll have a py3... we could play. However, I just don't think we'll have the time... G On Tue, Dec 4, 2012 at 8:52 AM, Marc Abramowitz wrote: > Speaking of boto, it's actually the too entry on the Python 3 Wall of > Shame. Very widely used library. No good Python 3 support yet. There are > some efforts underway to remedy this which might be if interest to those > looking for a project to hack on that will help advance Python 3: > > - https://github.com/boto/boto/issues/1127 > - https://github.com/boto/boto/pull/1156 > > The latter is a PR to try to make boto.ec2 work on Python 3. The tests > pass but I haven't actually tried to use it, as my new job doesn't use EC2. > It would be useful if someone who uses EC2 regularly could give it a spin > (Glen? ;-)) > > This could be fun to sprint on, at PyCon or elsewhere, like the BayPiggies > sprint that Chad sugested at the last meeting. > > -Marc > http://marc-abramowitz.com > Sent from my iPhone 4S > > > On Dec 4, 2012, at 7:02 AM, Glen Jarvis wrote: > > Lyle Ryan, > > I think this subject is pretty large and I have a habit of trying to > squeeze way too much into an hour (and I gab too quickly and too much). As > this is being organized a bit better and I have a more realistic > understanding of what I'll be able to provide, I don't think we can do the > vmware related parts for this talk. > > However, I work on a team that has two products. And one of their > products is actually a complete python product that has an engine that > interfaces with/creates KVM, Xen, instances amont many other things. That > product also interfaces with VMWare. This won't be part of the talk. It was > clear as this started gelling that I needed to focus on Python specifically > and there's a lot of that. > > So, here's the new game plan: > > 1) Hit a survey of all of the main concepts of virtualization. This is a > general background and is not Python specific > 2) Specifically introduce/review in more depth two Python "products": > - virtualenv > - Reviewing EC2/Using Boto to create an EC2 instance > > I will mention, on a closing slide or two the company that I work for and > the product that I'm talking about (touching on the VMWare piece -- but > barely touching). > > I think this is all we can do within the time frame and that may be > pushing it as well. However, if this is true, then we can make new talks on > other topics of peoples interest down the road. > > Hopefully this helps. > > Cheers, > > > Glen > > > > On Mon, Nov 19, 2012 at 8:48 AM, Ryan, Lyle wrote: > >> ation sounds great. Can you include any areas where Python crosses-over >> with VMware (a large part of my job)?**** >> >> ** ** >> >> Thanks?Lyle Ryan >> > > > > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Thu Dec 13 20:01:54 2012 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 13 Dec 2012 11:01:54 -0800 Subject: [Baypiggies] IPython gets funding from the Alfred P Sloan Foundation Message-ID: http://mail.scipy.org/pipermail/ipython-dev/2012-December/010799.html?utm_source=Python+Weekly+Newsletter&utm_campaign=9f43a66c88-Python_Weekly_Issue_65_December_13_2012&utm_medium=email Congratulations Fernando and others working on IPython ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From patenaude at gmail.com Thu Dec 13 22:44:45 2012 From: patenaude at gmail.com (Mitch Patenaude) Date: Thu, 13 Dec 2012 13:44:45 -0800 Subject: [Baypiggies] IRC bot framework Message-ID: I'm trying to build an IRC bot in python, and I'm looking for a good framework to use. I've played with phenny, but I can't seem to make it work. Does anybody know of another framework? -- Mitch Patenaude patenaude at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From guido at python.org Thu Dec 13 22:53:33 2012 From: guido at python.org (Guido van Rossum) Date: Thu, 13 Dec 2012 13:53:33 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: References: Message-ID: Twisted? On Thu, Dec 13, 2012 at 1:44 PM, Mitch Patenaude wrote: > I'm trying to build an IRC bot in python, and I'm looking for a good > framework to use. > > I've played with phenny, but I can't seem to make it work. Does anybody > know of another framework? > > -- Mitch Patenaude > patenaude at gmail.com > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -- --Guido van Rossum (python.org/~guido) From tim at timhatch.com Fri Dec 14 00:37:52 2012 From: tim at timhatch.com (Tim Hatch) Date: Thu, 13 Dec 2012 15:37:52 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: References: Message-ID: <50CA66D0.70102@timhatch.com> On 12/13/12 1:44 PM, Mitch Patenaude wrote: > I'm trying to build an IRC bot in python, and I'm looking for a good > framework to use. > > I've played with phenny, but I can't seem to make it work. Does anybody > know of another framework? I've built a trivial one on top of Djangobot before. It's Twisted at the core, but with some nice abstractions for commands-as-functions. http://code.google.com/p/djangobot/ https://github.com/brosner/djangobot/blob/master/djangobot/__init__.py > > -- Mitch Patenaude > patenaude at gmail.com > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From cappy2112 at gmail.com Fri Dec 14 01:51:52 2012 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 13 Dec 2012 16:51:52 -0800 Subject: [Baypiggies] Baypiggies meeting Dec 13, 2012 Message-ID: The presentation tonight will be given by Glen Jarvis. The topic is:*Red Pill and Blue Pill: Virtual Machines and Virtual Environments* The meeting starts at ~7:40, following the usual announcements. Location info and other details is at http://www.baypiggies.net/ Hope to see you there tonight! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmarti at zgp.org Fri Dec 14 01:43:46 2012 From: dmarti at zgp.org (Don Marti) Date: Thu, 13 Dec 2012 16:43:46 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: References: Message-ID: <20121214004346.GA20678@zea.perforce.com> begin Guido van Rossum quotation of Thu, Dec 13, 2012 at 01:53:33PM -0800: > Twisted? Yardbird is an IRC bot system based on Twisted. "Yardbird is a Python package that allows you to write IRC chat bots using Django. Internally it uses Twisted Python to provide a sort of "IRC client runserver" that dispatches incoming messages to your Django apps." http://zork.net/yardbird/ -- Don Marti +1-510-332-1587 (mobile) http://zgp.org/~dmarti/ Alameda, California, USA dmarti at zgp.org From glen at glenjarvis.com Fri Dec 14 09:57:45 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 14 Dec 2012 00:57:45 -0800 Subject: [Baypiggies] Red Pill Blue Pill materials/follow-up & "Where to send resume" Message-ID: What a turnout! That was amazing! And, the questions that people started asking really made the energy work (especially when I had a hiccup in a demo and we just kept going with discussion). I have several materials that I will package up for everyone: - A screencast of almost the exact same talk (my practice talk in preparing for this presentation) - The sample code snippets that I used to demo creating an Amazon Instance - The PDF document "Successfully Using a Free Amazon Instance" that steps one through the basics of setting up an Amazon Instance (screenshot by screenshot) Give me a little time to sanitize a little of the above (e.g., I don't want to accidentally check in my "private" module). I'll have the above packaged up as quick as I can for you. Also, the flyers that I handed out didn't have my email address any more. If you are interested in the positions that I mentioned at my company, please send an email to glen at glenjarvis.com with your resume attached and I'll make certain they know that you came through me. Cheers, Glen -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Clark at actian.com Fri Dec 14 20:05:44 2012 From: Chris.Clark at actian.com (Chris Clark) Date: Fri, 14 Dec 2012 11:05:44 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: <20121214004346.GA20678@zea.perforce.com> References: <20121214004346.GA20678@zea.perforce.com> Message-ID: <50CB7888.9030806@actian.com> On Friday 2012-12-14 11:00 (-0800), Don Marti wrote: > begin Guido van Rossum quotation of Thu, Dec 13, 2012 at 01:53:33PM -0800: >> Twisted? > Yardbird is an IRC bot system based on Twisted. > > "Yardbird is a Python package that allows you > to write IRC chat bots using Django. Internally > it uses Twisted Python to provide a sort of "IRC > client runserver" that dispatches incoming messages > to your Django apps." > > http://zork.net/yardbird/ > From a user perspective I actually like http://sourceforge.net/projects/supybot/ which is bot framework (like Phenny). It doesn't use Twisted, and works with stdlib. I've not actually needed to implement a plugin/bot though I've just used the ones that it shipped with so I can't comment on how nice the API is. They do have a tutorial for plugins (a dice roll example I think). Chris From patenaude at gmail.com Mon Dec 17 05:07:22 2012 From: patenaude at gmail.com (Mitch Patenaude) Date: Sun, 16 Dec 2012 20:07:22 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: <20121214004346.GA20678@zea.perforce.com> References: <20121214004346.GA20678@zea.perforce.com> Message-ID: On Thu, Dec 13, 2012 at 4:43 PM, Don Marti wrote: > begin Guido van Rossum quotation of Thu, Dec 13, 2012 at 01:53:33PM -0800: > > Twisted?ha > > Yardbird is an IRC bot system based on Twisted. > > "Yardbird is a Python package that allows you > to write IRC chat bots using Django. Internally > it uses Twisted Python to provide a sort of "IRC > client runserver" that dispatches incoming messages > to your Django apps." > > http://zork.net/yardbird/ > > Thanks for all the options. In the end I went with just plain twisted. It was a little daunting at first, but based on the example IRC bot, and looking at the docstrings, I managed to make a reasonable bot. It's a nagios bot that tails the log and announces alerts and notifications in an IRC channel. If I manage to clean it up a little maybe I'll open source it. The one thing that seems a little broken is pydoc: $ pydoc26 twisted.words.protocols.irc.IRCClient Help on class IRCClient in twisted.words.protocols.irc: twisted.words.protocols.irc.IRCClient = If I look at the actual source, it looks like the docstrings are fine, but both pydoc and help(...) fail for the IRCClient class, and AFAICT, only the IRCClient class. Which is unfortunate, because that's the main class you need to work with in order to build an IRC client. -- Mitch Patenaude patenaude at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at timhatch.com Mon Dec 17 17:46:17 2012 From: tim at timhatch.com (Tim Hatch) Date: Mon, 17 Dec 2012 08:46:17 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: References: <20121214004346.GA20678@zea.perforce.com> Message-ID: <50CF4C59.9040204@timhatch.com> > The one thing that seems a little broken is pydoc: > $ pydoc26 twisted.words.protocols.irc.IRCClient > Help on class IRCClient in twisted.words.protocols.irc: > > twisted.words.protocols.irc.IRCClient = twisted.words.protocols.irc.IRCClient> > > If I look at the actual source, it looks like the docstrings are fine, > but both pydoc and help(...) fail for the IRCClient class, and AFAICT, > only the IRCClient class. Which is unfortunate, because that's the main > class you need to work with in order to build an IRC client. It's likely installed with only .pyo or something like that. python -c 'import twisted.words.protocols.irc as i; print i.__file__' to confirm Tim From patenaude at gmail.com Mon Dec 17 19:04:08 2012 From: patenaude at gmail.com (Mitch Patenaude) Date: Mon, 17 Dec 2012 10:04:08 -0800 Subject: [Baypiggies] IRC bot framework In-Reply-To: <50CF4C59.9040204@timhatch.com> References: <20121214004346.GA20678@zea.perforce.com> <50CF4C59.9040204@timhatch.com> Message-ID: On Mon, Dec 17, 2012 at 8:46 AM, Tim Hatch wrote: > It's likely installed with only .pyo or something like that. python -c > 'import twisted.words.protocols.irc as i; print i.__file__' to confirm > Nope.. I've looked at the source file directly, and it's there and has the docstrings... you can even print them manually: Python 2.6.8 (unknown, Nov 7 2012, 14:47:45) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from twisted.words.protocols import irc >>> print irc.IRCClient.__doc__ Internet Relay Chat client protocol, with sprinkles. In addition to providing an interface for an IRC client protocol, this class also contains reasonable implementations of many common CTCP methods. TODO [....] >>> help(irc.IRCClient) Help on class IRCClient in module twisted.words.protocols.irc: IRCClient = >>> irc.__file__ '/usr/lib/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/words/protocols/irc.pyc' I think this is a bug in pydoc/help rather than in twisted. -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Mon Dec 17 23:39:25 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 17 Dec 2012 14:39:25 -0800 Subject: [Baypiggies] SOAP and Python? Message-ID: I'm apparently dirty and lazy (I have always preferred REST over SOAP). So, I've never had the joy of learning to integrate with such a service. As it is, I need to learn today. So I don't spin my wheels, are there any nice tutorials that will take me from very beginning to end without a lot of bumps along the way? The client is up to me so I've decided to use the SUDS client: from suds.client import Client url = 'http://blahblahblah' client = Client(url) Although I have roughly the idea of RPC over the net via SOAP, It'd be so nice to have someone hold my hand through the process until I can run like Forrest Gump.. I'd really like to have an already built SOAP service to experiment against as well... All suggestions taken... Glen P.S. I'm wrapping up my presentation stuff soon. I may get the stuff everyone's waiting for out tonight. Of course, I still have my own deliverables to handle first :( -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Dec 18 00:43:11 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 17 Dec 2012 15:43:11 -0800 Subject: [Baypiggies] SOAP and Python? In-Reply-To: References: Message-ID: This is the insanity that I'm battling today... take a read, it's funny :) http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands-for-simple/ Glen P.S. My offer to pay a tutor is still valid. Any time there's a new concept that can be messy to learn, it's worth my time to pay someone. Takers? On Mon, Dec 17, 2012 at 2:39 PM, Glen Jarvis wrote: > I'm apparently dirty and lazy (I have always preferred REST over SOAP). > So, I've never had the joy of learning to integrate with such a service. As > it is, I need to learn today. So I don't spin my wheels, are there any nice > tutorials that will take me from very beginning to end without a lot of > bumps along the way? > > The client is up to me so I've decided to use the SUDS client: > > from suds.client import Client > url = 'http://blahblahblah' > client = Client(url) > > Although I have roughly the idea of RPC over the net via SOAP, It'd be so > nice to have someone hold my hand through the process until I can run like > Forrest Gump.. I'd really like to have an already built SOAP service to > experiment against as well... > > All suggestions taken... > > > Glen > P.S. I'm wrapping up my presentation stuff soon. I may get the stuff > everyone's waiting for out tonight. Of course, I still have my own > deliverables to handle first :( > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Tue Dec 18 07:31:09 2012 From: aahz at pythoncraft.com (Aahz) Date: Mon, 17 Dec 2012 22:31:09 -0800 Subject: [Baypiggies] SOAP and Python? In-Reply-To: References: Message-ID: <20121218063108.GA13884@panix.com> On Mon, Dec 17, 2012, Glen Jarvis wrote: > > I'm apparently dirty and lazy (I have always preferred REST over SOAP). So, > I've never had the joy of learning to integrate with such a service. As it > is, I need to learn today. So I don't spin my wheels, are there any nice > tutorials that will take me from very beginning to end without a lot of > bumps along the way? > > The client is up to me so I've decided to use the SUDS client: > > from suds.client import Client > url = 'http://blahblahblah' > client = Client(url) The only way I've ever been able to get SOAP to work is to manually transcribe another language's SOAP examples. The main trick is to use the SOAP tools to take the WSDL URL and generate the Python code. (This was something like five years ago, so I'm afraid I'm handwaving lots.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. From glen at glenjarvis.com Tue Dec 18 21:38:42 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 18 Dec 2012 12:38:42 -0800 Subject: [Baypiggies] Fwd: [postgresql-1] PyPgDay Call For Presentations In-Reply-To: <683701575.1355862903269.JavaMail.nobody@james0.pvt.meetup.com> References: <683701575.1355862903269.JavaMail.nobody@james0.pvt.meetup.com> Message-ID: I'm forwarding this to the BayPIGgies list. G ---------- Forwarded message ---------- From: Josh Berkus Date: Tue, Dec 18, 2012 at 12:35 PM Subject: [postgresql-1] PyPgDay Call For Presentations To: postgresql-1-announce at meetup.com Do you use Postgres for interesting things? Do you develop nifty applications in Python? Do you use them together? Then submit a talk for PyPgDay! PyPgDay will be held on March 13th at the Santa Clara Convention Center, the first day of PyCon. We are specifically looking for talks about: * General PostgreSQL administration and performance * PostgreSQL replication * Developing applications with Postgres and Python * PostgreSQL administration tools written in Python * PL/Python * Data-intensive Django/Pylons/SQLAlchemy/etc. applications * PostGIS and GeoDjango * New Postgres features, like JSON, Range Types and PL/v8 Talks will be 45 minutes in length, and should be pitched to a mixed audience of Python developers and Postgres DBAs. There will also be six lightning talks, each 5 minutes long. PyPgDay presentations might be broadcast over streaming video. You will need to give your consent to this broadcast. Submit your proposal here: http://tinyurl.com/PyPgDayCfP The Deadline for submissions is January 20. Speakers will be chosen February 10. You are encouraged to submit more than one proposal (on different topics). More information about PyPgDay here:http://wiki.postgresql.org/wiki/PyPgDay2013 -- Please Note: If you hit "*REPLY*", your message will be sent to *everyone*on this mailing list ( postgresql-1 at meetup.com) This message was sent by Josh Berkus (josh at postgresql.org) from The San Francisco Bay Area PostgreSQL Meetup Group . To learn more about Josh Berkus, visit his/her member profile To unsubscribe from special announcements from your Organizer(s), click here Meetup, PO Box 4668 #37895 New York, New York 10163-4668<#13bafba244d47cdb_>| support at meetup.com -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From shakefu at gmail.com Thu Dec 20 21:08:52 2012 From: shakefu at gmail.com (Jake Alheid) Date: Thu, 20 Dec 2012 12:08:52 -0800 Subject: [Baypiggies] BayPIGgies on G+ Message-ID: Hi guys, For funsies, I created a BayPIGgies G+ group, in the hopes that it might encourage folks to share more interesting Python-related stuff more often. https://plus.google.com/communities/105190850121607279228 Cheers! Jake Alheid -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Thu Dec 20 21:11:47 2012 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 20 Dec 2012 12:11:47 -0800 Subject: [Baypiggies] Travis Oliphant moving from NumPy to Blaze Message-ID: http://technicaldiscovery.blogspot.com.br/2012/12/passing-torch-of-numpy-and-moving-on-to.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at findpythonjobs.com Wed Dec 26 05:12:41 2012 From: info at findpythonjobs.com (findpythonjobs) Date: Tue, 25 Dec 2012 20:12:41 -0800 (PST) Subject: [Baypiggies] [JOB-BOARD]- Geolocation search, RSS, Google Maps, and OAuth on Python job board at FindPythonJobs.com Message-ID: <1356495161293-5000460.post@n6.nabble.com> I am pleased to announce that the Python job board at http://FindPythonJobs.com is live with* Geolocation search, RSS, Google Maps*, and OAuth! You can now search *Python jobs *within * miles/km of *, and subscribe the *RSS* feed. Python job board now supports *OAuth* too. You can login via Google, Linkedin, Twitter, or GitHub to post Python jobs at http://FindPythonJobs.com/ You can also view all *Python jobs* on Google *map* at http://FindPythonJobs.com/job/map -- View this message in context: http://python.6.n6.nabble.com/JOB-BOARD-Geolocation-search-RSS-Google-Maps-and-OAuth-on-Python-job-board-at-FindPythonJobs-com-tp5000460.html Sent from the Baypiggies List 2 mailing list archive at Nabble.com. From asimjalis at gmail.com Sun Dec 30 02:24:57 2012 From: asimjalis at gmail.com (Asim Jalis) Date: Sat, 29 Dec 2012 17:24:57 -0800 Subject: [Baypiggies] ANN: Python Programming For Beginners, Dublin, CA, Sat 1/5/2013 Message-ID: ANN: Python Programming For Beginners, Dublin, CA, Sat 1/5/2013 Hello Piggies, I just wanted to let everyone know about the Python For Beginners course I am teaching on 1/5/2013. Email me if you?re interested in the discount code. Thanks! Asim * * * *Python Programming For Beginners, Dublin, CA, Sat 1/5/2013* Do you want to give your resume an edge and polish your skillset? Do you want to work at a startup? Do you want to get recognized at your current job for automating repetitive tasks? Learning Python will let you do all this and more. *Why Python?* Python is used at Google, Yelp, DropBox, eBay and many other companies. Python has more jobs than Ruby, Perl, PHP, and iOS on SF Bay Craigslist. Python is a powerful language that is easy to learn and fun to use. Python lets you code fast and makes you ridiculously productive. With Python you can automate tasks, create web sites, grab data by scraping it off the web, send email and text messages, generate reports, and do many other things. *How do I signup?* Sign-up at http://pythonprogrammer.eventbrite.com *When and where is this course?* Course: Python Programming For Beginners Date: Sat 01/05/2013 Time: 9 AM to 4 PM Location: Hyatt Place, 4950 Hacienda Drive, Dublin, CA Company: MetaProse Sign-up: http://pythonprogrammer.eventbrite.com *What are the prerequisites?* The course assumes no programming background. You should have a laptop and a text editor such as TextPad, TextWrangler, or SublimeText2. *Who is the instructor?* The course is taught by Asim Jalis who has worked as a software developer at Microsoft, Hewlett-Packard and other companies for over 12 years. Asim has taught software courses for several years and has taught at Sony, Visa, FedEx, and Yahoo! amongst other companies. Asim has an MS in Computer Science from the University of Virginia, and an MA in Mathematics from the University of Wisconsin?Madison. Here is what Asim?s students have said about him: - ?The teacher is wonderful and I?m learning so much, and having fun learning. Highly recommended!??DB, San Francisco - ?Hands on programming throughout the class helped understand subject better.??Shrinwanti Sengupta, Sony Corporation, San Francisco - ?Teacher really took the time to make sure that each student was up and running with each example/lessons. he also took the time to make sure that each student understood the examples. Will definitely look for the same teacher for future classes.??RQ, San Francisco - ?That was very helpful, hands-on training especially to give the basic practical steps to start working with.??Mikhail Maryakhin, Sony Corporation, San Francisco *What does the course do for me?* You will have the skills to develop real programs. You will write a program to extract email addresses from Python and other jobs on Craigslist. You will receive a Certificate of Completion for the course. You will have a good understanding of software development. *What will be covered in the course?* Installing Python Writing and running Python programs Using Python interactive shell with autocomplete Data types: strings, integers, numbers, booleans Defining variables Defining new functions Using regular expressions to process text App: Which programming languages have the most jobs on Craigslist? Branching using if, elif, else Lists: defining, iterating, lookup, adding, removing, slicing, combining Dictionaries: defining, iterating, lookup, adding, removing Iterating with for, while Reading and writing files App: Get email addresses for all jobs on Craigslist that match keywords. -------------- next part -------------- An HTML attachment was scrubbed... URL: