dive into mark

You are here: dive into markArchivesMay 2003PyTechnorati

Monday, May 12, 2003

PyTechnorati

Well, this was inevitable. (Background: Technorati API released.)

Remember that whole not-taking-on-new-projects thing? Well, that lasted about 24 hours. Which, honestly, is longer than I was expecting.

Open source, Python-licensed. Share and enjoy.

Filed under , ,

15 comments

  1. My god, man. You’re a machine.

    Comment by Shawn — Monday, May 12, 2003 @ 4:03 pm

  2. He’s a *machine*?

    Well, *that* explains a lot. Does Dora know?

    Comment by Dorothea Salo — Monday, May 12, 2003 @ 4:19 pm

  3. You’re not the only one mixing Technorati and Python http://www.myelin.co.nz/post/2003/5/12/#200305124

    Comment by Michael Fagan — Monday, May 12, 2003 @ 4:29 pm

  4. Mine has several features that his lacks (support for optional start/format/version parameters in cosmos function, type conversion of integers and dates, HTTP proxy support, more options to set the license key), and his has several features that mine lacks (command line functionality, ability to run without an XML parser).

    Comment by Mark — Monday, May 12, 2003 @ 4:39 pm

  5. “…Well, that lasted about 24 hours.”

    That’s because you tried to quit cold turkey.

    Comment by kami — Monday, May 12, 2003 @ 5:04 pm

  6. you might want to strip trailing newlines off the license read from a file. or maybe add something saying that the format of the license key file is important.

    otherwise, still doesn’t run on my os x box with the default python install. something about not finding an xml parser. had the same problem with the xml examples in diveintopython.

    Comment by b — Monday, May 12, 2003 @ 5:28 pm

  7. I was wondering how long it would take you… I thought it might be a while, so I started writing my own:

    http://www.aaronsw.com/2002/xmltramp/technorati.py

    Comment by Aaron Swartz — Monday, May 12, 2003 @ 5:30 pm

  8. Unfortunately, the version of Python that comes with OS X does not include an XML parser. You will need to install PyXML [ http://pyxml.sourceforge.net/ ], or use Philip Pearson’s version (linked above) which does not use an XML parser.

    Comment by Mark — Monday, May 12, 2003 @ 6:31 pm

  9. Mark, I remember reading that your acronym tags are generated by MT. You must’ve mistyped the expanded form of API, then. Because when hovering over it, a tooltip that says “Application Interface” appears. It should say “Application Programming Interface.”

     – Minh Nguyễn

    Comment by Minh Nguyễn — Monday, May 12, 2003 @ 6:36 pm

  10. a solution to the mac os x problems seems to be to install readline and expat first. then rebuild and install python from source.

    readline isn’t needed for xml support, but it’s a nice-to-have. if apple is going to continue to ship python, they should add these in.

    Comment by b — Monday, May 12, 2003 @ 7:02 pm

  11. Do you sleep?

    Comment by Stuart Woodward — Monday, May 12, 2003 @ 10:30 pm

  12. Noticed the recommended reading pane on the right hand side of the page… when are you going to get a book published Mark?

    Comment by MikeyC — Tuesday, May 13, 2003 @ 12:08 am

  13. I’ve just set up a proper page for my one, and fixed some of the shortcomings noted by Mark above for v0.02.

    http://www.myelin.co.nz/technorati_py/

    It now gets the license key from all the same locations as PyTechnorati, lets you specify start= to the getCosmos method, properly dies on an HTTP error, and uses the new URLs.

    Share and enjoy.

    Comment by Phillip Pearson — Tuesday, May 13, 2003 @ 5:38 am

  14. if rc: return rc.strip()

    Comment by Sam Ruby — Tuesday, May 13, 2003 @ 6:51 am

  15. Trackback by Sam Ruby

Respond privately

I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)



Recent Stuff For You, Special Price Stay Here
  • Greasemonkey Hacks
Good Stuff Buy The Cow Go Away
Dive Into Python
Powered by Google Drink The Milk Don't Steal

 

posts / comments
© 2001-8 Mark Pilgrim