{"id":990211,"date":"2024-12-27T08:18:16","date_gmt":"2024-12-27T00:18:16","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/990211.html"},"modified":"2024-12-27T08:18:18","modified_gmt":"2024-12-27T00:18:18","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e7%ae%80%e5%8c%96%e6%96%b9%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/990211.html","title":{"rendered":"\u5982\u4f55\u7528python\u7b80\u5316\u65b9\u7a0b"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065036\/f8d9fdfa-8fb5-4845-96c3-9664fb26d82e.webp\" alt=\"\u5982\u4f55\u7528python\u7b80\u5316\u65b9\u7a0b\" \/><\/p>\n<p><p> <strong>\u8981\u7528Python\u7b80\u5316\u65b9\u7a0b\uff0c\u53ef\u4ee5\u4f7f\u7528SymPy\u5e93\u3001\u638c\u63e1\u57fa\u672c\u7684\u7b26\u53f7\u8fd0\u7b97\u3001\u8fdb\u884c\u8868\u8fbe\u5f0f\u5316\u7b80\u7b49\u65b9\u6cd5\u3002<\/strong>\u5176\u4e2d\uff0cSymPy\u5e93\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7b26\u53f7\u6570\u5b66\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u7b80\u5316\u65b9\u7a0b\u7684\u529f\u80fd\u3002\u901a\u8fc7\u5bfc\u5165SymPy\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u7b26\u53f7\u53d8\u91cf\u5b9a\u4e49\u65b9\u7a0b\uff0c\u7136\u540e\u4f7f\u7528\u5e93\u4e2d\u7684\u7b80\u5316\u51fd\u6570\u5bf9\u65b9\u7a0b\u8fdb\u884c\u5316\u7b80\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001SYMPY\u5e93\u7684\u57fa\u7840\u77e5\u8bc6<\/p>\n<\/p>\n<p><p>SymPy\u662fPython\u4e2d\u4e00\u4e2a\u5f3a\u5927\u7684\u7b26\u53f7\u6570\u5b66\u8ba1\u7b97\u5e93\uff0c\u4e13\u6ce8\u4e8e\u7b26\u53f7\u8ba1\u7b97\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5\u5e76\u5bfc\u5165\u8be5\u5e93\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install sympy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import symbols, simplify, Eq, solve<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol>\n<li><strong>\u7b26\u53f7\u53d8\u91cf\u7684\u5b9a\u4e49<\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u4f7f\u7528SymPy\u65f6\uff0c\u9996\u5148\u8981\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf\u3002\u8fd9\u6837\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u521b\u5efa\u65b9\u7a0b\u5e76\u5bf9\u5176\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x, y = symbols(&#39;x y&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u521b\u5efa\u65b9\u7a0b<\/strong><\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u5b9a\u4e49\u597d\u7684\u7b26\u53f7\u53d8\u91cf\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u65b9\u7a0b\u3002\u4f8b\u5982\uff0c\u4e00\u4e2a\u7b80\u5355\u7684\u4ee3\u6570\u65b9\u7a0b\u53ef\u4ee5\u8fd9\u6837\u5b9a\u4e49\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">equation = Eq(x2 + 2*x + 1, 0)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001SYMPY\u5e93\u7684\u65b9\u7a0b\u7b80\u5316\u529f\u80fd<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528simplify\u51fd\u6570<\/strong><\/li>\n<\/ol>\n<p><p>SymPy\u63d0\u4f9b\u4e86<code>simplify<\/code>\u51fd\u6570\u6765\u5bf9\u65b9\u7a0b\u8fdb\u884c\u7b80\u5316\u3002\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u5904\u7406\u591a\u79cd\u7c7b\u578b\u7684\u6570\u5b66\u8868\u8fbe\u5f0f\uff0c\u5305\u62ec\u4ee3\u6570\u5f0f\u548c\u65b9\u7a0b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">simplified_eq = simplify(x2 + 2*x + 1)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>simplify<\/code>\u51fd\u6570\u4f1a\u81ea\u52a8\u8bc6\u522b\u5e76\u8fdb\u884c\u9002\u5f53\u7684\u5316\u7b80\u3002\u6bd4\u5982\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c<code>x&lt;strong&gt;2 + 2*x + 1<\/code>\u4f1a\u88ab\u5316\u7b80\u4e3a<code>(x + 1)&lt;\/strong&gt;2<\/code>\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528expand\u51fd\u6570<\/strong><\/li>\n<\/ol>\n<p><p>\u6709\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5c06\u4e00\u4e2a\u7b80\u5316\u7684\u8868\u8fbe\u5f0f\u5c55\u5f00\uff0cSymPy\u63d0\u4f9b\u4e86<code>expand<\/code>\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">expanded_eq = expand((x + 1)2)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>x2 + 2*x + 1<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001SOLVE\u51fd\u6570\u89e3\u51b3\u65b9\u7a0b<\/p>\n<\/p>\n<ol>\n<li><strong>\u6c42\u89e3\u65b9\u7a0b<\/strong><\/li>\n<\/ol>\n<p><p>SymPy\u4e2d\u7684<code>solve<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u89e3\u65b9\u7a0b\u3002\u5b83\u53ef\u4ee5\u8fd4\u56de\u65b9\u7a0b\u7684\u89e3\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">solutions = solve(equation, x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5bf9\u4e8e\u65b9\u7a0b<code>x2 + 2*x + 1 = 0<\/code>\uff0c<code>solve<\/code>\u51fd\u6570\u4f1a\u8fd4\u56de\u89e3<code>x = -1<\/code>\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5904\u7406\u591a\u53d8\u91cf\u65b9\u7a0b<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u591a\u53d8\u91cf\u65b9\u7a0b\uff0c\u6211\u4eec\u53ef\u4ee5\u6307\u5b9a\u9700\u8981\u6c42\u89e3\u7684\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">solutions = solve(x + y - 2, x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>x = 2 - y<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5316\u7b80\u4e09\u89d2\u65b9\u7a0b<\/p>\n<\/p>\n<p><p>SymPy\u540c\u6837\u652f\u6301\u4e09\u89d2\u65b9\u7a0b\u7684\u5316\u7b80\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>simplify<\/code>\u51fd\u6570\u6765\u5316\u7b80\u4e09\u89d2\u51fd\u6570\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import sin, cos<\/p>\n<p>trig_eq = sin(x)&lt;strong&gt;2 + cos(x)&lt;\/strong&gt;2<\/p>\n<p>simplified_trig_eq = simplify(trig_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5bf9\u4e8e<code>sin(x)&lt;strong&gt;2 + cos(x)&lt;\/strong&gt;2<\/code>\uff0c<code>simplify<\/code>\u51fd\u6570\u4f1a\u8fd4\u56de<code>1<\/code>\uff0c\u8fd9\u662f\u56e0\u4e3a\u6839\u636e\u4e09\u89d2\u6052\u7b49\u5f0f\uff0c<code>sin^2(x) + cos^2(x) = 1<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5316\u7b80\u590d\u6742\u4ee3\u6570\u65b9\u7a0b<\/p>\n<\/p>\n<ol>\n<li><strong>\u5206\u6570\u8868\u8fbe\u5f0f<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u590d\u6742\u7684\u5206\u6570\u8868\u8fbe\u5f0f\uff0c<code>simplify<\/code>\u51fd\u6570\u540c\u6837\u6709\u6548\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import Rational<\/p>\n<p>fraction_eq = Rational(3, 6) + Rational(1, 3)<\/p>\n<p>simplified_fraction_eq = simplify(fraction_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>1<\/code>\uff0c\u56e0\u4e3a<code>3\/6 + 1\/3<\/code>\u5316\u7b80\u540e\u662f<code>1<\/code>\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u591a\u9879\u5f0f\u65b9\u7a0b<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u591a\u9879\u5f0f\u65b9\u7a0b\uff0c\u4f7f\u7528<code>simplify<\/code>\u53ef\u4ee5\u51cf\u5c11\u9879\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">polynomial_eq = x&lt;strong&gt;3 + 3*x&lt;\/strong&gt;2 + 3*x + 1<\/p>\n<p>simplified_polynomial_eq = simplify(polynomial_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u65b9\u7a0b\u5df2\u7ecf\u662f\u6700\u7b80\u5f62\u5f0f\uff0c\u4f46\u5982\u679c\u5b83\u6709\u66f4\u591a\u9879\uff0c<code>simplify<\/code>\u51fd\u6570\u4f1a\u5408\u5e76\u540c\u7c7b\u9879\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u5316\u7b80\u6839\u5f0f\u65b9\u7a0b<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6839\u5f0f\u65b9\u7a0b\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>pow<\/code>\u51fd\u6570\u6765\u5b9a\u4e49\uff0c\u7136\u540e\u8fdb\u884c\u7b80\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import sqrt<\/p>\n<p>root_eq = sqrt(x2)<\/p>\n<p>simplified_root_eq = simplify(root_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>Abs(x)<\/code>\uff0c\u8868\u793a\u7edd\u5bf9\u503c\uff0c\u56e0\u4e3a\u5e73\u65b9\u6839\u7684\u7ed3\u679c\u4e0d\u80fd\u4e3a\u8d1f\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u5316\u7b80\u6307\u6570\u65b9\u7a0b<\/p>\n<\/p>\n<p><p>\u6307\u6570\u65b9\u7a0b\u540c\u6837\u53ef\u4ee5\u4f7f\u7528<code>simplify<\/code>\u8fdb\u884c\u5316\u7b80\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import exp<\/p>\n<p>exponential_eq = exp(x) * exp(y)<\/p>\n<p>simplified_exponential_eq = simplify(exponential_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>exp(x + y)<\/code>\uff0c\u56e0\u4e3a\u6839\u636e\u6307\u6570\u6cd5\u5219\uff0c<code>exp(a) * exp(b) = exp(a + b)<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u516b\u3001\u5316\u7b80\u5bf9\u6570\u65b9\u7a0b<\/p>\n<\/p>\n<p><p>SymPy\u4e5f\u652f\u6301\u5bf9\u6570\u65b9\u7a0b\u7684\u5316\u7b80\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import log<\/p>\n<p>logarithmic_eq = log(x*y)<\/p>\n<p>simplified_logarithmic_eq = simplify(logarithmic_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>log(x) + log(y)<\/code>\uff0c\u6839\u636e\u5bf9\u6570\u6cd5\u5219\uff0c<code>log(a*b) = log(a) + log(b)<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u4e5d\u3001\u5316\u7b80\u590d\u6570\u65b9\u7a0b<\/p>\n<\/p>\n<p><p>SymPy\u53ef\u4ee5\u5904\u7406\u590d\u6570\u65b9\u7a0b\u7684\u5316\u7b80\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import I<\/p>\n<p>complex_eq = (1 + I)*(1 - I)<\/p>\n<p>simplified_complex_eq = simplify(complex_eq)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de<code>2<\/code>\uff0c\u56e0\u4e3a<code>(1 + i)(1 - i) = 1^2 - i^2 = 1 + 1 = 2<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u5341\u3001\u5176\u4ed6\u5316\u7b80\u6280\u5de7<\/p>\n<\/p>\n<ol>\n<li><strong>\u6307\u5b9a\u7b80\u5316\u7b56\u7565<\/strong><\/li>\n<\/ol>\n<p><p>SymPy\u5141\u8bb8\u7528\u6237\u6307\u5b9a\u4e0d\u540c\u7684\u7b80\u5316\u7b56\u7565\u3002<code>simplify<\/code>\u51fd\u6570\u6709\u591a\u79cd\u7b56\u7565\u53c2\u6570\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">simplified_eq = simplify(equation, rational=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5206\u90e8\u5316\u7b80<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u590d\u6742\u65b9\u7a0b\uff0c\u53ef\u4ee5\u5c06\u5176\u5206\u4e3a\u51e0\u4e2a\u90e8\u5206\u5206\u522b\u7b80\u5316\uff0c\u7136\u540e\u7ec4\u5408\u7b80\u5316\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">part1 = simplify(x2 + 2*x)<\/p>\n<p>part2 = simplify(1)<\/p>\n<p>combined_simplified_eq = part1 + part2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0cPython\u4e2d\u7684SymPy\u5e93\u53ef\u4ee5\u6709\u6548\u5730\u5e2e\u52a9\u6211\u4eec\u7b80\u5316\u5404\u79cd\u7c7b\u578b\u7684\u65b9\u7a0b\u3002\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u5904\u7406\u6570\u5b66\u95ee\u9898\u7684\u6548\u7387\u548c\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u7b80\u5316\u6570\u5b66\u65b9\u7a0b\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528SymPy\u5e93\u6765\u7b80\u5316\u65b9\u7a0b\u3002SymPy\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7b26\u53f7\u8ba1\u7b97\u5e93\uff0c\u53ef\u4ee5\u5904\u7406\u4ee3\u6570\u8868\u8fbe\u5f0f\u3001\u65b9\u7a0b\u6c42\u89e3\u7b49\u3002\u60a8\u53ea\u9700\u5b89\u88c5SymPy\u5e93\uff0c\u5e76\u4f7f\u7528\u5176\u4e2d\u7684<code>simplify()<\/code>\u51fd\u6570\u6765\u7b80\u5316\u60a8\u7684\u65b9\u7a0b\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">from sympy import symbols, simplify\n\nx = symbols(&#39;x&#39;)\nexpr = x**2 + 2*x + 1\nsimplified_expr = simplify(expr)\nprint(simplified_expr)  # \u8f93\u51fa (x + 1)**2\n<\/code><\/pre>\n<p><strong>\u4f7f\u7528Python\u7b80\u5316\u65b9\u7a0b\u9700\u8981\u4e86\u89e3\u54ea\u4e9b\u57fa\u7840\u77e5\u8bc6\uff1f<\/strong><br \/>\u5728\u5f00\u59cb\u4f7f\u7528Python\u7b80\u5316\u65b9\u7a0b\u4e4b\u524d\uff0c\u4e86\u89e3\u57fa\u672c\u7684\u6570\u5b66\u77e5\u8bc6\u548cPython\u7f16\u7a0b\u57fa\u7840\u975e\u5e38\u91cd\u8981\u3002\u719f\u6089\u4ee3\u6570\u8868\u8fbe\u5f0f\u3001\u53d8\u91cf\u5b9a\u4e49\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5e93\u51fd\u6570\u5c06\u5e2e\u52a9\u60a8\u66f4\u6709\u6548\u5730\u8fdb\u884c\u65b9\u7a0b\u7b80\u5316\u3002\u6b64\u5916\uff0c\u4e86\u89e3\u5982\u4f55\u5b89\u88c5\u548c\u5bfc\u5165\u6240\u9700\u5e93\u4e5f\u662f\u57fa\u672c\u7684\u51c6\u5907\u5de5\u4f5c\u3002<\/p>\n<p><strong>Python\u7b80\u5316\u65b9\u7a0b\u7684\u6027\u80fd\u5982\u4f55\uff1f<\/strong><br \/>Python\u7684\u6027\u80fd\u5728\u7b80\u5316\u65b9\u7a0b\u65f6\u4f1a\u53d7\u5230\u65b9\u7a0b\u590d\u6742\u5ea6\u7684\u5f71\u54cd\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u65b9\u7a0b\uff0c\u7b80\u5316\u901f\u5ea6\u901a\u5e38\u5f88\u5feb\uff0c\u800c\u5bf9\u4e8e\u590d\u6742\u7684\u591a\u9879\u5f0f\u6216\u9ad8\u9636\u65b9\u7a0b\uff0c\u53ef\u80fd\u9700\u8981\u66f4\u957f\u7684\u8ba1\u7b97\u65f6\u95f4\u3002\u5408\u7406\u9009\u62e9\u7b80\u5316\u65b9\u6cd5\u548c\u7b56\u7565\uff0c\u53ef\u4ee5\u63d0\u5347\u6548\u7387\uff0c\u540c\u65f6\u4fdd\u8bc1\u7ed3\u679c\u7684\u51c6\u786e\u6027\u3002\u5bf9\u4e8e\u5927\u578b\u65b9\u7a0b\uff0c\u8003\u8651\u4f7f\u7528\u66f4\u9ad8\u6548\u7684\u7b97\u6cd5\u6216\u5e93\u53ef\u80fd\u4f1a\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u7528Python\u7b80\u5316\u65b9\u7a0b\uff0c\u53ef\u4ee5\u4f7f\u7528SymPy\u5e93\u3001\u638c\u63e1\u57fa\u672c\u7684\u7b26\u53f7\u8fd0\u7b97\u3001\u8fdb\u884c\u8868\u8fbe\u5f0f\u5316\u7b80\u7b49\u65b9\u6cd5\u3002\u5176\u4e2d\uff0cSymPy\u5e93\u662f [&hellip;]","protected":false},"author":3,"featured_media":990219,"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\/990211"}],"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=990211"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/990211\/revisions"}],"predecessor-version":[{"id":990220,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/990211\/revisions\/990220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/990219"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=990211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=990211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=990211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}