Projects / pacparser


pacparser is a library to parse proxy auto-config (PAC) files. Proxy auto-config files are a vastly used proxy configuration method these days. Web browsers can use a PAC file to determine which proxy server to use or whether to go direct for a given URL. The idea behind pacparser is to make it easy to add PAC file parsing capability to any program (C and Python are supported right now). It comes as a shared C library and a Python module that can be used to make any C or Python program PAC scripts intelligent. Some very useful targets could be popular Web software like wget, curl, and python-urllib.

Operating Systems

Recent releases

  •  29 Jun 2013 16:28

    Release Notes: This release adds configurable error reporting to the pacparser library and fixes a memory leak. With this release, the Python module becomes Python 3 compatible.

    •  10 Sep 2011 07:47

      Release Notes: This release fixes build related bugs on Mac OS X 10.6, CentOS 5.5 and other systems with Python versions older than 2.5, systems not connected to the Internet. It also fixes a bug in pactester that caused an incorrect exit status if it failed during the execution of FindProxyForURL.

      •  22 Apr 2011 17:02

        Release Notes: This release adds a feature to pacparser to allow working with the proxy auto-config (PAC) script directly (in string form) instead of requiring it to be in a file. This release also adds a feature to pactester to read pac files from stdin directly, which will allow users to "pipe" pac files to pactester directly from the other programs like curl. This release also has some build fixes to make pacparser build on non-Linux GNU systems like kFreeBSD and GNU Hurd.

        •  13 Dec 2010 08:56

          Release Notes: Minor bugs were fixed.

          •  10 Oct 2010 17:24

            Release Notes: Build-related changes to make pacparser compile on all architectures supported by the Debian project. A feature to store the version information in the compiled libraries and export that information through an API.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.