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.1.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pixeloffice_router-1.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0

File hashes

Hashes for pixeloffice_router-1.1.0.tar.gz
Algorithm Hash digest
SHA256 dcf78a709f165935ca6f161242b912d10d1b6aeb4b200331950d55f5ba560eb4
MD5 3134c7fc18edb87be2f211f99e978b19
BLAKE2b-256 b25c5be7652fe1941f793748e74321c120dcabbf8c9a67bdd7ab201997232083

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