Skip to main content

❄️ Python Package To Access GPT-3.5 Free Model

Project description

ProGPT - Free GPT-3.5 API

PyPI PyPI - Python Version Downloads Twitter Share

I reverse engineered ChatGPT 3.5's Free Web API and put it all together into this simple python package.

It supports both Generative & Conversation mode.

🌟 Just a minute!

ProGPT is still in it's early stages and requires your support. Don't forget to give a star. Thank you!

Installation

$ pip install progpt

Get your session_token

  1. Log in to chat.openai.com on desktop.
  2. Open DevTools by pressing F12 or Right Click > Inspect.
  3. Click on the Application tab.
  4. Under the Cookies section, tap https://chat.openai.com.
  5. Copy the value of __Secure-next-auth.session-token from the list. This is your session_token.

🤖 Generative

Used for independent prompts.

from ProGPT import Generative

generative = Generative(session_token)  # See above on how to get session_token

print(generative.prompt("hello"))

💬 Conversation

Just like chat. AI will remember your past messages as well in the conversation.

from ProGPT import Conversation

conversation = Conversation(session_token)  # See above on how to get session_token

print(conversation.send("hello"))
print(conversation.send("how's your day going?"))
print(conversation.send("i want to ask something..."))

⚡ Rate Limit

Nothing comes free of charge. While using this library is free, OpenAI does put some rate limits per hour when you ask questions too fast. You can use multiple accounts if that's a problem.

Support

Want to support this project?

Legal

This is a third party library and not associated with OpenAI or ChatGPT. It is strictly for educational purposes only. You are liable for all the actions you take.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ProGPT-1.0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

ProGPT-1.0.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file ProGPT-1.0.3.tar.gz.

File metadata

  • Download URL: ProGPT-1.0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ProGPT-1.0.3.tar.gz
Algorithm Hash digest
SHA256 31692283fd462d4a930370504ee1d9256b0d8ba4369b01092e56e8bc970eab4a
MD5 1022dc6df4148fa6b6709e7b955ba81e
BLAKE2b-256 51b239b266979309db71ba16a2381ef0a1e7bcb92334272a6677997cb15a47cc

See more details on using hashes here.

File details

Details for the file ProGPT-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: ProGPT-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ProGPT-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3d1a9fe42213b082435734c63fa98e3b0ae71fdef1ad4ac84b224df4abdcb4fe
MD5 f8d799906a525ccfc383fd81e2b28ef4
BLAKE2b-256 5aada00bb42fc7b3174bd934dc2579489f499330af64ed504736672ec3cfc1a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page