{"id":945551,"date":"2024-12-26T23:27:03","date_gmt":"2024-12-26T15:27:03","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/945551.html"},"modified":"2024-12-26T23:27:05","modified_gmt":"2024-12-26T15:27:05","slug":"python%e5%a6%82%e4%bd%95%e5%8a%a0%e5%af%86pyc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/945551.html","title":{"rendered":"python\u5982\u4f55\u52a0\u5bc6pyc"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082108\/409db779-d1d7-4e19-bb98-379bd9a72bc5.webp\" alt=\"python\u5982\u4f55\u52a0\u5bc6pyc\" \/><\/p>\n<p><p> <strong>Python\u52a0\u5bc6PYC\u6587\u4ef6\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Cython\u3001Pyarmor\u3001PyInstaller\u7b49\u5de5\u5177\u5b9e\u73b0\u3001\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\uff0c\u9009\u62e9\u65f6\u9700\u6839\u636e\u5177\u4f53\u9700\u6c42\u8fdb\u884c\u5224\u65ad\u3002<\/strong> \u52a0\u5bc6PYC\u6587\u4ef6\u7684\u4e3b\u8981\u76ee\u7684\u662f\u4fdd\u62a4Python\u4ee3\u7801\u4e0d\u88ab\u53cd\u7f16\u8bd1\u548c\u7a83\u53d6\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528Pyarmor\u8fdb\u884c\u52a0\u5bc6\u3002<\/p>\n<\/p>\n<p><p>Pyarmor\u662f\u4e00\u6b3e\u4e13\u4e3aPython\u811a\u672c\u8bbe\u8ba1\u7684\u52a0\u5bc6\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u6709\u6548\u4fdd\u62a4Python\u4ee3\u7801\uff0c\u9632\u6b62\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u548c\u4fee\u6539\u3002Pyarmor\u901a\u8fc7\u5c06Python\u5b57\u8282\u7801\u8fdb\u884c\u6df7\u6dc6\u548c\u52a0\u5bc6\uff0c\u751f\u6210\u52a0\u5bc6\u540e\u7684PYC\u6587\u4ef6\uff0c\u4ece\u800c\u589e\u52a0\u4ee3\u7801\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528Pyarmor\u8fdb\u884c\u52a0\u5bc6\u7684\u6b65\u9aa4<\/strong><\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Pyarmor<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5Pyarmor\u3002\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u7b80\u5355\u5730\u5b89\u88c5\u5b83\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyarmor<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c<code>pyarmor --version<\/code>\u6765\u68c0\u67e5\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u751f\u6210\u8bb8\u53ef\u8bc1<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528Pyarmor\u4e4b\u524d\uff0c\u9700\u8981\u751f\u6210\u4e00\u4e2a\u8bb8\u53ef\u8bc1\u6765\u7ba1\u7406\u4ee3\u7801\u7684\u6388\u6743\u548c\u4f7f\u7528\u3002\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u751f\u6210\u8bb8\u53ef\u8bc1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyarmor licenses -e &quot;expired_date&quot; &quot;your_code&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\u7684<code>expired_date<\/code>\u8868\u793a\u8bb8\u53ef\u8bc1\u7684\u8fc7\u671f\u65e5\u671f\uff0c<code>your_code<\/code>\u662f\u751f\u6210\u8bb8\u53ef\u8bc1\u6240\u9700\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u52a0\u5bc6Python\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u52a0\u5bc6Python\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyarmor pack -x &quot; --exclude some_module&quot; your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6761\u547d\u4ee4\u5c06\u4f1a\u52a0\u5bc6<code>your_script.py<\/code>\uff0c\u5e76\u6392\u9664<code>some_module<\/code>\u6a21\u5757\u3002\u52a0\u5bc6\u540e\u7684\u6587\u4ef6\u4f1a\u81ea\u52a8\u751f\u6210\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6d4b\u8bd5\u52a0\u5bc6\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u52a0\u5bc6\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u751f\u6210\u7684\u52a0\u5bc6\u6587\u4ef6\uff0c\u786e\u4fdd\u5176\u529f\u80fd\u4e0e\u539f\u59cb\u4ee3\u7801\u4e00\u81f4\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5206\u53d1\u52a0\u5bc6\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u5c06\u751f\u6210\u7684\u52a0\u5bc6\u6587\u4ef6\u548c\u8bb8\u53ef\u8bc1\u4e00\u8d77\u5206\u53d1\u7ed9\u6700\u7ec8\u7528\u6237\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u6388\u6743\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c\u8fd9\u4e9b\u52a0\u5bc6\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u5176\u4ed6\u52a0\u5bc6\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u9664\u4e86Pyarmor\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u51e0\u79cd\u5e38\u7528\u7684\u52a0\u5bc6\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Cython\u8fdb\u884c\u52a0\u5bc6<\/h3>\n<\/p>\n<p><p>Cython\u662f\u4e00\u4e2a\u4f18\u5316Python\u4ee3\u7801\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5c06Python\u4ee3\u7801\u8f6c\u6362\u4e3aC\u4ee3\u7801\uff0c\u4ece\u800c\u63d0\u9ad8\u6267\u884c\u6548\u7387\u5e76\u589e\u52a0\u4ee3\u7801\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Cython<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Cython\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install cython<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199setup.py\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u521b\u5efa\u4e00\u4e2a<code>setup.py<\/code>\u6587\u4ef6\uff0c\u7528\u4e8e\u914d\u7f6eCython\u7684\u7f16\u8bd1\u9009\u9879\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from setuptools import setup<\/p>\n<p>from Cython.Build import cythonize<\/p>\n<p>setup(<\/p>\n<p>    ext_modules=cythonize(&quot;your_script.py&quot;),<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u8bd1Python\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u7f16\u8bd1Python\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py build_ext --inplace<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u5c06\u751f\u6210\u4e00\u4e2a\u5171\u4eab\u5e93\u6587\u4ef6\uff0c\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u8be5\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528PyInstaller\u8fdb\u884c\u52a0\u5bc6<\/h3>\n<\/p>\n<p><p>PyInstaller\u53ef\u4ee5\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u589e\u52a0\u4e86\u4ee3\u7801\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5PyInstaller<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5PyInstaller\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6253\u5305Python\u6587\u4ef6<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06Python\u6587\u4ef6\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u751f\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u7528\u6237\u65e0\u9700\u5b89\u88c5Python\u73af\u5883\u5373\u53ef\u8fd0\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u4ee3\u7801\u6df7\u6dc6<\/h3>\n<\/p>\n<p><p>\u4ee3\u7801\u6df7\u6dc6\u662f\u901a\u8fc7\u6539\u53d8\u4ee3\u7801\u7ed3\u6784\u548c\u53d8\u91cf\u540d\u6765\u589e\u52a0\u4ee3\u7801\u7684\u96be\u4ee5\u7406\u89e3\u7a0b\u5ea6\uff0c\u4ece\u800c\u4fdd\u62a4\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528Obfuscator\u5de5\u5177<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u4e00\u4e9b\u4e13\u95e8\u7684\u4ee3\u7801\u6df7\u6dc6\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u5b9e\u73b0\u4ee3\u7801\u6df7\u6dc6\uff0c\u4f8b\u5982Pyminifier\u3001Pyarmor\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u624b\u52a8\u6df7\u6dc6<\/strong><\/p>\n<\/p>\n<p><p>\u624b\u52a8\u66f4\u6539\u53d8\u91cf\u540d\u3001\u51fd\u6570\u540d\u4ee5\u53ca\u4ee3\u7801\u7ed3\u6784\u4e5f\u53ef\u4ee5\u8fbe\u5230\u6df7\u6dc6\u6548\u679c\uff0c\u4f46\u9700\u8981\u8017\u8d39\u5927\u91cf\u65f6\u95f4\u548c\u7cbe\u529b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u9009\u62e9\u5408\u9002\u7684\u52a0\u5bc6\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u9009\u62e9\u5408\u9002\u7684\u52a0\u5bc6\u65b9\u6cd5\u9700\u8981\u8003\u8651\u4ee5\u4e0b\u51e0\u4e2a\u56e0\u7d20\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u5168\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u4e0d\u540c\u7684\u52a0\u5bc6\u65b9\u6cd5\u63d0\u4f9b\u7684\u5b89\u5168\u6027\u4e0d\u540c\uff0c\u9700\u8981\u6839\u636e\u4ee3\u7801\u7684\u91cd\u8981\u6027\u548c\u654f\u611f\u6027\u9009\u62e9\u5408\u9002\u7684\u52a0\u5bc6\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6027\u80fd<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u4e9b\u52a0\u5bc6\u65b9\u6cd5\u53ef\u80fd\u4f1a\u5f71\u54cd\u4ee3\u7801\u7684\u6267\u884c\u6548\u7387\uff0c\u9009\u62e9\u65f6\u9700\u8981\u6743\u8861\u6027\u80fd\u548c\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u517c\u5bb9\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u52a0\u5bc6\u540e\u7684\u4ee3\u7801\u9700\u8981\u5728\u76ee\u6807\u73af\u5883\u4e2d\u6b63\u5e38\u8fd0\u884c\uff0c\u786e\u4fdd\u9009\u62e9\u7684\u65b9\u6cd5\u5177\u6709\u826f\u597d\u7684\u517c\u5bb9\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u53ef\u7ef4\u62a4\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u52a0\u5bc6\u540e\u7684\u4ee3\u7801\u53ef\u80fd\u4f1a\u589e\u52a0\u7ef4\u62a4\u96be\u5ea6\uff0c\u9009\u62e9\u65b9\u6cd5\u65f6\u9700\u8981\u8003\u8651\u5176\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u52a0\u5bc6Python PYC\u6587\u4ef6\u662f\u4fdd\u62a4\u4ee3\u7801\u5b89\u5168\u7684\u91cd\u8981\u63aa\u65bd\uff0c\u901a\u8fc7\u4f7f\u7528Cython\u3001Pyarmor\u3001PyInstaller\u7b49\u5de5\u5177\u53ef\u4ee5\u6709\u6548\u589e\u52a0\u4ee3\u7801\u7684\u5b89\u5168\u6027\u3002\u5728\u9009\u62e9\u52a0\u5bc6\u65b9\u6cd5\u65f6\uff0c\u9700\u8981\u7efc\u5408\u8003\u8651\u5b89\u5168\u6027\u3001\u6027\u80fd\u3001\u517c\u5bb9\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u4ee5\u4fbf\u9009\u62e9\u6700\u9002\u5408\u7684\u52a0\u5bc6\u65b9\u6848\u3002\u52a0\u5bc6\u540e\uff0c\u5b9a\u671f\u68c0\u67e5\u548c\u66f4\u65b0\u52a0\u5bc6\u7b56\u7565\uff0c\u4ee5\u5e94\u5bf9\u4e0d\u65ad\u53d8\u5316\u7684\u5b89\u5168\u5a01\u80c1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Python\u6e90\u4ee3\u7801\u8f6c\u6362\u4e3aPYC\u6587\u4ef6\u4ee5\u4fbf\u52a0\u5bc6\uff1f<\/strong><br \/>\u8981\u5c06Python\u6e90\u4ee3\u7801\u8f6c\u6362\u4e3aPYC\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u5185\u7f6e\u7684<code>py_compile<\/code>\u6a21\u5757\u3002\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<code>python -m py_compile your_script.py<\/code>\uff0c\u8fd9\u5c06\u751f\u6210\u4e00\u4e2aPYC\u6587\u4ef6\uff0c\u901a\u5e38\u4f4d\u4e8e<code>__pycache__<\/code>\u76ee\u5f55\u4e2d\u3002PYC\u6587\u4ef6\u662fPython\u7f16\u8bd1\u540e\u7684\u5b57\u8282\u7801\uff0c\u80fd\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u4fdd\u62a4\u6e90\u4ee3\u7801\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u4e9b\u5de5\u5177\u53ef\u4ee5\u52a0\u5bc6Python\u7684PYC\u6587\u4ef6\uff1f<\/strong><br \/>\u6709\u591a\u79cd\u5de5\u5177\u53ef\u4ee5\u7528\u6765\u52a0\u5bc6PYC\u6587\u4ef6\uff0c\u4f8b\u5982<code>pyarmor<\/code>\u548c<code>cx_Freeze<\/code>\u3002<code>pyarmor<\/code>\u4e0d\u4ec5\u652f\u6301\u52a0\u5bc6\uff0c\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u53ef\u8bc1\u7ba1\u7406\u529f\u80fd\uff0c\u800c<code>cx_Freeze<\/code>\u5219\u53ef\u4ee5\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u53d6\u51b3\u4e8e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u548c\u9879\u76ee\u73af\u5883\u3002<\/p>\n<p><strong>\u52a0\u5bc6PYC\u6587\u4ef6\u540e\uff0c\u5982\u4f55\u786e\u4fdd\u5176\u5b89\u5168\u6027\uff1f<\/strong><br \/>\u867d\u7136\u52a0\u5bc6PYC\u6587\u4ef6\u53ef\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\uff0c\u4f46\u5e76\u4e0d\u662f\u7edd\u5bf9\u9632\u62a4\u63aa\u65bd\u3002\u53ef\u4ee5\u91c7\u53d6\u4e00\u4e9b\u989d\u5916\u7684\u6b65\u9aa4\uff0c\u6bd4\u5982\u5b9a\u671f\u66f4\u65b0\u52a0\u5bc6\u7b97\u6cd5\u3001\u4f7f\u7528\u4ee3\u7801\u6df7\u6dc6\u6280\u672f\u4ee5\u53ca\u63a7\u5236\u4ee3\u7801\u7684\u8bbf\u95ee\u6743\u9650\u3002\u8fd9\u4e9b\u63aa\u65bd\u53ef\u4ee5\u8fdb\u4e00\u6b65\u4fdd\u62a4\u4ee3\u7801\u4e0d\u88ab\u672a\u6388\u6743\u8bbf\u95ee\u6216\u9006\u5411\u5de5\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u52a0\u5bc6PYC\u6587\u4ef6\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Cython\u3001Pyarmor\u3001PyInstaller\u7b49\u5de5\u5177\u5b9e\u73b0\u3001\u6bcf\u79cd\u65b9\u6cd5 [&hellip;]","protected":false},"author":3,"featured_media":945556,"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\/945551"}],"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=945551"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/945551\/revisions"}],"predecessor-version":[{"id":945559,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/945551\/revisions\/945559"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/945556"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=945551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=945551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=945551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}