scale-gp-beta
The official Python library for the Scale GP API
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 on this page — 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
scale-gp-beta on PyPI
pip
pip install scale-gp-betauv
uv add scale-gp-betapoetry
poetry add scale-gp-betaInstalling 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 the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — anyio, distro, httpx, pydantic, sniffio, typing-extensions |
| Maintenance | actively maintained — 9 days since the last release |
| First released | |
| Downloads | 114,321/month — #12,306 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: scale_gp_beta-0.5.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
scale-gpPython client library for the SGP Client REST…
permissive · top 15,000 on PyPI
schematichqProvides a Python client library for the…
permissive · top 15,000 on PyPI
simileA Python client library for interacting with…
permissive · top 15,000 on PyPI
agentex-clientProvides a typed Python REST client for the…
permissive · top 15,000 on PyPI
py-dactylA Python wrapper for the Pterodactyl Panel API…
permissive · top 15,000 on PyPI
jaeger-clientJaeger-client instruments Python applications…
permissive · top 15,000 on PyPI
groqProvides a Python client library for accessing…
permissive · top 1,000 on PyPI
openaiProvides a Python client library for the OpenAI…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-groqAutomatically captures traces of Groq SDK API…
permissive · top 5,000 on PyPI
sambanovaProvides a Python client library for accessing…
permissive · top 15,000 on PyPI