Comparison
pytdx vs tushare vs twelvedata
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 tusharePython client for Twelve Data
Low maintenance activity. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and security practices.
$
pip install twelvedataIn short
- pytdx is archived: avoid it for new projects.
- tushare is the most used: 264.8K downloads a month, 2.4× more than twelvedata.
- tushare also has the best Pythie’s Index (64).
- twelvedata is growing fastest: downloads +27% over the last month.
- Safe default for a new project: tushare.
Side by side
| Metric | pytdx | tushare | twelvedata |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 4 | Pythie’s Index: 64 | Pythie’s Index: 38 |
| Verdict | Archived | Maintained | Low maintenance activity |
| Downloads / month | 93.6K | 264.8K | 108.2K |
| Downloads, month over month | +3% | -2% | +27% |
| GitHub stars | 1.6K | – | 802 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 20 | 94 | 6 |
| Last release | Aug 26, 2019 | Mar 25, 2026 | Apr 27, 2026 |
| Releases, 12 months | 0 | 5 | 3 |
| Weeks with commits | 0 / 26 | – | 0 / 26 |
| Recent contributors | 9 | – | 6 |
| First release | Jun 2017 | Jan 2015 | Jan 2020 |
| Python versions | – | 3.6 – 3.10 | – |
| License | unknown | non-standard | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.