ryanmcgrath/twython
Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6362
- days_rel: n/a
- days_push: 1495
- n_releases_24m: 0
Adoption not part of the score
1860 stars · 391 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Twython is a pure Python library wrapping the Twitter API, supporting both the standard REST endpoints and the streaming API, with OAuth 1 and OAuth 2 authentication. It provides easy access to user data, timelines, direct messages, and media uploading.
Use cases
- post tweets from a python script
- stream tweets in real time
- fetch a user's twitter timeline
- upload images to twitter
- sign in users with twitter oauth
- search tweets via the twitter api
When to choose
- you need a lightweight, pure-Python Twitter API client
- you want both REST and streaming API support in one library
- you need OAuth 1 user authentication or OAuth 2 app-only auth for Twitter
When to avoid
- you need a library with active maintenance and recent Twitter API v2 support
- you need support for other social platforms
- your project requires guaranteed long-term updates, as the project has put out a call for maintainers
Facets
library · maturity maintenance
http-client auth streaming apis social-media web-development python cross-platform twitter-api oauth social-media-api api-wrapper
2 sources
- readme: https://github.com/ryanmcgrath/twython · fetched 2026-08-28 · 8fe029ff6629
- registry_pypi: https://pypi.org/pypi/twython/json · fetched 2026-08-29 · 50078413862e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ryanmcgrath/twython | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="ryanmcgrath/twython")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem