suvvyapi


Namesuvvyapi JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/suvvyai/suvvyapi
SummaryA Python API wrapper for Suvvy AI API
upload_time2023-12-26 17:07:03
maintainer
docs_urlNone
authorRoman Poltorabatko
requires_python>=3.10
licenseMIT
keywords python wrapper chatgpt suvvy ai suvvyai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">

# SuvvyAPI

[![Supported Python versions](https://img.shields.io/pypi/pyversions/suvvyapi.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/suvvyapi)
[![PyPI version](https://img.shields.io/pypi/v/suvvyapi.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/suvvyapi)
[![PyPI downloads](https://img.shields.io/pypi/dm/suvvyapi.svg)](https://pypi.org/project/suvvyapi)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)

</div>

## About SuvvyAPI 📘

SuvvyAPI is an asynchronous Python API wrapper built on top of `httpx` and `pydantic` for the Suvvy AI API, offering an easy and Pythonic way to interact with the Suvvy AI services.

## Installation 🛠️

To install SuvvyAPI, simply use pip:

```bash
pip install -U suvvyapi
```

## Usage 🚀

### Synchronous Usage

You can use SuvvyAPI synchronously as follows:

```python
from suvvyapi import Suvvy, Message

suvvy = Suvvy("YOUR_TOKEN")
history = suvvy.as_history("random_id")
response = history.predict_add_message(Message(text="Say hello to Python!"))
```
*Note: Replace "YOUR_TOKEN" with your actual token from [Suvvy AI](https://home.suvvy.ai/).*

### [More in documentation](https://github.com/suvvyai/suvvyapi/wiki)

## Troubleshooting 💡

For issues and troubleshooting, please refer to the [issues section](https://github.com/suvvyai/suvvyapi/issues) on the GitHub repository.

## Contribution 👥

Contributions are welcome. Please fork the repository, make your changes, and submit a pull request.

## License 📄

SuvvyAPI is released under the [MIT License](https://github.com/suvvyai/suvvyapi/blob/main/LICENSE).
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/suvvyai/suvvyapi",
    "name": "suvvyapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "python,wrapper,chatgpt,suvvy,ai,suvvyai",
    "author": "Roman Poltorabatko",
    "author_email": "barabum@duck.com",
    "download_url": "https://files.pythonhosted.org/packages/3b/2b/d4448225c3973e556df0b2bda86f0a46088bb290c2183f27f2b65af81dc5/suvvyapi-1.0.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n\n# SuvvyAPI\n\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/suvvyapi.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/suvvyapi)\n[![PyPI version](https://img.shields.io/pypi/v/suvvyapi.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/suvvyapi)\n[![PyPI downloads](https://img.shields.io/pypi/dm/suvvyapi.svg)](https://pypi.org/project/suvvyapi)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)\n\n</div>\n\n## About SuvvyAPI \ud83d\udcd8\n\nSuvvyAPI is an asynchronous Python API wrapper built on top of `httpx` and `pydantic` for the Suvvy AI API, offering an easy and Pythonic way to interact with the Suvvy AI services.\n\n## Installation \ud83d\udee0\ufe0f\n\nTo install SuvvyAPI, simply use pip:\n\n```bash\npip install -U suvvyapi\n```\n\n## Usage \ud83d\ude80\n\n### Synchronous Usage\n\nYou can use SuvvyAPI synchronously as follows:\n\n```python\nfrom suvvyapi import Suvvy, Message\n\nsuvvy = Suvvy(\"YOUR_TOKEN\")\nhistory = suvvy.as_history(\"random_id\")\nresponse = history.predict_add_message(Message(text=\"Say hello to Python!\"))\n```\n*Note: Replace \"YOUR_TOKEN\" with your actual token from [Suvvy AI](https://home.suvvy.ai/).*\n\n### [More in documentation](https://github.com/suvvyai/suvvyapi/wiki)\n\n## Troubleshooting \ud83d\udca1\n\nFor issues and troubleshooting, please refer to the [issues section](https://github.com/suvvyai/suvvyapi/issues) on the GitHub repository.\n\n## Contribution \ud83d\udc65\n\nContributions are welcome. Please fork the repository, make your changes, and submit a pull request.\n\n## License \ud83d\udcc4\n\nSuvvyAPI is released under the [MIT License](https://github.com/suvvyai/suvvyapi/blob/main/LICENSE).",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python API wrapper for Suvvy AI API",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/suvvyai/suvvyapi",
        "Repository": "https://github.com/suvvyai/suvvyapi"
    },
    "split_keywords": [
        "python",
        "wrapper",
        "chatgpt",
        "suvvy",
        "ai",
        "suvvyai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5573ef7ed7a01f9370443c7f63095506515f251afd446aa07fae07ef905a5199",
                "md5": "afff9bd7b7119fc97d4fdc25e0ef74fc",
                "sha256": "3083ba879c05748bb0dadc8d449d33761aa7476749212047bcd58ea9f8172003"
            },
            "downloads": -1,
            "filename": "suvvyapi-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "afff9bd7b7119fc97d4fdc25e0ef74fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 11692,
            "upload_time": "2023-12-26T17:07:00",
            "upload_time_iso_8601": "2023-12-26T17:07:00.747585Z",
            "url": "https://files.pythonhosted.org/packages/55/73/ef7ed7a01f9370443c7f63095506515f251afd446aa07fae07ef905a5199/suvvyapi-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b2bd4448225c3973e556df0b2bda86f0a46088bb290c2183f27f2b65af81dc5",
                "md5": "6318a69db03a569e4e12b6eae4bb5166",
                "sha256": "9b10bdfb58b7b648a42dc7c0c73ef29649bbfd741b196ebb344850a447f5e142"
            },
            "downloads": -1,
            "filename": "suvvyapi-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "6318a69db03a569e4e12b6eae4bb5166",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 25100,
            "upload_time": "2023-12-26T17:07:03",
            "upload_time_iso_8601": "2023-12-26T17:07:03.036774Z",
            "url": "https://files.pythonhosted.org/packages/3b/2b/d4448225c3973e556df0b2bda86f0a46088bb290c2183f27f2b65af81dc5/suvvyapi-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-26 17:07:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "suvvyai",
    "github_project": "suvvyapi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "suvvyapi"
}
        
Elapsed time: 0.21197s