{"id":973548,"date":"2024-12-27T05:57:50","date_gmt":"2024-12-26T21:57:50","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/973548.html"},"modified":"2024-12-27T05:57:52","modified_gmt":"2024-12-26T21:57:52","slug":"pycharm%e5%a6%82%e4%bd%95%e6%89%93%e5%8c%85python%e9%a1%b9%e7%9b%ae","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/973548.html","title":{"rendered":"pycharm\u5982\u4f55\u6253\u5305python\u9879\u76ee"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24195654\/f943306e-c492-4770-b743-2c1a6ba63756.webp\" alt=\"pycharm\u5982\u4f55\u6253\u5305python\u9879\u76ee\" \/><\/p>\n<p><p> <strong>\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u521b\u5efa\u9879\u76ee\u7ed3\u6784\u3001\u7f16\u5199setup.py\u6587\u4ef6\u3001\u914d\u7f6e\u4f9d\u8d56\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u884c\u6253\u5305\u3002<\/strong>\u5728\u8fd9\u4e9b\u6b65\u9aa4\u4e2d\uff0c\u7f16\u5199<code>setup.py<\/code>\u6587\u4ef6\u662f\u5173\u952e\uff0c\u56e0\u4e3a\u5b83\u5b9a\u4e49\u4e86\u9879\u76ee\u7684\u5143\u6570\u636e\u548c\u6253\u5305\u914d\u7f6e\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u6bcf\u4e2a\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u9879\u76ee\u7ed3\u6784\u7684\u521b\u5efa<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u6253\u5305\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u9879\u76ee\u7684\u6587\u4ef6\u7ed3\u6784\u5408\u7406\u3002\u4e00\u4e2a\u6807\u51c6\u7684Python\u9879\u76ee\u7ed3\u6784\u901a\u5e38\u5305\u62ec\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<\/p>\n<ul>\n<li><code>src<\/code>\u6216\u9879\u76ee\u540d\u79f0\u6587\u4ef6\u5939\uff1a\u5305\u542b\u6240\u6709\u6e90\u4ee3\u7801\u3002<\/li>\n<li><code>tests<\/code>\u6587\u4ef6\u5939\uff1a\u5305\u542b\u6d4b\u8bd5\u4ee3\u7801\u3002<\/li>\n<li><code>README.md<\/code>\uff1a\u9879\u76ee\u8bf4\u660e\u6587\u6863\u3002<\/li>\n<li><code>setup.py<\/code>\uff1a\u6253\u5305\u548c\u5b89\u88c5\u914d\u7f6e\u3002<\/li>\n<li><code>requirements.txt<\/code>\uff1a\u5217\u51fa\u9879\u76ee\u7684\u4f9d\u8d56\u9879\u3002<\/li>\n<\/ul>\n<p><p>\u4e00\u4e2a\u5178\u578b\u7684\u9879\u76ee\u7ed3\u6784\u53ef\u80fd\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<\/p>\n<p><pre><code>my_project\/<\/p>\n<p>\u2502<\/p>\n<p>\u251c\u2500\u2500 src\/<\/p>\n<p>\u2502   \u251c\u2500\u2500 my_module\/<\/p>\n<p>\u2502   \u2502   \u251c\u2500\u2500 __init__.py<\/p>\n<p>\u2502   \u2502   \u2514\u2500\u2500 m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.py<\/p>\n<p>\u2502<\/p>\n<p>\u251c\u2500\u2500 tests\/<\/p>\n<p>\u2502   \u2514\u2500\u2500 test_main.py<\/p>\n<p>\u2502<\/p>\n<p>\u251c\u2500\u2500 README.md<\/p>\n<p>\u251c\u2500\u2500 setup.py<\/p>\n<p>\u2514\u2500\u2500 requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u786e\u4fdd\u9879\u76ee\u7ed3\u6784\u7684\u6574\u6d01\u548c\u6e05\u6670\u6709\u52a9\u4e8e\u540e\u7eed\u6253\u5305\u548c\u7ef4\u62a4\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u7f16\u5199setup.py\u6587\u4ef6<\/p>\n<\/p>\n<p><p><code>setup.py<\/code>\u6587\u4ef6\u662fPython\u9879\u76ee\u6253\u5305\u7684\u6838\u5fc3\u6587\u4ef6\u3002\u5b83\u5305\u542b\u4e86\u5305\u7684\u5143\u6570\u636e\u548c\u5b89\u88c5\u4fe1\u606f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684<code>setup.py<\/code>\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from setuptools import setup, find_packages<\/p>\n<p>setup(<\/p>\n<p>    name=&#39;my_project&#39;,<\/p>\n<p>    version=&#39;0.1&#39;,<\/p>\n<p>    packages=find_packages(where=&#39;src&#39;),<\/p>\n<p>    package_dir={&#39;&#39;: &#39;src&#39;},<\/p>\n<p>    install_requires=[<\/p>\n<p>        # \u5728\u6b64\u5904\u5217\u51fa\u9879\u76ee\u4f9d\u8d56\u9879<\/p>\n<p>    ],<\/p>\n<p>    entry_points={<\/p>\n<p>        &#39;console_scripts&#39;: [<\/p>\n<p>            &#39;my_command=my_module.main:main_function&#39;,  # \u547d\u4ee4\u884c\u5de5\u5177\u7684\u5165\u53e3<\/p>\n<p>        ],<\/p>\n<p>    },<\/p>\n<p>    author=&#39;Your Name&#39;,<\/p>\n<p>    author_email=&#39;your.email@example.com&#39;,<\/p>\n<p>    description=&#39;A brief description of the project&#39;,<\/p>\n<p>    long_description=open(&#39;README.md&#39;).read(),<\/p>\n<p>    long_description_content_type=&#39;text\/markdown&#39;,<\/p>\n<p>    url=&#39;https:\/\/github.com\/yourusername\/my_project&#39;,<\/p>\n<p>    classifiers=[<\/p>\n<p>        &#39;Programming Language :: Python :: 3&#39;,<\/p>\n<p>        &#39;License :: OSI Approved :: MIT License&#39;,<\/p>\n<p>        &#39;Operating System :: OS Independent&#39;,<\/p>\n<p>    ],<\/p>\n<p>    python_requires=&#39;&gt;=3.6&#39;,<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u7f16\u5199<code>setup.py<\/code>\u65f6\uff0c\u786e\u4fdd\u586b\u5199\u6240\u6709\u5fc5\u8981\u7684\u9879\u76ee\u4fe1\u606f\u548c\u5143\u6570\u636e\uff0c\u4ee5\u4fbf\u7528\u6237\u4e86\u89e3\u9879\u76ee\u7684\u7528\u9014\u548c\u5b89\u88c5\u65b9\u6cd5\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e09\u3001\u914d\u7f6e\u4f9d\u8d56<\/p>\n<\/p>\n<p><p>\u5728<code>setup.py<\/code>\u6216<code>requirements.txt<\/code>\u4e2d\u5217\u51fa\u9879\u76ee\u7684\u6240\u6709\u4f9d\u8d56\u9879\u3002\u4f9d\u8d56\u9879\u5e94\u5305\u62ec\u9879\u76ee\u8fd0\u884c\u6240\u9700\u7684\u6240\u6709\u5e93\u3002\u4f8b\u5982\uff0c\u5982\u679c\u9879\u76ee\u4f9d\u8d56\u4e8e<code>requests<\/code>\u5e93\uff0c\u5219\u5728<code>requirements.txt<\/code>\u4e2d\u5199\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code>requests&gt;=2.25.1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728<code>setup.py<\/code>\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>install_requires<\/code>\u53c2\u6570\u5217\u51fa\u8fd9\u4e9b\u4f9d\u8d56\u9879\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">install_requires=[<\/p>\n<p>    &#39;requests&gt;=2.25.1&#39;,<\/p>\n<p>    # \u5176\u4ed6\u4f9d\u8d56\u9879<\/p>\n<p>],<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u786e\u4fdd\u4f9d\u8d56\u9879\u7684\u7248\u672c\u8303\u56f4\u8db3\u591f\u7075\u6d3b\uff0c\u4ee5\u907f\u514d\u4e0e\u5176\u4ed6\u5305\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u884c\u6253\u5305<\/p>\n<\/p>\n<p><p>\u5b8c\u6210\u4e0a\u8ff0\u6b65\u9aa4\u540e\uff0c\u5373\u53ef\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u884c\u6253\u5305\u3002\u5728PyCharm\u4e2d\u6253\u5f00\u7ec8\u7aef\uff0c\u5bfc\u822a\u5230\u9879\u76ee\u7684\u6839\u76ee\u5f55\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u751f\u6210\u5206\u53d1\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u751f\u6210\u6e90\u5206\u53d1\u5305\u548c\u8f6e\u5b50\u5206\u53d1\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py sdist bdist_wheel<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u4f1a\u5728\u9879\u76ee\u6839\u76ee\u5f55\u751f\u6210\u4e00\u4e2a<code>dist<\/code>\u76ee\u5f55\uff0c\u5176\u4e2d\u5305\u542b<code>.tar.gz<\/code>\u548c<code>.whl<\/code>\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u548c\u6d4b\u8bd5<\/strong><\/p>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>pip<\/code>\u5b89\u88c5\u751f\u6210\u7684\u5305\u8fdb\u884c\u6d4b\u8bd5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install dist\/my_project-0.1-py3-none-any.whl<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6d4b\u8bd5\u9879\u76ee\u7684\u547d\u4ee4\u884c\u5de5\u5177\u6216\u529f\u80fd\u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0a\u4f20\u5230PyPI<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5c06\u9879\u76ee\u53d1\u5e03\u5230PyPI\uff0c\u53ef\u4ee5\u4f7f\u7528<code>twine<\/code>\u5de5\u5177\u3002\u9996\u5148\u786e\u4fdd\u5b89\u88c5<code>twine<\/code>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install twine<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4e0a\u4f20\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">twine upload dist\/*<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u9700\u8981\u8f93\u5165PyPI\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u5728\u4e0a\u4f20\u5230PyPI\u4e4b\u524d\uff0c\u786e\u4fdd\u5305\u7ecf\u8fc7\u5145\u5206\u6d4b\u8bd5\u5e76\u51c6\u5907\u597d\u4f9b\u516c\u4f17\u4f7f\u7528\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f9d\u8d56\u51b2\u7a81<\/strong><\/p>\n<\/p>\n<p><p>\u4f9d\u8d56\u51b2\u7a81\u662fPython\u9879\u76ee\u6253\u5305\u4e2d\u5e38\u89c1\u7684\u95ee\u9898\u3002\u89e3\u51b3\u65b9\u6cd5\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>pip<\/code>\u7684<code>--upgrade<\/code>\u9009\u9879\u66f4\u65b0\u4f9d\u8d56\u9879\u3002<\/li>\n<li>\u901a\u8fc7<code>pipdeptree<\/code>\u5de5\u5177\u68c0\u67e5\u4f9d\u8d56\u5173\u7cfb\u6811\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7248\u672c\u7ba1\u7406<\/strong><\/p>\n<\/p>\n<p><p>\u786e\u4fdd\u9879\u76ee\u7684\u7248\u672c\u53f7\u9075\u5faa\u8bed\u4e49\u5316\u7248\u672c\u63a7\u5236\uff08Semantic Versioning\uff09\uff0c\u5982<code>MAJOR.MINOR.PATCH<\/code>\u683c\u5f0f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8de8\u5e73\u53f0\u517c\u5bb9\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6d4b\u8bd5\u5305\u7684\u5b89\u88c5\u548c\u8fd0\u884c\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u901a\u8fc7\u4ed4\u7ec6\u5904\u7406\u8fd9\u4e9b\u5e38\u89c1\u95ee\u9898\uff0c\u53ef\u4ee5\u63d0\u9ad8\u9879\u76ee\u7684\u7a33\u5b9a\u6027\u548c\u7528\u6237\u4f53\u9a8c\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u603b\u7ed3\uff0cPyCharm\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684\u5de5\u5177\u548c\u826f\u597d\u7684\u96c6\u6210\u73af\u5883\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u987a\u5229\u5730\u6253\u5305\u548c\u53d1\u5e03Python\u9879\u76ee\u3002\u5728\u6574\u4e2a\u6253\u5305\u8fc7\u7a0b\u4e2d\uff0c\u5408\u7406\u7684\u9879\u76ee\u7ed3\u6784\u3001\u5b8c\u6574\u7684<code>setup.py<\/code>\u914d\u7f6e\u3001\u4f9d\u8d56\u7ba1\u7406\uff0c\u4ee5\u53ca\u5145\u5206\u7684\u6d4b\u8bd5\u548c\u9a8c\u8bc1\u90fd\u662f\u6210\u529f\u7684\u5173\u952e\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5c06\u81ea\u5df1\u7684Python\u9879\u76ee\u6253\u5305\u6210\u53ef\u91cd\u7528\u7684\u6a21\u5757\uff0c\u5e76\u8f7b\u677e\u5206\u53d1\u7ed9\u5176\u4ed6\u7528\u6237\u6216\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728PyCharm\u4e2d\u521b\u5efa\u53ef\u6267\u884c\u6587\u4ef6\uff1f<\/strong><br \/>\u5728PyCharm\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528PyInstaller\u6216cx_Freeze\u7b49\u5de5\u5177\u6765\u521b\u5efa\u53ef\u6267\u884c\u6587\u4ef6\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5b89\u88c5\u4e86\u6240\u9700\u7684\u5e93\u3002\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c<code>pip install pyinstaller<\/code>\u6216<code>pip install cx_Freeze<\/code>\u3002\u63a5\u7740\uff0c\u901a\u8fc7PyCharm\u7684\u7ec8\u7aef\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\uff0c\u8fd0\u884c<code>pyinstaller your_script.py<\/code>\u547d\u4ee4\uff0cPyInstaller\u4f1a\u751f\u6210\u4e00\u4e2adist\u6587\u4ef6\u5939\uff0c\u5176\u4e2d\u5305\u542b\u53ef\u6267\u884c\u6587\u4ef6\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n<p><strong>\u6253\u5305Python\u9879\u76ee\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u4e8b\u9879\uff1f<\/strong><br \/>\u5728\u6253\u5305Python\u9879\u76ee\u65f6\uff0c\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u9879\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\u5e76\u4e14\u5728requirements.txt\u6587\u4ef6\u4e2d\u5217\u51fa\u3002\u6b64\u5916\uff0c\u68c0\u67e5\u4ee3\u7801\u4e2d\u662f\u5426\u6709\u786c\u7f16\u7801\u7684\u6587\u4ef6\u8def\u5f84\uff0c\u4f7f\u7528\u76f8\u5bf9\u8def\u5f84\u4f1a\u66f4\u597d\u3002\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\uff0c\u8003\u8651\u4f7f\u7528\u865a\u62df\u73af\u5883\uff0c\u4ee5\u907f\u514d\u4e0e\u7cfb\u7edf\u73af\u5883\u4e2d\u7684\u5e93\u4ea7\u751f\u51b2\u7a81\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728PyCharm\u4e2d\u914d\u7f6e\u6253\u5305\u7684\u8bbe\u7f6e\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u901a\u8fc7PyCharm\u7684\u201c\u9879\u76ee\u7ed3\u6784\u201d\u8bbe\u7f6e\u6765\u914d\u7f6e\u6253\u5305\u7684\u9009\u9879\u3002\u5728\u201c\u8bbe\u7f6e\u201d\u4e2d\u9009\u62e9\u201c\u9879\u76ee\uff1a\u60a8\u7684\u9879\u76ee\u540d\u201d\uff0c\u7136\u540e\u5728\u201c\u9879\u76ee\u7ed3\u6784\u201d\u4e2d\u6dfb\u52a0\u6e90\u6587\u4ef6\u548c\u8d44\u6e90\u6587\u4ef6\u5939\u3002\u786e\u4fdd\u5728\u6253\u5305\u65f6\u5305\u542b\u6240\u6709\u5fc5\u8981\u7684\u6587\u4ef6\uff0c\u5e76\u6839\u636e\u9700\u8981\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u7684\u8def\u5f84\uff0c\u4ee5\u786e\u4fdd\u6253\u5305\u65f6\u4f7f\u7528\u6b63\u786e\u7684\u73af\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u521b\u5efa\u9879\u76ee\u7ed3\u6784\u3001\u7f16\u5199setup.py\u6587\u4ef6\u3001\u914d\u7f6e\u4f9d\u8d56\u3001\u4f7f\u7528\u547d\u4ee4\u884c [&hellip;]","protected":false},"author":3,"featured_media":973553,"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\/973548"}],"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=973548"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/973548\/revisions"}],"predecessor-version":[{"id":973555,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/973548\/revisions\/973555"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/973553"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=973548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=973548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=973548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}