Comparison
dukascopy-python vs finnhub-python vs twelvedata vs yfinance
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Download and stream historical price data for variety of financial instruments (Forex, Commodities and Indices) from Dukascopy Bank SA.
Maintained. Last release 2 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install dukascopy-pythonFinnhub API
Actively maintained. Last release 4 weeks ago. A safe choice.
pip install finnhub-pythonPython 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 twelvedataDownload market data from Yahoo! Finance API
Actively maintained. Last release 4 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install yfinanceIn short
- yfinance is the most used: 16.4M downloads a month, 79× more than finnhub-python.
- Maintenance is comparable: yfinance 89, finnhub-python 82, dukascopy-python 55, twelvedata 38 on Pythie’s Index.
- dukascopy-python is growing fastest: downloads +22% over the last month.
- dukascopy-python is the newcomer: first released Apr 2025.
- Safe default for a new project: yfinance.
Side by side
| Metric | dukascopy-python | finnhub-python | twelvedata | yfinance |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 55 | 82 |