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.7.tar.gz (10.8 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.7-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unichat-4.3.7.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for unichat-4.3.7.tar.gz
Algorithm Hash digest
SHA256 fe461b50fe53f790984ed7c5a4e0b5a03606574e0686587d27bffcd447110076
MD5 9bc77d3cda96303f9cd60e0d80f42b46
BLAKE2b-256 3c5d04365fd4e78b6675c2c96a90572f83cb47380be4e616739e9c3d3aab537d

See more details on using hashes here.

Provenance

The following attestation bundles were made for unichat-4.3.7.tar.gz:

Publisher: publish.yml on amidabuddha/unichat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: unichat-4.3.7-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for unichat-4.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad55deecc41841eb1f45a517393f30eb95c12894c1dcd364ba61eea3af9bb8c
MD5 a10b4497bac305cdc72c309c8f4f6cab
BLAKE2b-256 e0f676053614e20264d5e967a65014dd9dbd47d3f4807339d6b8cf1da3f74106

See more details on using hashes here.

Provenance

The following attestation bundles were made for unichat-4.3.7-py3-none-any.whl:

Publisher: publish.yml on amidabuddha/unichat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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