Comparison
python-twitter vs twython vs xdk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python wrapper around the Twitter API
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install python-twitterActively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install twythonPython SDK for the X API
Maintained. Last release 2 days ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install xdkIn short
- python-twitter is archived: avoid it for new projects.
- twython looks abandoned: avoid it for new projects.
- xdk is the most used: 274.6K downloads a month, 1.9× more than python-twitter.
- xdk also has the best Pythie’s Index (60).
- xdk is the newcomer: first released Sep 2025.
- Safe default for a new project: xdk.
Side by side
| Metric | python-twitter | twython | xdk |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 4 | 19 |