# tweepy/tweepy

Twitter for Python!

Repository: https://github.com/tweepy/tweepy
Canonical: https://ross.abutalabs.com/products/tweepy
Homepage: https://www.tweepy.org
Language: Python
License: MIT
License Family: permissive
Topics: python, twitter, twitter-api
Last push: 2026-07-02T19:10:57+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 59, longevity 100
- inputs: {"age_days": 6267, "days_push": 62, "days_rel": 62, "gap_med": 266.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11175, forks 4529 (observed 2026-08-28T04:10:46.291581+00:00)

## What it is
Tweepy is an open-source Python library for accessing the Twitter/X API. It wraps the API's endpoints in user-friendly Python functions, supporting both synchronous and asynchronous usage.

## Use cases
- post tweets from a python script
- read a user's timeline with the twitter api
- stream tweets in real time
- authenticate with twitter using oauth
- build a twitter bot in python
- search recent tweets via the x api

## When to choose
- you want to interact with the Twitter/X API from Python with a well-maintained wrapper
- you need OAuth handling and API v1.1/v2 support out of the box
- you want async support for streaming or concurrent API calls

## When to avoid
- you work in a language other than Python
- you need a general-purpose HTTP client rather than a Twitter-specific wrapper
- you are unwilling to deal with Twitter/X API pricing tiers and access requirements

## Facets
- artifact type: library
- maturity: active
- function: http-client, sdk
- domain: apis, social-media, developer-tools
- platform: python, cross-platform
- tags: twitter, x-api, social-media-api, api-client, oauth, automation

## Member repositories
- tweepy/tweepy (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.291581+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:16:43.513389+00:00, confidence not recorded.
  - readme: https://github.com/tweepy/tweepy (fetched 2026-08-28T04:10:46.291581+00:00, sha 1940718f7560)
  - homepage: https://www.tweepy.org (fetched 2026-08-29T08:15:09.808909+00:00, sha 9a847c70dcf1)
  - registry_pypi: https://pypi.org/pypi/tweepy/json (fetched 2026-08-29T08:15:09.818478+00:00, sha c07b83f1896c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
