Finally – A Python HTTP Lib that’s as nice as…

Requests turtle

…Ruby. One thing I envy in Ruby is the simplicity of so many of their libraries – both core and 3rd party. Python’s urllib2 never really felt natural but here is a solution. Requests: “HTTP for humans”.

An example will do it justice:

r = requests.get('http://www.straw-dogs.co.uk')
r.content

Wow – clean, simple and quick.

Add to that the awesome logo and you have a winner.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google Bookmarks
  • BlinkList
  • DZone
  • Live
  • Ma.gnolia
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon

Related posts:

  1. Vimrecover – Nice Gem
  2. The Journey from Python to Ruby Pt. 1
  3. Programming Python puts Ruby to Shame
  4. Artistic Ruby vs. Corporate Python
  5. Ruby and Python Compared

Comments are closed.