# rawandahmad698/PyChatGPT

⚡️ Python client for the ChatGPT API with, conversation tracking, proxy support and more.

Repository: https://github.com/rawandahmad698/PyChatGPT
Canonical: https://ross.abutalabs.com/products/pychatgpt
Language: Python
License: MIT
License Family: permissive
Topics: chatgpt, openai, python
Last push: 2026-07-19T08:13:04+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 35, longevity 97
- inputs: {"age_days": 1367, "days_push": 45, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4183, forks 428 (observed 2026-08-28T04:08:38.495951+00:00)

## What it is
PyChatGPT is a Python client and CLI for ChatGPT that reverse-engineers the ChatGPT web interface, handling automatic login, access token retrieval and refresh, conversation tracking, and proxy support. It wraps the unofficial web API rather than the official OpenAI API.

## Use cases
- chat with chatgpt from the terminal in python
- save and resume chatgpt conversations across sessions
- use chatgpt through a proxy without a browser
- automatically get and refresh a chatgpt access token
- build a python script that talks to chatgpt

## When to choose
- you specifically need the old reverse-engineered ChatGPT web session flow with token auto-refresh
- you want conversation persistence and proxy support in a lightweight Python client

## When to avoid
- you want the official OpenAI API - use the official openai Python package instead
- you need a maintained, reliable client - this project targets a deprecated unofficial endpoint and is no longer maintained

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, chatbot, llm-inference
- domain: large-language-models, chatbots, developer-tools
- platform: python, cli, cross-platform
- tags: chatgpt, openai, unofficial-api, conversation-tracking, proxy-support, access-token, command-line

## Member repositories
- rawandahmad698/PyChatGPT (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:38.495951+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-29T18:22:38.923600+00:00, confidence not recorded.
  - readme: https://github.com/rawandahmad698/PyChatGPT (fetched 2026-08-28T04:08:38.495951+00:00, sha f681dce25fb2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
