--- id: scale-gp-beta version: "0.5.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # scale-gp-beta — The official Python library for the Scale GP API License: permissive · Maintenance: active · Downloads: 114.3K/mo ## What it is and what it does Scale GP Beta is the official Python SDK for the Scale GP REST API. It provides a type-safe client with full request and response type definitions, supporting both synchronous and asynchronous operations via httpx. The library includes a chat completions interface and a tracing subsystem for instrumenting workflows with spans and traces. The SDK is designed for Python 3.9+ applications that need to interact with Scale GP endpoints. It offers environment-based configuration for multiple deployment targets (production, staging, development, local) and supports custom base URLs for proxied or non-standard deployments. The tracing library enables detailed monitoring by capturing hierarchical span relationships within traces, with automatic context management via context managers or manual lifecycle control for advanced use cases. Use it for: - Build Python applications that call Scale GP chat completion endpoints with type-safe request/response handling. - Instrument AI agent workflows with distributed tracing to capture execution spans and debug complex operations. - Integrate Scale GP API calls into existing Python services using either sync or async clients powered by httpx. - Monitor and log multi-step workflows by creating nested traces and spans with metadata and input/output tracking. - Route API requests through custom proxies or non-standard deployments using the base_url parameter. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for the Scale GP REST API with type-safe synchronous and asynchronous interfaces, supporting chat completions and tracing instrumentation. Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides a well-structured, type-safe interface to the Scale GP API. It is suitable for production use if you are building applications against Scale GP. The recent release suggests active development and real-world adoption. ## Install pip install scale-gp-beta uv add scale-gp-beta poetry add scale-gp-beta ## Installing scale-gp-beta Before you install: Low install friction with a pure-Python wheel distribution. Active maintenance status with release 9 days old. Depends on standard HTTP and async libraries (httpx, anyio, pydantic) with no compiled dependencies. License in practice: Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects. Quickstart: import os from scale_gp_beta import SGPClient client = SGPClient( account_id="My Account ID", api_key=os.environ.get("SGP_API_KEY"), environment="production-multitenant", ) completion = client.chat.completions.create( messages=[{"role": "user", "content": "Hello, how are you?"}], model="openai/gpt-4o-mini", top_k=2, ) Requires Python 3.9 or later. SGP_API_KEY and account_id must be provided via environment variables or constructor arguments. Verify before relying: - Whether the MCP Server integration is production-ready or beta-only. - Performance characteristics and rate-limit handling for high-volume API calls. - Full compatibility matrix with Scale GP API versions and environments. - Whether tracing spans are sent synchronously or asynchronously by default. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 114.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags scale gp api client, python rest api client, typed http client library, async http client wrapper, ai api integration, tracing and spans sdk, openai-compatible api client, rest-api-client, async-http, tracing-instrumentation [View on SkillFed](https://skillfed.io/packages/scale-gp-beta) · [View on PyPI](https://pypi.org/project/scale-gp-beta/)