Pycrastination

February 15th, 2009 | Tags: , , , ,

While working through university work I haven’t had much time to work on other things which I’d like to, however I’ve had enough time to play with a few Python libraries which have caught my eye.

Firstly, scrapy;

Scrapy is a high level scraping and web crawling framework for writing spiders to crawl and parse web pages for all kinds of purposes, from information retrieval to monitoring or testing web sites.

I wrote a little scrapy app which scrapes my university exam timetable and collates all the data in a .csv, with that I….

Post it to a Google calendar using my second new library, gdata, this is a cool library provided by Google which implements the Google api’s for Calendar, App’s, Blogger etc.. anyway, that left me with a pretty impressive calendar - the exams were at the end of Jan. The little Python script that posts it to Google Cal is here.

Finally I’ve recently been playing with CherryPy. I’ve been toying with a few ideas for websites so I wanted to look at some of the Python web frameworks, having already played with Django, which I like a lot but it’s a bit too large of a stack to deal with for small projects. I turned to look at CherryPy and it’s exactly what I wanted! I’ve only been playing with bits of it but it’s very cool and the community around it is awesome.  The only thing I’ve got up and running is the resultant Reddit clone from doing the Genshi tutorial. The code from the Genshi tutorial is also up on trac, here. Hopefully I’ll get one of my ideas prototyped soon.

There is quite a bit of stuff on my trac now, hopefully some of it might be useful to someone. If any of it is useful to you, let me know and I’ll slap a license on it for you or just grab it. My license of preference is the WTFPL anyway.

No comments yet.
TOP