yagpt-py


Nameyagpt-py JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/Misfit-s/yagpt_py
Summaryalpha version of YandexGPT package for Python.
upload_time2023-12-26 23:48:30
maintainer
docs_urlNone
authorDanila Suravenkov
requires_python>=3.6
license
keywords yandex api ai gpt language model
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # YandexGPT Python Library #

### What is this? 

### This library allows you work with YandexGPT using Python and implement it to your projects.

## Setup 

```Bash
pip install yagpt-py
```

## Usage 

```Python
import os
from yagpt_py.authData import AuthData
from yagpt_py.messages import Messages
from yagpt_py.response import Response

token = AuthData.Token = os.getenv('IAM_token')
folder_id = AuthData.CatalogID = os.getenv('catalog_id')

message = Messages.user = 'Tell me poem about misfit developer.'

response = Response(token, folder_id, message)

print(response.getResponse())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Misfit-s/yagpt_py",
    "name": "yagpt-py",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Yandex API AI GPT language model",
    "author": "Danila Suravenkov",
    "author_email": "keepwannadie@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/eb/d9/12859c140334729d1140dc63d6f122168cb2a8dc30d2143ce8c83f661a83/yagpt_py-0.0.5.tar.gz",
    "platform": null,
    "description": "# YandexGPT Python Library #\r\n\r\n### What is this? \r\n\r\n### This library allows you work with YandexGPT using Python and implement it to your projects.\r\n\r\n## Setup \r\n\r\n```Bash\r\npip install yagpt-py\r\n```\r\n\r\n## Usage \r\n\r\n```Python\r\nimport os\r\nfrom yagpt_py.authData import AuthData\r\nfrom yagpt_py.messages import Messages\r\nfrom yagpt_py.response import Response\r\n\r\ntoken = AuthData.Token = os.getenv('IAM_token')\r\nfolder_id = AuthData.CatalogID = os.getenv('catalog_id')\r\n\r\nmessage = Messages.user = 'Tell me poem about misfit developer.'\r\n\r\nresponse = Response(token, folder_id, message)\r\n\r\nprint(response.getResponse())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "alpha version of YandexGPT package for Python.",
    "version": "0.0.5",
    "project_urls": {
        "GitHub": "https://github.com/Misfit-s/yagpt_py",
        "Homepage": "https://github.com/Misfit-s/yagpt_py"
    },
    "split_keywords": [
        "yandex",
        "api",
        "ai",
        "gpt",
        "language",
        "model"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d75a9c1e4cc693bfe01122cb3ace365bb4d05d41bc7f2e0d60cd97c46ed2d114",
                "md5": "bc19878c34e3c26bc82cb4bcc7a30391",
                "sha256": "e4d05532724a2048fa05167f2b6b588ffae8ca46640b12a77451a218c4866496"
            },
            "downloads": -1,
            "filename": "yagpt_py-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc19878c34e3c26bc82cb4bcc7a30391",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3410,
            "upload_time": "2023-12-26T23:48:28",
            "upload_time_iso_8601": "2023-12-26T23:48:28.869327Z",
            "url": "https://files.pythonhosted.org/packages/d7/5a/9c1e4cc693bfe01122cb3ace365bb4d05d41bc7f2e0d60cd97c46ed2d114/yagpt_py-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ebd912859c140334729d1140dc63d6f122168cb2a8dc30d2143ce8c83f661a83",
                "md5": "2e4f9d5dc853c3c8428b0f2de2c9d911",
                "sha256": "6d2fc19ffa62ef3cba27d5992f5e860773ca5a18081f5c997b84e74b2c6f3dd1"
            },
            "downloads": -1,
            "filename": "yagpt_py-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "2e4f9d5dc853c3c8428b0f2de2c9d911",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2660,
            "upload_time": "2023-12-26T23:48:30",
            "upload_time_iso_8601": "2023-12-26T23:48:30.456886Z",
            "url": "https://files.pythonhosted.org/packages/eb/d9/12859c140334729d1140dc63d6f122168cb2a8dc30d2143ce8c83f661a83/yagpt_py-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-26 23:48:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Misfit-s",
    "github_project": "yagpt_py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "yagpt-py"
}
        
Elapsed time: 0.23488s