Skip to main content

Python client for the ProxyLLM OpenAI-compatible gateway.

Project description

ProxyLLM Python SDK

from proxyllm import ProxyLLMClient

client = ProxyLLMClient(api_key="pk_...")

completion = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Say hello."}],
)

Set PROXYLLM_BASE_URL to override the default https://proxyllm.ericslab.ai/v1.

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

proxyllm_sdk-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

proxyllm_sdk-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file proxyllm_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: proxyllm_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for proxyllm_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c3980ae22892f618438ff2ce9872cab55ad54188e4301ff2d5e8eaca37a3070e
MD5 98733973d54d093dd2c43f27738d3a62
BLAKE2b-256 f3f03653a314da5713d39bcebaec81bb97946b91974d2c185606afc5e1eac608

See more details on using hashes here.

File details

Details for the file proxyllm_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: proxyllm_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for proxyllm_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84df8658ef1a69b434e321838994cdea8fc7c11f9e0ed237b52f210bff41daa2
MD5 932c0292817ba43a66277e2b65986441
BLAKE2b-256 7df8e2aec7265937b01f4a62beb69899815befe3dd023039bf9cc06d60b6897f

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