Comparison
python-twitter vs tweepy 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-twitterLibrary for accessing the X API (Twitter)
Maintained. Last release 5 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install tweepyPython SDK for the X API
Maintained. Last release 4 days ago, commits in 3 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.
- tweepy is the most used: 3.3M downloads a month, 13× more than xdk.
- xdk is better maintained: Pythie’s Index 58 against 43.
- xdk is the newcomer: first released Sep 2025.
Side by side
| Metric | python-twitter | tweepy | xdk |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 4 | 43 |