Pirnat.com

On second thought, let’s not go to Camelot; it is a silly place

Pirnat.com header image 2

Hopefully Minimizing Wheel Reinvention

April 23rd, 2008 by Mike
Gravatar

Dear Lazyweb:

I have a number of programming itches that I’d like to scratch that are just slightly large enough that I’d really love to just use something that already exists (if available). I’d spend a while digging around, but, well… I’m lazy, and I’m busy. So hopefully some of you have suggestions. I am looking for:

  • an MSN Messenger client library (preferably in Python)
  • a Twitter client library (preferably in Python)
  • a solution for cross-posting between LiveJournal and Wordpress (either direction) that supports (or could be made to support with a minimum of pain) multiple LJ blogs on one end and multiple WP users on a shared blog (not that my wife really posts that much any more) on the other
  • a hosting provider that’s friendly to IM bots and is affordable (for some value of “affordable” that I have yet to precisely define, but which in all likelihood simply means that it won’t cause marital unrest)

I may award bonus points if the MSN and Twitter suggestions are both written against Twisted. I know Twisted’s got some MSN support, but I’ve not looked into it too closely and was a little disappointed by the state of the official docs and examples.

I currently host with WebFaction and though I’m normally entirely satisfied with them, I seem to recall that at one point they frowned on running IM bots on their shared hosting platforms, although I can’t immediately find anything expressly prohibiting it in their terms of service, AUP, knowledgebase, and support forums.

Thanks in advance!

Tags: geekery  python2 CommentsPrint This Post

Leave A Comment

2 responses so far ↓

  • 1 Julio Biason Apr 23, 2008 at 9:01 pm Gravatar

    # a Twitter client library (preferably in Python)

    I know that there is a Python-Twitter library, but when I saw it, it didn’t look too “Pythonic” (e.g., it didn’t follow the PEP8 closely.) I wrote a library myself and embedded it into my project (Mitter, [shameless plug] http://mitter.googlecode.com .) I can work it out and make it a standalone lib, if you are interested.

  • 2 Lawrence Oluyede Apr 24, 2008 at 3:00 am Gravatar

    - MSN Messenger: I think you have to wrap libpurple, at least for the part you need.

    - twitter: first result on google code http://code.google.com/p/python-twitter/