title: Libraries for evaluating PAC proxy configuration files?
body: <p><a href="http://en.wikipedia.org/wiki/Proxy_auto-config" rel="nofollow noreferrer">Proxy auto-configuration (PAC)</a> files contain javascript which resolves destination hosts into proxy configuration.  Clearly I could use an embedded javascript engine and provide the objects that PAC files require, but that seems like a lot of work just to resolve a proxy -- I would much rather just have a library to do it.</p>
  
  <p>I'm interested in answers for any language, but especially C++ and Python.</p>