Comparison
akshare vs baostock vs pytdx vs tushare
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 1 day 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 pytdxA utility for crawling historical and Real-time Quotes data of China stocks
Maintained. Last release 8 months ago.
pip install tushareIn 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, tushare 64 on Pythie’s Index.
- akshare is growing fastest: downloads +25% over the last month.
- Safe default for a new project: akshare.
Side by side
| Metric | akshare | baostock | pytdx | tushare |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 79 | Pythie’s Index: 4 | Pythie’s Index: 64 |
| Verdict | Actively maintained | Actively maintained | Archived | Maintained |
| Downloads / month | 1.3M | 283K | 93.6K | 264.8K |
| Downloads, month over month | +25% | 0% | +3% | -2% |
| GitHub stars | 23.6K | – | 1.6K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 46 | 20 | 94 |
| Last release | Dec 1, 2026 | Sep 21, 2026 | Aug 26, 2019 | Mar 25, 2026 |
| Releases, 12 months | 180 | 4 | 0 | 5 |
| Weeks with commits | 15 / 26 | – | 0 / 26 | – |
| Recent contributors | 8 | – | 9 | – |
| First release | Apr 2025 | Jan 2018 | Jun 2017 | Jan 2015 |
| Python versions | 3.11 – 3.15 | 3.6 – 3.9 | – | 3.6 – 3.10 |
| License | MIT | non-standard | unknown | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.