Comparison
dhanhq vs ibapi vs longbridge vs smartapi-python
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The official Python client for communicating with the DhanHQ API
Actively maintained. Last release 5 days ago. A safe choice.
$
pip install dhanhqOfficial Interactive Brokers API
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install ibapiA Python library for Longbridge Open API
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install longbridgeAngel Broking openApi integration
Low maintenance activity. Last release 22 months ago. Weaker on recent releases and release cadence.
$
pip install smartapi-pythonIn short
- ibapi looks abandoned: avoid it for new projects.
- longbridge is the most used: 117.4K downloads a month.
- Maintenance is comparable: longbridge 91, dhanhq 82, smartapi-python 37 on Pythie’s Index.
- longbridge is growing fastest: downloads +23% over the last month.
- Safe default for a new project: longbridge.
Side by side
| Metric | dhanhq | ibapi | longbridge | smartapi-python |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 19 |