Comparison
alpaca-py vs dhanhq vs schwab-py vs smartapi-python
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 5 days ago. A safe choice.
pip install dhanhqUnofficial API wrapper for the Schwab HTTP API
Maintained. Last release 2 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install schwab-pyAngel Broking openApi integration
Low maintenance activity. Last release 22 months ago. Weaker on recent releases and release cadence.
pip install smartapi-pythonIn short
- alpaca-py is the most used: 1.4M downloads a month, 11× more than schwab-py.
- Maintenance is comparable: alpaca-py 86, dhanhq 82, schwab-py 49, smartapi-python 37 on Pythie’s Index.
- alpaca-py is growing fastest: downloads +17% over the last month.
- Safe default for a new project: alpaca-py.
Side by side
| Metric | alpaca-py | dhanhq | schwab-py | smartapi-python |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 82 | Pythie’s Index: 49 | Pythie’s Index: 37 |
| Verdict | Actively maintained | Actively maintained | Maintained | Low maintenance activity |
| Downloads / month | 1.4M | 56.3K | 129.5K | 86.1K |
| Downloads, month over month | +17% | -18% | -9% | -11% |
| GitHub stars | 1.6K | – | 491 | 5 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 46 | 4 | 7 | 9 |
| Last release | Nov 5, 2026 | Nov 26, 2026 | Nov 15, 2026 | Feb 7, 2025 |
| Releases, 12 months | 5 | 5 | 1 | 0 |
| Weeks with commits | 22 / 26 | – | 3 / 26 | – |
| Recent contributors | 16 | – | 7 | – |
| First release | Apr 2022 | Sep 2022 | May 2024 | Oct 2020 |
| Python versions | 3.10 – 3.15 | – | – | 3.5 – 3.7 |
| License | Apache-2.0 | MIT | MIT | unknown |
| 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.