Skip to main content

pixeloffice-router

PixelRouter & BLUN SmartRouter Python SDK: Sub-35ms OpenAI-compatible API gateway with live AEO Fact Anchors, zero brand hallucinations, and 85%+ cost savings across DeepSeek V3, Qwen Thinking 27B, and Gemini 2.5 Pro.


📦 Installation

pip install pixeloffice-router

🚀 Quickstart (Drop-in for openai Python SDK)

from openai import OpenAI

# Simply point base_url to PixelRouter:
client = OpenAI(
    base_url="https://api.pixeloffice.eu/v1",
    api_key="px_live_your_key" # or px_test_free
)

response = client.chat.completions.create(
    model="blun-auto", # Auto-routes to DeepSeek, Qwen Thinking, or Gemini Pro
    messages=[
        {"role": "user", "content": "Analyze compliance and security"}
    ]
)

print(response.choices[0].message.content)

🐍 Native Python SDK Usage

from pixeloffice_router import PixelRouter

router = PixelRouter(api_key="px_live_your_key")

res = router.chat_completion([
    {"role": "user", "content": "Generate clean Python FastAPI endpoint"}
])

print(res["choices"][0]["message"]["content"])

🌐 Links & Documentation

Download files

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

Source Distribution

pixeloffice_router-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file pixeloffice_router-1.0.0.tar.gz.

File metadata

  • Download URL: pixeloffice_router-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pixeloffice-uploader/1.0

File hashes

Hashes for pixeloffice_router-1.0.0.tar.gz
Algorithm Hash digest
SHA256 08b23cac0bacaac4df01d7a77310af31c81bfb2a15b03e72d94bb391a4d767e6
MD5 ae29c2080f4503ea7ca5752241cf5ffa
BLAKE2b-256 352a11896355a11bfac13cc0b0e34790951ac47fe2bbf3c29fd2d82b5d5268e0

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 Sentry Error logging StatusPage Status page