Automic VaultAutomic Vault

brew

使用 Homebrew 安装 wxpython

查看 wxpython 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wxpython

local Homebrew formula metadata

概览

软件包摘要

Python bindings for wxWidgets

命令和别名

  • helpviewer
  • img2png
  • img2py
  • img2xpm
  • pycrust
  • pyshell
  • pyslices
  • pyslicesshell
  • pywxrc
  • wxdemo
  • wxdocs
  • wxget

历史

项目历史与用法

wxPython is the Python binding for wxWidgets, giving Python applications native GUI widgets on Windows, macOS, Linux, and other Unix-like systems. Its history spans hand-written bindings in the 1990s, SWIG-generated Classic wxPython, and the Phoenix rewrite used by modern wxPython 4.x.

项目历史

The official history says wxPython began in 1996, after Robin Dunn discovered Python bindings while evaluating cross-platform GUI toolkits. Dunn worked with Harri Pasanen, with help from Edward Zimmerman, to advance early wxWidgets bindings into wxPython 0.2.

The first versions were maintained by hand, which became fragile as the codebase grew. In 1997 Dunn used SWIG to reimplement the bindings, and in summer 1998 the first modern wxPython release appeared for wxWidgets 2.0. The changelog still goes back to release 0.3 in 1998.

Project Phoenix later replaced Classic wxPython with a from-the-ground-up implementation focused on speed, maintainability, extensibility, Python 3 compatibility, and removing accumulated cruft. The official overview notes that Phoenix is intentionally not fully backwards compatible, though many applications can migrate with minor changes.

采用历史

wxPython became one of Python's major desktop GUI choices alongside Tkinter, PyQt/PySide, and later web-driven app shells. Its appeal was always native widgets with little platform-specific code, backed by wxWidgets rather than an emulated toolkit.

The Phoenix transition was also an adoption transition: users had to move old Classic code to Python 3-era APIs. The official docs still foreground the Migration Guide for programmers porting from Classic wxPython to Phoenix.

使用方式

Developers import wx, create a wx.App, instantiate frames and controls, bind events, and run MainLoop. The package also includes demo, shell, resource, image-conversion, documentation, and inspection-oriented tools that make it useful as a full GUI development environment rather than just a runtime binding.

In packaging, wxPython is notable because it wraps a large C++ GUI toolkit and ships platform-specific wheels or builds tied to wxWidgets versions. The changelog records ongoing work to keep pace with Python, wxWidgets, operating-system, and build-tool changes.

为什么软件包爱好者会关心

wxPython is package-nerd significant because it is a classic binding package: a large native-code bridge that lets a high-level language use a mature C++ toolkit. Its Classic-to-Phoenix migration is a textbook example of how language runtimes, binding generators, binary wheels, and GUI frameworks force long-lived packages to reinvent themselves.

时间线

  • 1995: Robin Dunn discovered wxWidgets and Python while looking for a cross-platform C++ GUI toolkit.
  • 1996: Official history dates the start of wxPython history to before the turn of the century, back in 1996.
  • 1997: SWIG was adopted to reduce the maintenance burden of hand-written bindings.
  • 1998: The first modern wxPython release appeared in summer 1998; the changelog goes back to 0.3.
  • 2010s: Project Phoenix rebuilt wxPython for maintainability and Python 3.
  • 2025-04-09: wxPython 4.2.3 released, built on wxWidgets 3.2.7.
  • 2026-02-08: wxPython 4.2.5 released, built on wxWidgets 3.2.9.

Related projects

  • wxPython is related to wxWidgets, Project Phoenix, Classic wxPython, SWIG, Tkinter, PyQt/PySide, wxGlade, wxFormBuilder, and Python desktop GUI applications.

安全态势

风险级别:yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

信号

  • text:shell
  • text:ssh

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
helpviewercli全局可执行文件
img2pngcli全局可执行文件
img2pycli全局可执行文件
img2xpmcli全局可执行文件
pycrustcli全局可执行文件
pyshellcli全局可执行文件
pyslicescli全局可执行文件
pyslicesshellcli全局可执行文件
pywxrccli全局可执行文件
wxdemocli全局可执行文件
wxdocscli全局可执行文件
wxgetcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.2.5
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.wxpython.org/

安装元数据

软件包元数据

软件包键brew:wxpython
版本4.2.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/wxpython
主页https://www.wxpython.org/
仓库https://github.com/wxWidgets/Phoenix
上游文档https://docs.wxpython.org/
许可证LGPL-2.0-or-later WITH WxWindows-exception-3.1
源码归档https://files.pythonhosted.org/packages/22/43/81657a6b126ffc19163500a8184d683cec08eb4e1d06905cd0c371c702d0/wxpython-4.2.5.tar.gz
最后更新2026-06-22T14:06:40-07:00
Pulseupdated
依赖numpy, pillow, python@3.14, wxwidgets@3.2
构建依赖cython, doxygen, python-setuptools, sip
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewxpython
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment