{"id":1007328,"date":"2024-12-27T10:52:31","date_gmt":"2024-12-27T02:52:31","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1007328.html"},"modified":"2024-12-27T10:52:35","modified_gmt":"2024-12-27T02:52:35","slug":"qt%e5%a6%82%e4%bd%95%e7%bc%96%e5%86%99python%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1007328.html","title":{"rendered":"qt\u5982\u4f55\u7f16\u5199python\u7a0b\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25083104\/3135eedd-c76e-498d-9f05-19eb20bdb846.webp\" alt=\"qt\u5982\u4f55\u7f16\u5199python\u7a0b\u5e8f\" \/><\/p>\n<p><p> <strong>Qt\u7f16\u5199Python\u7a0b\u5e8f\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5PyQt\u5e93\u3001\u521b\u5efa\u57fa\u672c\u7684Qt\u5e94\u7528\u7a0b\u5e8f\u3001\u4f7f\u7528Qt Designer\u8bbe\u8ba1UI\u3001\u5c06UI\u6587\u4ef6\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u3002<\/strong>\u5176\u4e2d\uff0c<strong>\u5b89\u88c5PyQt\u5e93<\/strong>\u662f\u6700\u57fa\u7840\u7684\u6b65\u9aa4\uff0c\u6d89\u53ca\u5230\u5728Python\u73af\u5883\u4e2d\u5b89\u88c5\u548c\u914d\u7f6ePyQt\u5e93\uff0c\u4ee5\u4fbf\u80fd\u591f\u4f7f\u7528Qt\u6846\u67b6\u7684\u529f\u80fd\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5b8c\u6210\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5PyQt\u5e93<\/p>\n<\/p>\n<p><p>\u8981\u5728Python\u4e2d\u4f7f\u7528Qt\u6846\u67b6\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5PyQt\u5e93\u3002PyQt\u662f\u7528\u4e8ePython\u7684Qt\u5e93\u7ed1\u5b9a\uff0c\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u4f7f\u7528Qt\u7684\u529f\u80fd\u6765\u6784\u5efa\u56fe\u5f62\u7528\u6237\u754c\u9762\uff08GUI\uff09\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Python\u548cpip<\/strong>\uff1a\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u548cpip\u5de5\u5177\u3002\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8f93\u5165<code>python --version<\/code>\u548c<code>pip --version<\/code>\u6765\u68c0\u67e5\u5b89\u88c5\u60c5\u51b5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5PyQt\u5e93<\/strong>\uff1a\u4f7f\u7528pip\u5b89\u88c5PyQt5\u5e93\u3002\u6253\u5f00\u547d\u4ee4\u884c\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install PyQt5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5PyQt5\u53ca\u5176\u76f8\u5173\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Qt Designer<\/strong>\uff1aQt Designer\u662f\u4e00\u4e2a\u7528\u4e8e\u8bbe\u8ba1Qt\u754c\u9762\u7684\u5de5\u5177\uff0c\u901a\u5e38\u4e0eQt Creator\u4e00\u8d77\u63d0\u4f9b\u3002\u53ef\u4ee5\u4eceQt\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5Qt Creator\uff0c\u5e76\u5728\u5b89\u88c5\u65f6\u9009\u62e9\u5b89\u88c5Qt Designer\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u521b\u5efa\u57fa\u672c\u7684Qt\u5e94\u7528\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u597dPyQt\u540e\uff0c\u53ef\u4ee5\u5f00\u59cb\u521b\u5efa\u4e00\u4e2a\u57fa\u672c\u7684Qt\u5e94\u7528\u7a0b\u5e8f\u3002\u8fd9\u4e2a\u5e94\u7528\u7a0b\u5e8f\u5c06\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u7a97\u53e3\uff0c\u4ee5\u4fbf\u719f\u6089PyQt\u7684\u57fa\u672c\u7ed3\u6784\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u4e00\u4e2aPython\u6587\u4ef6<\/strong>\uff1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u4f8b\u5982<code>m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.py<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199\u57fa\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\u4ee3\u7801<\/strong>\uff1a\u5728<code>main.py<\/code>\u4e2d\u7f16\u5199\u4ee3\u7801\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u7a97\u53e3\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>from PyQt5.QtWidgets import QApplication, QWidget<\/p>\n<p>app = QApplication(sys.argv)<\/p>\n<p>window = QWidget()<\/p>\n<p>window.setWindowTitle(&#39;Hello, PyQt!&#39;)<\/p>\n<p>window.setGeometry(100, 100, 280, 80)<\/p>\n<p>window.show()<\/p>\n<p>sys.exit(app.exec_())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u7a0b\u5e8f<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c<code>python main.py<\/code>\uff0c\u5e94\u8be5\u4f1a\u770b\u5230\u4e00\u4e2a\u7b80\u5355\u7684\u7a97\u53e3\u5f39\u51fa\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528Qt Designer\u8bbe\u8ba1UI<\/p>\n<\/p>\n<p><p>Qt Designer\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u901a\u8fc7\u62d6\u653e\u7ec4\u4ef6\u6765\u8bbe\u8ba1\u590d\u6742\u7684\u7528\u6237\u754c\u9762\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00Qt Designer<\/strong>\uff1a\u542f\u52a8Qt Designer\u5de5\u5177\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u65b0\u754c\u9762<\/strong>\uff1a\u9009\u62e9\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u201cMain Window\u201d\u6216\u8005\u201cWidget\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6dfb\u52a0\u7ec4\u4ef6<\/strong>\uff1a\u4f7f\u7528\u5de5\u5177\u7bb1\u4e2d\u7684\u63a7\u4ef6\uff08\u5982\u6309\u94ae\u3001\u6807\u7b7e\u3001\u6587\u672c\u6846\u7b49\uff09\u8bbe\u8ba1\u754c\u9762\u3002\u53ef\u4ee5\u76f4\u63a5\u5c06\u5b83\u4eec\u62d6\u653e\u5230\u7a97\u53e3\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u5b58UI\u6587\u4ef6<\/strong>\uff1a\u5b8c\u6210\u8bbe\u8ba1\u540e\uff0c\u5c06\u6587\u4ef6\u4fdd\u5b58\u4e3a<code>.ui<\/code>\u6587\u4ef6\uff0c\u4f8b\u5982<code>design.ui<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u5c06UI\u6587\u4ef6\u8f6c\u6362\u4e3aPython\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u8bbe\u8ba1\u5b8c\u6210\u7684UI\u6587\u4ef6\u9700\u8981\u8f6c\u6362\u4e3aPython\u4ee3\u7801\uff0c\u4ee5\u4fbf\u53ef\u4ee5\u5728\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528pyuic5\u5de5\u5177<\/strong>\uff1a<code>pyuic5<\/code>\u662f\u4e00\u4e2a\u5de5\u5177\uff0c\u7528\u4e8e\u5c06<code>.ui<\/code>\u6587\u4ef6\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u3002\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyuic5 -x design.ui -o design.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u751f\u6210\u4e00\u4e2a\u540d\u4e3a<code>design.py<\/code>\u7684\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u4e86UI\u7684Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5728Python\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u751f\u6210\u7684\u4ee3\u7801<\/strong>\uff1a\u5728<code>main.py<\/code>\u4e2d\u5bfc\u5165\u751f\u6210\u7684<code>design.py<\/code>\uff0c\u5e76\u4f7f\u7528\u5176\u4e2d\u7684\u7c7b\u548c\u65b9\u6cd5\u6765\u663e\u793a\u8bbe\u8ba1\u7684\u754c\u9762\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>from PyQt5.QtWidgets import QApplication, QMainWindow<\/p>\n<p>from design import Ui_MainWindow<\/p>\n<p>class MainApp(QMainWindow, Ui_MainWindow):<\/p>\n<p>    def __init__(self):<\/p>\n<p>        super().__init__()<\/p>\n<p>        self.setupUi(self)<\/p>\n<p>app = QApplication(sys.argv)<\/p>\n<p>window = MainApp()<\/p>\n<p>window.show()<\/p>\n<p>sys.exit(app.exec_())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u6269\u5c55\u548c\u4f18\u5316\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>\u5728\u57fa\u672c\u7684Qt\u5e94\u7528\u7a0b\u5e8f\u57fa\u7840\u4e0a\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u6269\u5c55\u548c\u4f18\u5316\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6dfb\u52a0\u4fe1\u53f7\u548c\u69fd<\/strong>\uff1aPyQt\u4f7f\u7528\u4fe1\u53f7\u548c\u69fd\u673a\u5236\u6765\u5904\u7406\u4e8b\u4ef6\u3002\u53ef\u4ee5\u4e3aUI\u7ec4\u4ef6\u5b9a\u4e49\u4fe1\u53f7\uff0c\u5e76\u7f16\u5199\u69fd\u51fd\u6570\u6765\u54cd\u5e94\u8fd9\u4e9b\u4fe1\u53f7\u3002\u4f8b\u5982\uff0c\u8fde\u63a5\u6309\u94ae\u70b9\u51fb\u4e8b\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">self.pushButton.clicked.connect(self.on_button_click)<\/p>\n<p>def on_button_click(self):<\/p>\n<p>    print(&quot;Button clicked!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u5e03\u5c40\u7ba1\u7406\u5668<\/strong>\uff1a\u5e03\u5c40\u7ba1\u7406\u5668\u7528\u4e8e\u63a7\u5236UI\u7ec4\u4ef6\u7684\u6392\u5217\u548c\u5927\u5c0f\uff0c\u786e\u4fdd\u754c\u9762\u5728\u4e0d\u540c\u7a97\u53e3\u5927\u5c0f\u4e0b\u7684\u663e\u793a\u6548\u679c\u826f\u597d\u3002\u5e38\u7528\u7684\u5e03\u5c40\u7ba1\u7406\u5668\u5305\u62ecQVBoxLayout\u3001QHBoxLayout\u548cQGridLayout\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u81ea\u5b9a\u4e49\u7ec4\u4ef6<\/strong>\uff1a\u53ef\u4ee5\u901a\u8fc7\u7ee7\u627f\u73b0\u6709\u7684Qt\u7ec4\u4ef6\u7c7b\u6765\u81ea\u5b9a\u4e49\u65b0\u7684\u7ec4\u4ef6\uff0c\u4ee5\u5b9e\u73b0\u7279\u5b9a\u7684\u529f\u80fd\u548c\u884c\u4e3a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u56fd\u9645\u5316\u548c\u672c\u5730\u5316<\/strong>\uff1a\u5982\u679c\u9700\u8981\u652f\u6301\u591a\u8bed\u8a00\u754c\u9762\uff0c\u53ef\u4ee5\u4f7f\u7528Qt\u7684\u56fd\u9645\u5316\u5de5\u5177\u5c06UI\u6587\u672c\u8f6c\u6362\u4e3a\u4e0d\u540c\u7684\u8bed\u8a00\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f18\u5316\u6027\u80fd<\/strong>\uff1a\u5bf9\u4e8e\u5927\u578b\u5e94\u7528\u7a0b\u5e8f\uff0c\u6ce8\u610f\u4f18\u5316\u6027\u80fd\uff0c\u5305\u62ec\u51cf\u5c11\u5185\u5b58\u4f7f\u7528\u3001\u63d0\u9ad8\u54cd\u5e94\u901f\u5ea6\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u53ef\u4ee5\u4f7f\u7528Qt\u6846\u67b6\u548cPython\u7f16\u5199\u529f\u80fd\u4e30\u5bcc\u3001\u754c\u9762\u7f8e\u89c2\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u968f\u7740\u5bf9PyQt\u7684\u6df1\u5165\u5b66\u4e60\u548c\u5b9e\u8df5\uff0c\u53ef\u4ee5\u9010\u6b65\u638c\u63e1\u66f4\u9ad8\u7ea7\u7684\u7279\u6027\u548c\u6280\u5de7\uff0c\u5f00\u53d1\u51fa\u4e13\u4e1a\u7ea7\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Qt\u4e2d\u8bbe\u7f6ePython\u5f00\u53d1\u73af\u5883\uff1f<\/strong><br \/>\u8981\u5728Qt\u4e2d\u7f16\u5199Python\u7a0b\u5e8f\uff0c\u60a8\u9700\u8981\u5148\u5b89\u88c5PyQt\u6216PySide\u5e93\uff0c\u8fd9\u4e24\u4e2a\u5e93\u90fd\u662fQt\u7684Python\u7ed1\u5b9a\u3002\u53ef\u4ee5\u901a\u8fc7Python\u7684\u5305\u7ba1\u7406\u5de5\u5177pip\u6765\u5b89\u88c5\u3002\u786e\u4fdd\u60a8\u8fd8\u5b89\u88c5\u4e86\u5408\u9002\u7248\u672c\u7684Python\uff0c\u5e76\u4e14\u5c06Python\u6dfb\u52a0\u5230\u4e86\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u4ee5\u4fbf\u80fd\u591f\u5728\u547d\u4ee4\u884c\u4e2d\u8c03\u7528\u3002<\/p>\n<p><strong>\u4f7f\u7528Qt Designer\u8bbe\u8ba1\u754c\u9762\u540e\uff0c\u5982\u4f55\u5c06\u5176\u4e0ePython\u4ee3\u7801\u7ed3\u5408\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528Qt Designer\u6765\u521b\u5efa\u7528\u6237\u754c\u9762\uff0c\u5e76\u5c06\u5176\u5bfc\u51fa\u4e3a.ui\u6587\u4ef6\u3002\u63a5\u7740\uff0c\u4f7f\u7528pyuic\u5de5\u5177\u5c06.ui\u6587\u4ef6\u8f6c\u6362\u4e3aPython\u4ee3\u7801\u3002\u8f6c\u6362\u540e\u7684\u6587\u4ef6\u53ef\u4ee5\u76f4\u63a5\u5bfc\u5165\u5230\u60a8\u7684Python\u9879\u76ee\u4e2d\uff0c\u4ece\u800c\u8f7b\u677e\u7ed3\u5408\u754c\u9762\u548c\u903b\u8f91\u4ee3\u7801\u3002\u786e\u4fdd\u5728\u4ee3\u7801\u4e2d\u6b63\u786e\u5f15\u7528\u751f\u6210\u7684\u7c7b\uff0c\u5e76\u521b\u5efa\u5b9e\u4f8b\u6765\u5c55\u793a\u754c\u9762\u3002<\/p>\n<p><strong>\u5728Qt\u7a0b\u5e8f\u4e2d\u5982\u4f55\u5904\u7406\u4e8b\u4ef6\u548c\u4fe1\u53f7\uff1f<\/strong><br \/>Qt\u4f7f\u7528\u4fe1\u53f7\u548c\u69fd\u673a\u5236\u6765\u5904\u7406\u4e8b\u4ef6\u3002\u60a8\u53ef\u4ee5\u5728Python\u4ee3\u7801\u4e2d\u5b9a\u4e49\u81ea\u5b9a\u4e49\u4fe1\u53f7\uff0c\u5e76\u901a\u8fc7\u8fde\u63a5\u5b83\u4eec\u5230\u69fd\uff08\u54cd\u5e94\u51fd\u6570\uff09\u6765\u54cd\u5e94\u7528\u6237\u64cd\u4f5c\uff0c\u4f8b\u5982\u6309\u94ae\u70b9\u51fb\u6216\u6587\u672c\u8f93\u5165\u3002\u4f7f\u7528PyQt\u6216PySide\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fde\u63a5\u4fe1\u53f7\u548c\u69fd\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u4ea4\u4e92\uff0c\u786e\u4fdd\u4e3a\u6bcf\u4e2a\u4e8b\u4ef6\u63d0\u4f9b\u9002\u5f53\u7684\u5904\u7406\u903b\u8f91\uff0c\u4ee5\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Qt\u7f16\u5199Python\u7a0b\u5e8f\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5PyQt\u5e93\u3001\u521b\u5efa\u57fa\u672c\u7684Qt\u5e94\u7528\u7a0b\u5e8f\u3001\u4f7f\u7528Qt Designer\u8bbe\u8ba1UI [&hellip;]","protected":false},"author":3,"featured_media":1007343,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1007328"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1007328"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1007328\/revisions"}],"predecessor-version":[{"id":1007345,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1007328\/revisions\/1007345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1007343"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1007328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1007328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1007328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}