Skip to main content

axon-gui (Python side)

The Python runtime of Axon: AxonGUI opens a QWebEngineView with a QWebChannel attached, AxonController exposes Python objects to the frontend, and Axon calls objects the frontend exposed.

import controller  # your @AxonController definitions
from axon import AxonGUI, AxonMagicGUI
from PySide6.QtWidgets import QApplication

app = QApplication([])
AxonMagicGUI()                      # only needed when you want to run code on the Qt main thread
view = AxonGUI("main", "http://127.0.0.1:5173/")   # web_name must match the frontend
view.show()
app.exec()

Docs and live examples: https://axongui.github.io/Axon/en/ · 中文文档:https://axongui.github.io/Axon/


中文

Axon 的 Python 运行时:AxonGUI 开一个挂了 QWebChannel 的 QWebEngineView, AxonController 把 Python 对象暴露给前端,Axon 反过来调前端暴露的对象。

import controller  # 你的 @AxonController 定义
from axon import AxonGUI, AxonMagicGUI
from PySide6.QtWidgets import QApplication

app = QApplication([])
AxonMagicGUI()                      # 需要 Qt 主线程执行能力时
view = AxonGUI("main", "http://127.0.0.1:5173/")   # web_name 要和前端一致
view.show()
app.exec()

完整文档与可交互示例见文档站 https://axongui.github.io/Axon/(本仓库 docs/ 下也能 python docs/main.py 在框架自己的窗口里打开)。

Metadata

Release files for axon-gui 5.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axon-gui 5.3.4
File Size Uploaded Provenance Actions
axon_gui-5.3.4.tar.gz 21.8 kB With provenance Details for axon_gui-5.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axon-gui 5.3.4
File Interpreter ABI Platform Actions
axon_gui-5.3.4-py3-none-any.whl Python 3 none any Details for axon_gui-5.3.4-py3-none-any.whl

Total release size: 47.5 kB

Release files / axon_gui-5.3.4.tar.gz

Download URL axon_gui-5.3.4.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
82116f14b4065c3065270a26d7b0571c47471769b784b5c34cb5bbde1be34a85
BLAKE2b-256 checksum
How to use checksums
0cfcd03d9eebc28e594d799adf99071850e86ebc89df2c891958d158c873130e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / axon_gui-5.3.4-py3-none-any.whl

Download URL axon_gui-5.3.4-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8faa43e8fc68081a4de0dedfa96b4bcc9202c2b049eb3fed412d0af8c8b1ddf1
BLAKE2b-256 checksum
How to use checksums
aff35e36bf80b8a3ce0548c189a6fc969b6622204e1210e57954a9c0bcbc1535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for axon-gui 5.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for axon_gui-5.3.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.3.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page