macOS
brew install pacparserlocal Homebrew formula metadata
sudo port install pacparserMacPorts ports tree · net/pacparser/Portfile · source: api.github.com
brew / rank 6272
Library to parse proxy auto-config (PAC) files. Version 1.5.2 via Homebrew; verified 2026-09-11. Also installable with debian: sudo apt install libpacparser-dev.
install
brew install pacparserlocal Homebrew formula metadata
sudo port install pacparserMacPorts ports tree · net/pacparser/Portfile · source: api.github.com
sudo apk add pacparserAlpine Linux edge package indexes · pacparser · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#pacparsernixpkgs package indexes · pkgs/by-name/pa/pacparser/package.nix · source: api.github.com
sudo pacman -S pacparserArch Linux sync databases · pacparser · source: geo.mirror.pkgbuild.com
sudo apt install libpacparser-devDebian stable package indexes · libpacparser-dev · source: deb.debian.org
scoop install main/pacparserScoop official bucket manifest trees · bucket/pacparser.json · source: api.github.com
overview
Library to parse proxy auto-config (PAC) files
history
pacparser is a portable C library, Python module, and command-line toolset for parsing and testing Proxy Auto-Config files.
Manu Garg developed pacparser to make Proxy Auto-Config parsing easy to embed in other programs. The implementation evaluates PAC JavaScript and supplies the additional helper functions expected by PAC files.
The current official README says pacparser embeds QuickJS. Its API remains available through C and Python interfaces alongside the pactester CLI.
The official README reports support for Linux, FreeBSD, macOS, and Windows, and distributes the project as a C shared library, Python module, and pactester command-line utility. The input package metadata also records packaging across Homebrew, Debian/Ubuntu, Alpine, MacPorts, Nix, Arch, and Scoop.
Applications initialize the parser, load a PAC file or string, and query which proxy should handle a URL and host. Administrators and developers can use pactester to exercise PAC behavior from the command line.
The official README warns that parser state is process-global and the API is not thread-safe; multithreaded consumers must serialize calls.
pacparser gives programs a reusable implementation of browser-style PAC evaluation rather than requiring each consumer to embed and reproduce PAC JavaScript helper behavior. It is useful for testing PAC rules independently with pactester and for adding PAC awareness to C or Python software.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pactester | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/manugarg/pacparser
install metadata
| Package key | brew:pacparser |
|---|---|
| Version | 1.5.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pacparser |
| Homepage | https://github.com/manugarg/pacparser |
| Repository | https://github.com/manugarg/pacparser |
| License | LGPL-3.0-or-later |
| Source archive | https://github.com/manugarg/pacparser/archive/refs/tags/v1.5.2.tar.gz |
| Last updated | 2026-09-11T18:13:46Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pacparser |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libpacparser-dev 1.4.5-4+b2
library to parse proxy auto-config files (development files)
https://github.com/manugarg/pacparser
sudo apt install libpacparser-devlibpacparser1 1.4.5-4+b2
library to parse proxy auto-config files
https://github.com/manugarg/pacparser
sudo apt install libpacparser1python3-pacparser 1.4.5-4+b2
Python 3 module to parse proxy auto-config files
https://github.com/manugarg/pacparser
sudo apt install python3-pacparserpacparser
nix profile install nixpkgs#pacparserlibpacparser-dev 1.4.3-1build1
library to parse proxy auto-config files (development files)
https://github.com/manugarg/pacparser
sudo apt install libpacparser-devlibpacparser1 1.4.3-1build1
library to parse proxy auto-config files
https://github.com/manugarg/pacparser
sudo apt install libpacparser1python3-pacparser 1.4.3-1build1
Python 3 module to parse proxy auto-config files
https://github.com/manugarg/pacparser
sudo apt install python3-pacparserpacparser 1.5.1-r0
A library to parse proxy auto-config (PAC) files
https://pacparser.manugarg.com/
sudo apk add pacparserpacparser-dev 1.5.1-r0
A library to parse proxy auto-config (PAC) files (development files)
https://pacparser.manugarg.com/
sudo apk add pacparser-devpacparser-doc 1.5.1-r0
A library to parse proxy auto-config (PAC) files (documentation)
https://pacparser.manugarg.com/
sudo apk add pacparser-docpy3-pacparser 1.5.1-r0
A library to parse proxy auto-config (PAC) files
https://pacparser.manugarg.com/
sudo apk add py3-pacparserpy3-pacparser-pyc 1.5.1-r0
Precompiled Python bytecode for py3-pacparser
https://pacparser.manugarg.com/
sudo apk add py3-pacparser-pycpacparser 1.5.2-1
Library to parse proxy auto-config (PAC) files
https://github.com/manugarg/pacparser
sudo pacman -S pacparserpacparser
sudo port install pacparsermain/pacparser
scoop install main/pacparsersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.