{"repo":"manugarg/pacparser","free":true,"listed":false,"github":"https://github.com/manugarg/pacparser","clone":"git clone https://github.com/manugarg/pacparser.git","description":"Library and tools to parse and test proxy auto-config (PAC) files","language":"C","stars":531,"topics":["c","proxy","python","web"],"license":"LGPL-3.0","category":"networking-infra","readme_excerpt":"Pacparser pacparser.manugarg.com - Homepage and Online PAC file tester 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. PAC files are written in JavaScript and can be programmed to return different proxy methods (e.g., \"PROXY proxy1:port; DIRECT\" ) depending upon URL, source IP address, protocol, time of the day etc. PAC files introduce a lot of possibilities. Please look at the wikipedia entry for Proxy auto-config ( ) for more information. The idea behind pacparser is to make it easy to add PAC-file parsing capability to any program (C and python supported right now). It comes as a shared C library and a python module which can be used to make any C or python program PAC scripts aware. Implementation Pacparser makes use of the QuickJS JavaScript engine to parse PAC files (which are nothing but javascripts). Apart from that, proxy auto-config standard assumes availability of some functions which are not part of the standard JavaScript. Pacparser uses Mozilla's PAC implementation to define all these functions except for a couple of dns functions which are defined by pacparser itself. As a result, pacparser is as close to standard as it gets :) Install For Python module, you can use pip. Pre-built module is available for 64-bit Linux, Windows, MacOS-Intel, and MacOS-ARM , f","default_branch":null,"files":null,"tree":[],"storefront":"/r/manugarg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/manugarg/pacparser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}