Comparison
python-twitter vs twikit 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-twitterTwitter API wrapper for python with **no API key required**.
Low maintenance activity. Last release 22 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install twikitPython 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.
- xdk is the most used: 254.9K downloads a month, 1.9× more than twikit.
- xdk also has the best Pythie’s Index (58).
- xdk is the newcomer: first released Sep 2025.
Side by side
| Metric | python-twitter | twikit | xdk |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 4 | Pythie’s Index: 20 | Pythie’s Index: 58 |
| Verdict | Archived | Low maintenance activity | Maintained |
| Downloads / month | 128K | 131.5K | 254.9K |
| Downloads, month over month | +13% | +9% | -37% |
| GitHub stars | 3.4K | 4.8K | 50 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 43 | 12 | 0 |
| Last release | Nov 3, 2018 | Feb 7, 2025 | Nov 26, 2026 |
| Releases, 12 months | 0 | 0 | 25 |
| Weeks with commits | 0 / 26 | 0 / 26 | 3 / 26 |
| Recent contributors | 31 | 5 | 1 |
| First release | Sep 2007 | Jan 2024 | Sep 2025 |
| Python versions | 3.6 | – | 3.8 – 3.12 |
| License | Apache-2.0 | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.