title: Calculate cardinal direction from GPS coordinates in Python
body: <p>How can I calculate the cardinal direction of  a second point of geo coordinates in Python? 
  I need to know distance and direction of two different locations.</p>
  
  <p>Example : 
  work : coord 41.4107628,2.1745004
  home : coord 41.4126728,2.1704725</p>
  
  <pre><code>from geopy.distance import vincenty
  work = geopy.Point(41.4107628,2.1745004)
  home = geopy.Point(41.4126728,2.1704725)
  print(vincenty(home, work))
  0.398011015257 km
  </code></pre>
  
  <p>I'd like to know in which directions the second point lies, ( ex.: North, North-West, etc) respect to the first one...</p>
  
  <p>Many thanks in advance</p>