Pacparser is a C library and Python module for parsing proxy auto-config (PAC) files, letting applications resolve which proxy to use for a given URL.