A Python port of Tim Roger's RapGenius RubyGem