Jure Cuhalev

Posts Tagged ‘python

03 Dec, 2009

Python SMTP sink server

Posted by: Jure Cuhalev In: django|Tech

Debugging email sending in your Web application is always tricky as you need a working SMTP and you also need to watch out that you don’t accidently spam real users (if you’re working on a local copy of real database).
There is a neat one liner that acts as a “sink smtpd” server, meaning that it [...]

25 Dec, 2008

Graphication on OS X (with pycairo)

Posted by: Jure Cuhalev In: Tech

I’m working on some visualizations and I want to achieve the look of Last.fm visualization lastgraph3:

The great thing about this is that Andew Godwin, author of the site open sourced the underlying library – Graphication.
Since I’m an OS X user, I decided to make the whole thing work on my system – Leopard 10.5.6 at [...]

15 Nov, 2008

Graphing Koornk

Posted by: Jure Cuhalev In: Tech

Saturdays are the days for hacking (after having a great run earlier of course). This time I’ve been preparing a network data set for a friend. The idea was to take a look at who follows who on Koornk.
Tools used: their API, Python scripts and Pajek to draw the results.
This is what I’ve got after a [...]

02 Oct, 2008

Posting to Koornk using Python

Posted by: Jure Cuhalev In: Tech

While building something nice on Koornk (Slovenian Twitter like service), I stopped for a few months to learn how to do Authenticated POST requests using Python. I found urllib2 way too complicated, but soon I stumbled across great Yahoo Developer page – Make Yahoo! Web Service REST calls with Python that also lists alternative approach [...]

27 Jul, 2008

Visualizing books using Zemanta and Wordle

Posted by: Jure Cuhalev In: happy|ideas|Tech|zemanta

Most of my readers are by now probably already aware of Wordle, Java applet, that allows neat visualization tags. Given that Zemanta released early alpha API preview recently, I was looking for a fun project to showcase some of it.
So for this experiment I’m going to try to visualize some of the popular classic books, [...]