scale-gp
The official Python library for the SGPClient API
Decision gist · record as of 2026-08-14
Yes, but with conditions: install only if you are actively using the v4 SGP API and cannot migrate to v5. The package is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. However, the explicit legacy status and recommendation to use sgp-python-beta means this is not the forward path—evaluate whether v5 is available for your use case first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; API key must be provided via SGP_API_KEY environment variable or constructor argument.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained as of the latest release; however, this is explicitly a legacy v4 API SDK with a newer v5 replacement available.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
last release 2026-05-14 (92 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,709 downloads/mo, #12,501 on PyPI
Alternatives
Verify before relying
import os
from scale_gp import SGPClient
client = SGPClient(api_key=os.environ.get("SGP_API_KEY"))
response = client.knowledge_bases.create(
embedding_config={"model_deployment_id": "id", "type": "models_api"},
knowledge_base_name="my_kb"
)
print(response.knowledge_base_id)- Whether v4 API will continue to receive updates or is in maintenance-only mode
- Performance characteristics of async client with httpx versus alternative HTTP backends
- Stability guarantees for the 0.1.0a62 pre-release version
What it is and what it does
scale-gp is the official Python client for Scale's SGP Client REST API, generated using Stainless. It provides both synchronous and asynchronous interfaces to interact with knowledge bases, models, and other API resources. The library includes full type hints for all request parameters and response objects, built on httpx for HTTP transport and pydantic for response validation.
The package supports common REST patterns: paginated list operations with automatic page fetching, streaming responses via Server-Sent Events, nested typed parameters, and comprehensive error handling. It requires Python 3.9+ and has six runtime dependencies. However, the description explicitly warns this is the legacy v4 API SDK; Scale recommends using sgp-python-beta for the latest v5 API.
Use it for
- Build knowledge base management tools that create, list, and configure embedding models via the SGP API
- Implement chat completion endpoints with streaming support for real-time response handling
- Develop async applications that need concurrent API calls without blocking
- Integrate SGP services into typed Python applications with IDE autocomplete and type checking
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with conditions: install only if you are actively using the v4 SGP API and cannot migrate to v5.
The package is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. However, the explicit legacy status and recommendation to use sgp-python-beta means this is not the forward path—evaluate whether v5 is available for your use case first.
Install
scale-gp on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of the latest release; however, this is explicitly a legacy v4 API SDK with a newer v5 replacement available.
Requires Python 3.9 or later; API key must be provided via SGP_API_KEY environment variable or constructor argument.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
import os
from scale_gp import SGPClient
client = SGPClient(api_key=os.environ.get("SGP_API_KEY"))
response = client.knowledge_bases.create(
embedding_config={"model_deployment_id": "id", "type": "models_api"},
knowledge_base_name="my_kb"
)
print(response.knowledge_base_id)
Verify before relying
- Whether v4 API will continue to receive updates or is in maintenance-only mode
- Performance characteristics of async client with httpx versus alternative HTTP backends
- Stability guarantees for the 0.1.0a62 pre-release version
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 packagesanyiodistrohttpxpydanticsniffiotyping-extensions |
| Maintenance | Actively maintained 92 days since the last release |
| First released | |
| Downloads | 109,709 / month, #12,501 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: scale_gp-0.1.0a62-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sgp client api python”
- scale-gpPython client library for the SGP Client REST API, providing…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also scale-gp-beta · writer-sdk · agentex-client · supermemory · sambanova · pipedream · composio-client · vapi-server-sdk · openai · cent