# Python Api

用于Beancount自动化和脚本编写的Python API访问

1 篇博文 [查看所有标签](https://beancount.io/zh/blog/tags) [返回所有帖子](https://beancount.io/zh/blog)

2025年7月22日 阅读需 2 分钟

## [Beancount 的技术优势：与 Ledger、hledger 和 GnuCash 的性能、Python API 和数据完整性深度对比](https://beancount.io/zh/blog/2025/07/22/beancounts-technical-edge-a-deep-dive-on-performance-python-api-and-data-integrity-vs-ledger-hledger-and-gnucash)

本文深入分析了 Beancount 的性能、Python API 和数据完整性，并将其与 Ledger、hledger 和 GnuCash 等流行的会计系统进行了比较。了解使 Beancount 成为工程师和财务极简主义者的首选的技术优势。

Mike Thrift

beancount accounting performance

[免费开始→](https://beancount.io/sign-up/?next=%2Fledger%2F) [文档](https://beancount.io/zh/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
