revChatGPTAuth
Authenticate using your browser's cookies - no need to inconveniently copy and paste from your browser!
Getting Started
Prerequisites
- <= Python 3.9
Installing
pip install revChatGPTAuth
Usage
from revChatGPTAuth import get_access_token
access_token = get_access_token('brave') # your browser
With revChatGPT
The following example codes are from the revChatGPT README.
Basic example (streamed)
from revChatGPT.V1 import Chatbot
from revChatGPTAuth import get_access_token
chatbot = Chatbot(config={
"access_token": get_access_token('brave')
})
print("Chatbot: ")
prev_text = ""
for data in chatbot.ask(
"Hello world",
):
message = data["message"][len(prev_text) :]
print(message, end="", flush=True)
prev_text = data["message"]
print()
Basic example (single result)
from revChatGPT.V1 import Chatbot
from revChatGPTAuth import get_access_token
chatbot = Chatbot(config={
"access_token": get_access_token('brave')
})
prompt = "how many beaches does portugal have?"
response = ""
for data in chatbot.ask(
prompt
):
response = data["message"]
print(response)
Metadata
Release files for revchatgptauth 2023.4.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| revchatgptauth-2023.4.16.tar.gz | 4.0 kB | Without provenance | Details for revchatgptauth-2023.4.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| revchatgptauth-2023.4.16-py3-none-any.whl | Python 3 | none | any | Details for revchatgptauth-2023.4.16-py3-none-any.whl |
Total release size: 10.1 kB
Release files / revchatgptauth-2023.4.16.tar.gz
| Download URL | revchatgptauth-2023.4.16.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a10026844f05bda7b7a4f9ebacf39bcd8bc920f5015f26f60e665afbd5c434f
|
|
BLAKE2b-256 checksum How to use checksums |
719096495d6584ef36841d30475b1e6b8d37b043c47d77610fdc76458d41be1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.16 Linux/5.15.0-1035-azure
|
Release files / revchatgptauth-2023.4.16-py3-none-any.whl
| Download URL | revchatgptauth-2023.4.16-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
181713e369bb2fa6848fedd8c1162caef82392dee6bb43a9c585f98773e08f7b
|
|
BLAKE2b-256 checksum How to use checksums |
59c8ec862786c68fc9bc1704e7b6d22ad37f27f59a98f7dcf04900c0b8ea95dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.16 Linux/5.15.0-1035-azure
|
Security for revchatgptauth 2023.4.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.