macOS
brew install pacparserlocal Homebrew formula metadata
sudo port install pacparserMacPorts ports tree · net/pacparser/Portfile · 来源: api.github.com
安装
brew install pacparserlocal Homebrew formula metadata
sudo port install pacparserMacPorts ports tree · net/pacparser/Portfile · 来源: api.github.com
sudo apk add pacparserAlpine Linux edge package indexes · pacparser · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#pacparsernixpkgs package indexes · pkgs/by-name/pa/pacparser/package.nix · 来源: api.github.com
sudo pacman -S pacparserArch Linux sync databases · pacparser · 来源: geo.mirror.pkgbuild.com
sudo apt install libpacparser-devDebian stable package indexes · libpacparser-dev · 来源: deb.debian.org
scoop install main/pacparserScoop official bucket manifest trees · bucket/pacparser.json · 来源: api.github.com
概览
Library to parse proxy auto-config (PAC) files
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pactester | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/manugarg/pacparser
安装元数据
| 软件包键 | brew:pacparser |
|---|---|
| 版本 | 1.5.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pacparser |
| 主页 | https://github.com/manugarg/pacparser |
| 仓库 | https://github.com/manugarg/pacparser |
| 许可证 | LGPL-3.0-or-later |
| 源码归档 | https://github.com/manugarg/pacparser/archive/refs/tags/v1.5.2.tar.gz |
| 最后更新 | 2026-09-11T18:13:46Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/pacparser来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.