Skip to main content

Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, or any OpenAI SDK LLM provider.

Project description

unichat

Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, or any OpenAI SDK LLM provider.

Build sequence:

rm -rf dist build *.egg-info
python3 -m build
twine upload dist/*

Usage:

  1. Install the pip package:
pip install unichat
  1. Add the class 'UnifiedChatApi' from module 'unichat' to your application:

  2. [optional] Import MODELS_LIST as well for additional validation

Functionality testing:

Try the eclosed in the source code 'sample_chat.py' file:

python3 sample_chat.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unichat-4.3.4.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unichat-4.3.4-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file unichat-4.3.4.tar.gz.

File metadata

  • Download URL: unichat-4.3.4.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for unichat-4.3.4.tar.gz
Algorithm Hash digest
SHA256 ec3b5014d941d259535115371cb5ff488750316b1c5dd1089e03bdb08e06f86f
MD5 51bf329532047084f138b496b9f2de80
BLAKE2b-256 f3bd16158b8250347ed6b0475c74d0847a836c4bd4c2a82c45ca4fa47319da8b

See more details on using hashes here.

File details

Details for the file unichat-4.3.4-py3-none-any.whl.

File metadata

  • Download URL: unichat-4.3.4-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for unichat-4.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3e3ede272b94abb651c8e4db2c5b75affc98b1ec392dfe20b7929b80336f15d9
MD5 49ccc3af2d5545943577c78c9f05a532
BLAKE2b-256 e8e0c4e013672b63d02fe0a1a34a8caf61543aa71a394261563496348be139b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page