skillfed

scale-gp-beta

The official Python library for the Scale GP API

scale-gp-beta v0.5.0 114.3K downloads/30d#12,306 on PyPI
Permissive license Apache-2.0 Active released

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-beta

uv

uv add scale-gp-beta

poetry

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 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

Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

scale gp api clientpython rest api clienttyped http client libraryasync http client wrapperai api integrationtracing and spans sdkopenai-compatible api client
rest-api-clientasync-httptracing-instrumentation

More Python Modules packages