Comparison
dhanhq vs ib_async vs ibapi vs longbridge
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 dhanhqPython sync/async framework for Interactive Brokers API
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install ib-asyncOfficial 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 longbridgeIn short
- ibapi looks abandoned: avoid it for new projects.
- ib_async is the most used: 745K downloads a month, 6.3× more than longbridge.
- longbridge is better maintained: Pythie’s Index 91 against 37.
- longbridge is growing fastest: downloads +23% over the last month.
Side by side
| Metric | dhanhq | ib_async | ibapi | longbridge |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 37 | Pythie’s Index: 19 | Pythie’s Index: 91 |
| Verdict | Actively maintained | Low maintenance activity | Likely abandoned | Actively maintained |
| Downloads / month | 56.3K | 745K | 101.9K | 117.4K |
| Downloads, month over month | -18% | -5% | -1% | +23% |
| GitHub stars | – | 1.8K | – | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 28 | 15 | 1 |
| Last release | Nov 26, 2026 | Dec 8, 2025 | Dec 6, 2020 | Nov 30, 2026 |
| Releases, 12 months | 5 | 1 | 0 | 12 |
| Weeks with commits | – | 0 / 26 | – | 26 / 26 |
| Recent contributors | – | 6 | – | 8 |
| First release | Sep 2022 | Mar 2024 | Dec 2020 | Aug 2023 |
| Python versions | – | 3.10 – 3.14 | 3.3 – 3.9 | – |
| License | MIT | non-standard | non-standard | Apache-2.0 |
| 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.