Skip to main content

A helper library for interacting with ChatGPT.

Project description

GPT_Helper

A lightweight Python helper library that simplifies interacting with ChatGPT (OpenAI API).
It provides a clean interface for sending prompts, formatting responses, summarizing text, and maintaining simple conversation history.


🚀 Features

  • ChatGPTClient — send prompts easily using the official OpenAI Chat Completions API.
  • summarize_text() — generate a neat summary of long text.
  • format_response() — clean & normalize ChatGPT output.
  • ConversationHistory — minimal in-memory storage for prompts & responses.
  • Fully documented & ready for PyPI packaging.

📦 Installation

Local development install

From the project root:

pip install -e .

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

gpt_helper-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpt_helper-0.1.0-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gpt_helper-0.1.0.tar.gz.

File metadata

  • Download URL: gpt_helper-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for gpt_helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ec7d15328e3f3a85d85f2175b09b8591e5d2c89f2ae677c1fe34db5e26ce1b8
MD5 112f8aaa52fa65d2cfd53f9c26e27dfc
BLAKE2b-256 3fd49dc690f1dd6257664db939207c1f3f5ceae227d3178541ca1d5681d065cd

See more details on using hashes here.

File details

Details for the file gpt_helper-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gpt_helper-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for gpt_helper-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3da53cff933cc5f0d74163ac5e464ea7f8ab88fc5ff614c7256865eb12c8964c
MD5 f82e0147e7132d446a5feeda130db944
BLAKE2b-256 bd8bc352bae0b53c800631d5171f6ac738b1f2303f07b9b2eddec2f7ba3fd90d

See more details on using hashes here.

Supported by

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