Skip to main content

A lightweight Python library to interact with the Gethonis API. Gethonis combines the best of OpenAI's ChatGPT responses with DeepSeek's capabilities for an enhanced conversational experience.

Project description

Gethonis API

About

A lightweight Python library to interact with the Gethonis API. Gethonis combines the best of OpenAI's ChatGPT responses with DeepSeek's capabilities for an enhanced conversational experience.

Gethonis Class Arguments

Basic Example

import gethonis as geth

bot = geth.Gethonis("some token", "gethonis", False, "http://ip:port")
message = "Test Meessage"
print(bot.get_message(message))

Models:

  • gethonis
  • openai
  • deepseek

Class Example

class Gethonis:
    """
    The python client for API interaction 
    Args:
        token (str): The token for authentication
        model (str): The AI model wanted
        stream (bool): If the user wants streaming response or not
        base_url (str): The url that the API runs operates on.
    """
    def get_message(self, message):
        """
        The user sends a message and the API responds.
            
        Args:
            message (str): The message that is sent by the user
                
        Returns:
            dictionary or requests.Response: As response from the API.
        """

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

gethonis-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

gethonis-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file gethonis-0.0.1.tar.gz.

File metadata

  • Download URL: gethonis-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gethonis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 423793ae1040d816d6869cefe23b3af049f1a888f8e1029768df9cfd84d374c5
MD5 94d499e4fa72fd3d528320ce73250e0b
BLAKE2b-256 d069a85f15005668cfeba682a08770d741f36efdf8d992726ee34509164782e1

See more details on using hashes here.

File details

Details for the file gethonis-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gethonis-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gethonis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e950c0ab18990782a47e505647d8ca57e218b4548428e4a3e9cb87c0378f7cd9
MD5 9d1973a2b0fe8a61d09b0fb1c01a6d3d
BLAKE2b-256 f1fa719318ebfa2ccb7317b363e27fc32f45ae2bde1d7cab9a8fcbc6c0badaee

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