baichat-py


Namebaichat-py JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://codeberg.org/Bavarder/baichat-py
Summary
upload_time2023-05-28 21:59:48
maintainer0xMRTT
docs_urlNone
author0xMRTT
requires_python>=3.10,<4.0
licenseGPL-3.0-or-later
keywords openai gpt3 baichat chat
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BAIChat API Python

## Installation

### Pypi

``` shell
pip install baichat-py
```

### Codeberg

``` shell
pip install --index-url https://codeberg.org/api/packages/Bavarder/pypi/simple/ baichat-py
```

## Usage

``` python 
from baichat_py import Completion

prompt = "Hello, world!"
for token in Completion.create(prompt):
    print(token, end="", flush=True)
    print("")
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://codeberg.org/Bavarder/baichat-py",
    "name": "baichat-py",
    "maintainer": "0xMRTT",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "0xMRTT@proton.me",
    "keywords": "openai,gpt3,baichat,chat",
    "author": "0xMRTT",
    "author_email": "0xMRTT@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/c8/01/1d4e827b5a3555d9c9a5c035d00a9d0bb84d121b6625772abbc09e35574a/baichat_py-0.3.0.tar.gz",
    "platform": null,
    "description": "# BAIChat API Python\n\n## Installation\n\n### Pypi\n\n``` shell\npip install baichat-py\n```\n\n### Codeberg\n\n``` shell\npip install --index-url https://codeberg.org/api/packages/Bavarder/pypi/simple/ baichat-py\n```\n\n## Usage\n\n``` python \nfrom baichat_py import Completion\n\nprompt = \"Hello, world!\"\nfor token in Completion.create(prompt):\n    print(token, end=\"\", flush=True)\n    print(\"\")\n```",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "",
    "version": "0.3.0",
    "project_urls": {
        "Bug Tracker": "https://codeberg.org/Bavarder/baichat-py/issues",
        "Documentation": "https://codeberg.org/Bavarder/baichat-py",
        "Homepage": "https://codeberg.org/Bavarder/baichat-py",
        "Repository": "https://github.com/Bavarder/baichat-py"
    },
    "split_keywords": [
        "openai",
        "gpt3",
        "baichat",
        "chat"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6fa9aad1eb9134fe0574b281ad1308fe029cf4ec1ba49ba0a061a18dd3ced789",
                "md5": "2040f50e7715b574a603a50ba081086c",
                "sha256": "aa641939844ea364dcee0c4f40cdca2c42b7d6ed5f0cb360c29f7e35300259d0"
            },
            "downloads": -1,
            "filename": "baichat_py-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2040f50e7715b574a603a50ba081086c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 2815,
            "upload_time": "2023-05-28T21:59:47",
            "upload_time_iso_8601": "2023-05-28T21:59:47.348724Z",
            "url": "https://files.pythonhosted.org/packages/6f/a9/aad1eb9134fe0574b281ad1308fe029cf4ec1ba49ba0a061a18dd3ced789/baichat_py-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8011d4e827b5a3555d9c9a5c035d00a9d0bb84d121b6625772abbc09e35574a",
                "md5": "7eac7a69195b76d706cca96bf8b08d80",
                "sha256": "0a411ec897e6b1ffde175c40481886cbae2adca8e68eeaa209b693851c959715"
            },
            "downloads": -1,
            "filename": "baichat_py-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7eac7a69195b76d706cca96bf8b08d80",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 2565,
            "upload_time": "2023-05-28T21:59:48",
            "upload_time_iso_8601": "2023-05-28T21:59:48.894883Z",
            "url": "https://files.pythonhosted.org/packages/c8/01/1d4e827b5a3555d9c9a5c035d00a9d0bb84d121b6625772abbc09e35574a/baichat_py-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-28 21:59:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Bavarder",
    "github_project": "baichat-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "baichat-py"
}
        
Elapsed time: 0.08124s