Comparison
alpaca-py vs dhanhq vs longbridge vs tastytrade
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The Official Python SDK for Alpaca APIs
Actively maintained. Last release 4 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install alpaca-pyThe official Python client for communicating with the DhanHQ API
Actively maintained. Last release 7 days ago. A safe choice.
pip install dhanhqA Python library for Longbridge Open API
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install longbridgeAn unofficial, typed, asynchronous Python SDK for Tastytrade!
Maintained. Last release 4 months ago, commits in 6 of the last 26 weeks. Weaker on contributor spread.
pip install tastytradeIn short
- alpaca-py is the most used: 1.4M downloads a month, 12× more than longbridge.
- Maintenance is comparable: longbridge 91, alpaca-py 87, dhanhq 82, tastytrade 67 on Pythie’s Index.
- tastytrade is growing fastest: downloads +41% over the last month.
- Safe default for a new project: alpaca-py.
Side by side
| Metric | alpaca-py | dhanhq | longbridge | tastytrade |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | Pythie’s Index: 82 | Pythie’s Index: 91 | Pythie’s Index: 67 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 1.4M | 56.3K | 120.2K | 87K |
| Downloads, month over month | +19% | -18% | +28% | +41% |
| GitHub stars | 1.6K | – | – | 262 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 46 | 4 | 1 | 4 |
| Last release | Nov 5, 2026 | Nov 26, 2026 | Nov 30, 2026 | Aug 7, 2026 |
| Releases, 12 months | 5 | 5 | 12 | 24 |
| Weeks with commits | 22 / 26 | – | 26 / 26 | 6 / 26 |
| Recent contributors | 17 | – | 8 | 10 |
| First release | Apr 2022 | Sep 2022 | Aug 2023 | Apr 2023 |
| Python versions | 3.10 – 3.15 | – | – | 3.11 – 3.14 |
| License | Apache-2.0 | MIT | Apache-2.0 | MIT |
| 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.