Metadata-Version: 2.4
Name: gethonis
Version: 0.0.1
Summary: 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.
Author-email: Lucian-Florin <lucianfl0rin@protonmail.com>
License: 
        Copyright (c) 2024 Lucian-Florin
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: license-file

# 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

```python
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

```python
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.
        """
```


