Skip to main content

BAIChat API Python

Installation

Pypi

pip install baichat-py

Codeberg

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

Usage

from baichat_py import Completion

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

Metadata

Release files for baichat-py 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baichat-py 0.3.0
File Size Uploaded
baichat_py-0.3.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for baichat-py 0.3.0
File Interpreter ABI Platform
baichat_py-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / baichat_py-0.3.0.tar.gz

Download URL baichat_py-0.3.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0a411ec897e6b1ffde175c40481886cbae2adca8e68eeaa209b693851c959715
BLAKE2b-256 checksum
How to use checksums
c8011d4e827b5a3555d9c9a5c035d00a9d0bb84d121b6625772abbc09e35574a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.11 Linux/6.1.29

Release files / baichat_py-0.3.0-py3-none-any.whl

Download URL baichat_py-0.3.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa641939844ea364dcee0c4f40cdca2c42b7d6ed5f0cb360c29f7e35300259d0
BLAKE2b-256 checksum
How to use checksums
6fa9aad1eb9134fe0574b281ad1308fe029cf4ec1ba49ba0a061a18dd3ced789
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.11 Linux/6.1.29

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page