Skip to main content

Python module for interacting with the OpenAI GPT-3.5 Turbo API without authentication.

Project description

OpynGPT is a Python module that facilitates interactions with the OpenAI GPT-3.5 Turbo API to generate natural language responses based on user input. Notably, OpynGPT operates without requiring authentication or API keys, providing a straightforward and accessible tool for natural language generation.

Prerequisites

Before using OpynGPT, ensure you have the following:

  • Python 3.x installed

  • The requests library installed. You can manually install it using:

    pip install requests

Installation

You can install OpynGPT using pip:

pip install opyngpt

Usage

  1. Import the prompt function from OpynGPT:

from opyngpt import prompt
  1. Use the prompt function to generate natural language responses:

user_input = "Write a factorial code in python."
response = prompt(user_input)

print(response)

Features

  • Sends user input to the GPT-3.5 Turbo API and receives natural language responses.

  • No authentication or API keys required, making it hassle-free to use.

  • Inspired by [tgpt](https://github.com/aandrew-me/tgpt/), OpynGPT utilizes a pool of users’ data and the API from fakeopen.com.

Contributing

If you’d like to contribute to OpynGPT, feel free to fork the repository and submit a pull request.

License

This project is licensed under the GPLv3 License - check out [this website](https://www.tldrlegal.com/license/gnu-general-public-license-v3-gpl-3) for more information.

GitHub Repository

GitHub Repository

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

opyngpt-0.1.4.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

opyngpt-0.1.4-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

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