wxPython
詳細情報
| タイトル | wxPython |
|---|---|
| URL | https://www.wxpython.org/ |
| バージョン | ver 4.3.1 |
| 更新日 | 2026/08/08 |
| 追加日 | 2013/08/17 |
| 種別 | フリーソフト |
| 説明 | wxWidgetsのPythonバインディング。 |
レビュー
概要
wxPythonは、PythonプログラマーがネイティブGUIアプリケーションを作成するためのクロスプラットフォームGUIツールキットです。C++で書かれたクロスプラットフォームライブラリ「wxWidgets」をPythonでラップした拡張モジュールとして実装されており、Windows・macOS・Linux・Unix系OSでネイティブな見た目・動作のUIを最小限のコード変更で実現できます。
開発は1990年代後半にRobin Dunnによって開始されました。長年にわたる開発を経て、現在は「Project Phoenix」と呼ばれるゼロから再設計されたバージョンが主流となっています。Phoenixはより高速・堅牢な実装を目指し、古いClassic wxPythonから不要な要素を削除・再編成・簡素化したものです。多くの既存アプリケーションは軽微な変更のみで移行可能です。
主要な特徴・機能
- クロスプラットフォーム対応 - Windows・macOS・Linux・Unixで動作し、各OSのネイティブUIコンポーネントを使用
- 豊富なウィジェット - ボタン・テキストボックス・ツリービュー・グリッド・ダイアログ・メニューなど多種多様なUIパーツを提供
- wxWidgetsベース - 成熟したC++ライブラリをPythonから利用できるため、高いパフォーマンスと安定性を実現
- Project Phoenix - SIPではなくwxPython独自のバインディングジェネレーターを採用し、よりPythonicなAPIを実現
- ネイティブルック&フィール - 各OSのシステムテーマに自動的に従い、プラットフォームごとに適切なUIを表示
- 豊富なサンプル・デモ - wxPython Demoと呼ばれるインタラクティブなサンプル集が付属
対象ユーザー
Pythonを使ってデスクトップアプリケーションを開発したいソフトウェア開発者・エンジニアが主な対象です。特に、科学技術計算ツール・業務用アプリケーション・開発ツールなど、プラットフォームを問わず動作するデスクトップGUIアプリを構築したいユーザーに適しています。PythonのTkinterよりも本格的なUIを作りたい開発者にも広く使われています。
ライセンス情報
wxPythonはwxWindows Library Licenceのもとで公開されています。これはGNU LGPL(Library General Public License)をベースに、バイナリ配布時の特例条項を追加したライセンスです。オープンソースソフトウェア・プロプライエタリソフトウェアの双方への組み込みが認められており、Open Source Initiativeによって承認されています。
スクリーンショット
更新グラフ
バージョン履歴
29-Jul-2026
PyPI: https://pypi.python.org/pypi/wxPython/4.3.1
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.3.1
This is a quick follow-up release to v4.3.0 to fix a couple of significant bugs.
New and improved in this release:
* Fix setting RPATH to $ORIGIN when building wxWidgets on Linux (fixes wx.richtext import)
Restore removed wx.propgrid defines
4.3.0
27-Jul-2026
PyPI: https://pypi.python.org/pypi/wxPython/4.3.0
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.3.0
Starting with this release wxPython has switched to tracking the wxWidgets
master branch (version 3.3.x) for the wxWidgets source code, which wxPython is
built upon, and which is included in the wxPython source archives.
Do note that the wxWidgets 3.3.x releases are API/ABI unstable, so there may
be API changes/instability between wxPython 4.3.x releases.
(省略されました)
8-Feb-2026
PyPI: https://pypi.python.org/pypi/wxPython/4.2.5
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.2.5
New and improved in this release:
* This release was built using the wxWidgets' v3.2.9 release tag. The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch (libtiff 4.7.0 and pcre2 10.44).
Fix build/wheel installation using setuptools 81+
Replace md5 with sha256 when validating downloaded waf and doxygen build tools (#2830)
Add missing attribute _x_maincol to constructor of TreeListMainWindow (#2828)
Fix wx.svg to work with cython 3.1 generated code
Contents © 2026 The wxPython Team - Powered by Nikola, Python and Magic.
28-Oct-2025
PyPI: https://pypi.python.org/pypi/wxPython/4.2.4
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.2.4
New and improved in this release:
* This release was built using the wxWidgets' v3.2.8.1 release tag. The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch (libtiff 4.7.0 and pcre2 10.44).
Fix using setuptools.build_meta backend (#2732)
Fix EOL style in wx.py.editwindow.py (#2741)
Replace imp with types in wx.py.editor.py (#2745)
Fix floatcanvas Text.ShiftFunDict: convert float to int (#2749)
Fix up/down option not working on the initial search in wx.py.frame (#2747)
Fix floatcanvas Arrow, Point, Bitmap drawings (#2750)
Officially support and build wheels for Python 3.14 and Windows 11 ARM
Fix crash when calling wx.SystemSettings.GetAppearance() without App (#2771)
Enable whole word search in wx.py.editwindow (#2769)
Add MaxSize limit to ScaledBitmap drawing in FloatCanvas (#2768)
Fix more OGL float/int conversion issues (#2739)
Major speedups and bug fixes to CustomTreeCtrl and HyperTreeList (#2088)
(省略されました)
4.2.3
9-Apr-2025
PyPI: https://pypi.python.org/pypi/wxPython/4.2.3
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.2.3
New and improved in this release:
* This release was built using the wxWidgets' v3.2.7 release tag. The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch (libtiff 4.7.0 and pcre2 10.44).
Fix test issues with wx.lib.introspect (#2717)
Add support for building on Windows ARM64 (#2521)
Incorporate many improvements to type stubs (#2665)
Fix building documentation with latest sphinx (#2672)
Build smaller architecture-specific wheels on macOS instead of large universal2 wheels
Calculate scroll based on child's relative position to scrolledpanel in wx.lib.scrolledpanel
Fix float -> int conversion issues in wx.lib.fancytext (#2703)
Replace deprecated NumPy type aliases
Use wx.StaticText in wx.lib.agw.hyperlink (#2686)
Implement partial support for pyproject.toml and other build process improvements
Remove use of six and most Python 2 compatibility code
(省略されました)
11-Sept-2024
PyPI: https://pypi.python.org/pypi/wxPython/4.2.2
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.2.2
New and improved in this release:
This release was built using the wxWidgets' v3.2.6 release tag. This is the first release built using GitHub infrastructure instead of the buildbots. Please report any problems with the wheels.
Fix some Python 3.12 compatibility issues (segfault on exit) by upgrading sip & waf
Fix more float/int conversion issues in wx.lib classes (#2415, #2417, #2429, #2470, #2528, #2542)
Add initialValue argument to wx.lib.DirBrowseButton (#2430)
Fix wxImage.Clear() (#2433)
Fix blurry text in AuiNotebook tab (#2360)
Add support for frozen rows and columns to GridWithLabelRenderersMixin (#2436)
demo: ShortcutEditor: Fix broken call GetMenuBar() (#2412)
Add proper support for DataViewCheckIconTextRenderer (#2425)
Remove legacy macOS logic, use wx.SystemSettings to select colors (#2018)
Build: Use new tarfile.extractall() filter for safer tarfile extraction (#2443)
Fix typo in wx.lib.agw.persist_handlers (#2469)
Fix 'str' to 'wxString' converstation, when emoji is inside string (#2446)
(省略されました)
7-June-2023
PyPI: https://pypi.python.org/pypi/wxPython/4.2.1
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.2.1
New and improved in this release:
This release was built using the wxWidgets' v3.2.2.1 release tag.
Added Python 3.11 to the build system.
Added Python 3.12 (beta) to the build system.
Added wrappers for wxGenericStaticBitmap.
Added wx.ThreadEvent.
Contents 息 2023 The wxPython Team - Powered by Nikola, Python and Magic.
7-Aug-2022
PyPI: https://pypi.python.org/pypi/wxPython/4.2.0
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.2.0
New and improved in this release:
Yes, it's been a VERY long time since the last release. I'm not dead, just on
an extended break. It took me a while to get up to speed on a new day job, and
then there was a seemingly perpetual crunch-mode to get the product through a
couple release cycles. I can't say that things are fully back to normal yet,
but at least I now know what I'm doing. Mostly. <wink>
This release is built using the wxWidgets' 3.2.0 release tag.
Tweaked the build scripts a bit to ensure that on non-Windows platforms that
the compiler and flags used by default match those used by wxWidgets, (with
the flags needed by Python added on.) The compiler commands can be overridden
by setting CC and CXX in the environment if needed. (#1247)
On Windows the build code that locates and sets up the environment for the
MSVC compiler no longer relies on distutils code, but is now using more modern
code in setuptools instead. This enables much more compiler flexibility and
(省略されました)
Discussion Site
Full Changelog
4.1.0 "Escaping the Quarantine"
24-April-2020
PyPI: https://pypi.python.org/pypi/wxPython/4.1.0
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.1.0
Starting with this release wxPython has switched to tracking the wxWidgets
master branch (version 3.1.x) for the wxWidgets source code, which wxPython is
built upon, and which is included in the wxPython source archives.
This will be the last release to include binaries for Python 2.7. The code will
likely still compile and be compatible with Python 2.7 for some time, but no
effort will be put into keeping it that way.
New and improved in this release:
Add a sample for wx.Font.AddPrivateFont to the demo.
Added wrappers for the OSXEnableAutomaticQuoteSubstitution,
OSXEnableAutomaticDashSubstitution, and OSXDisableAllSmartSubstitutions
methods in wx.TextCtrl. Also added OSXEnableAutomaticTabbing in wx.App.
(省略されました)
2-Feb-2018
PyPI: https://pypi.python.org/pypi/wxPython/4.0.1
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.0.1
This release is a quick hot-fix of some issues discovered in 4.0.0 just after
the release, plus a bit of low-hanging fruit that was easy to squeeze in too.
Changes in this release include the following:
A fix for a segfault that happens upon startup on newer linux releases. (#648)
Set LD_RUN_PATH for the wxWidgets part of the build so the wx libs that are
loaded by other wx libs can be found successfully. (#723)
Use wxApp::GetInstance to check if there is an existing wxApp object. (#720)
31-Jan-2018
PyPI: https://pypi.python.org/pypi/wxPython/4.0.0
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.0.0
Changes in this release include the following:
Fixes in wx.aui to properly transfer ownership of the menubar, and also some
tweaks in the AUI_MDI sample in the demo. (#540)
Added a wx.BUILD_TYPE value to distinguish between development, snapshot,
and release builds. The value is also appended to wx.PlatformInfo. (Thanks
Mesalu!)
Fix crash when trying to fetch multiple items from a composite data object
in wx.DropTarget.OnData. (#550) Also fixed the CustomDragAndDrop sample to
not fail on Python 2.7.
Add ability for wxArray wrappers to return a copy of the item in the
__getitem__ method. This solves problems where an array that is the
return value of some method call is indexed immediately and a reference to
the array is not held, which could result in garbage values for the indexed
item. Currently this is turned on for just GridCellCoordsArray, but others
(省略されました)
16-Sept-2017
PyPI: https://pypi.python.org/pypi/wxPython/4.0.0b2
Extras: https://extras.wxPython.org/wxPython4/extras/
Pip: pip install wxPython==4.0.0b2
Changes in this release include the following:
Added a deprecated compatibility helper for wx.CustomDataFormat.
Transfer ownership of the wx.EvtHandler object when pushing/popping
them, and also for Set/RemoveEventHandler. (#443)
Add missing wx.VScrolledWindow methods listed in the docs as
deprecated but still present. (#441)
Fixed copy/paste error in wx.BusyInfo.__exit__ (#449)
Added new tool wxget, (a minimal wx implementation of wget)
Added new tools wxdocs and wxdemos to launch the respective items,
fetching and unpacking as required. (#437)
Fixes to ensure that the locale message catalogs are included in the
release files. (#464)
Fix wx.ListCtrl.SetItemData to check that the data value is not out
of the range of a C long. (#467)
(省略されました)