Comparison
akshare vs baostock vs pytdx
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
AKShare is an elegant and simple financial data interface library for Python, built for human beings!
Actively maintained. Last release 6 days ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install akshareA tool for obtaining historical data of China stock market
Actively maintained. Last release 2 months ago. A safe choice.
$
pip install baostockA Python Interface to TDX protocol
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install pytdxIn short
- pytdx is archived: avoid it for new projects.
- akshare is the most used: 1.3M downloads a month, 4.7× more than baostock.
- Maintenance is comparable: akshare 88, baostock 79 on Pythie’s Index.
- akshare is growing fastest: downloads +24% over the last month.
- Safe default for a new project: akshare.
Side by side
| Metric | akshare | baostock | pytdx |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 79 | Pythie’s Index: 4 |
| Verdict | Actively maintained | Actively maintained | Archived |
| Downloads / month | 1.3M | 279.2K | 93.1K |
| Downloads, month over month | +24% | -2% | +3% |
| GitHub stars | 23.5K | – | 1.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 46 | 20 |
| Last release | Nov 25, 2026 | Sep 21, 2026 | Aug 26, 2019 |
| Releases, 12 months | 178 | 4 | 0 |
| Weeks with commits | 15 / 26 | – | 0 / 26 |
| Recent contributors | 7 | – | 9 |
| First release | Apr 2025 | Jan 2018 | Jun 2017 |
| Python versions | 3.11 – 3.15 | 3.6 – 3.9 | – |
| License | MIT | non-standard | unknown |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.