chatgpt-browser
Unofficial Python client for chatgpt.com. It opens Chrome, sends a prompt, and returns the reply. No official API key is required.
Install
pip install chatgpt-browser
Python 3.8+ and Google Chrome are required.
From source:
pip install .
Usage
from chatgpt_browser import chatgpt
print(chatgpt("Tell me a short quote."))
print(chatgpt("What is the capital of Australia?", search=True))
search=True tries to turn on ChatGPT web search. verbose=False hides progress logs.
Notes
- Chrome stays in the background. A display is required; ChatGPT blocks true headless Chrome.
- Desktop Linux works with a graphical session. Servers without
DISPLAYneed a virtual display such as Xvfb. - This is unofficial and can break when the ChatGPT website changes. Use it in line with OpenAI's terms.
License
MIT. See LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatgpt_browser-1.0.0.tar.gz.
File metadata
- Download URL: chatgpt_browser-1.0.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c441546b68d3a19f05f6cb63130a3560d9924b0c83c343e0c2ede6601653365b
|
|
| MD5 |
46ac19f4a53a75784d2c193452fb070b
|
|
| BLAKE2b-256 |
ff43ff63b526a6129347ca4ce132ade379b3424edb0b33c10dc87068ebd0b6c8
|
Provenance
The following attestation bundles were made for chatgpt_browser-1.0.0.tar.gz:
Publisher:
python-publish.yml on Mahdiglm/chatgpt-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatgpt_browser-1.0.0.tar.gz -
Subject digest:
c441546b68d3a19f05f6cb63130a3560d9924b0c83c343e0c2ede6601653365b - Sigstore transparency entry: 2649949932
- Sigstore integration time:
-
Permalink:
Mahdiglm/chatgpt-browser@03b596805a9a61daa2bb31c54bbbfab896fa2e7d -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/Mahdiglm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@03b596805a9a61daa2bb31c54bbbfab896fa2e7d -
Trigger Event:
release
-
Statement type:
File details
Details for the file chatgpt_browser-1.0.0-py3-none-any.whl.
File metadata
- Download URL: chatgpt_browser-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c21951f779d74b66f61e6efa49ea8e12f7be6372156be4142df2f0fd42025d1f
|
|
| MD5 |
439b92c9dcf39fc2482043e1eac3f9e8
|
|
| BLAKE2b-256 |
fa5e5c52564250551dbf6c6a353886696ff9391dea4d47685142ccfd77e10026
|
Provenance
The following attestation bundles were made for chatgpt_browser-1.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on Mahdiglm/chatgpt-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatgpt_browser-1.0.0-py3-none-any.whl -
Subject digest:
c21951f779d74b66f61e6efa49ea8e12f7be6372156be4142df2f0fd42025d1f - Sigstore transparency entry: 2649949995
- Sigstore integration time:
-
Permalink:
Mahdiglm/chatgpt-browser@03b596805a9a61daa2bb31c54bbbfab896fa2e7d -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/Mahdiglm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@03b596805a9a61daa2bb31c54bbbfab896fa2e7d -
Trigger Event:
release
-
Statement type: