Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Python SDK

Install

GitHub
pip install scalekit-sdk-python
v2.21.0Pydantic v2Type HintsUpdated 3 days ago

Initialize

Initialize the client
from scalekit import ScalekitClient
scalekit_client = ScalekitClient(
environment_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
client_id=os.getenv("SCALEKIT_CLIENT_ID"),
client_secret=os.getenv("SCALEKIT_CLIENT_SECRET")
)
v2.20.0

What's Changed

  • [SK-2030] fix: accept every auth-pattern shape the API serves (was Literal-constrained) by @AkshayParihar33 in #206
  • [SK-2043] chore: update proto to v0.1.150.0 (v2.19.2) by @arya-scalekit in #207
  • chore: add PyPI alias packages for scalekit and scalekit-sdk (SK-2063) by @ravibits in #208
  • fix: forward page_size and page_token in actions.list_connected_accounts by @ravibits in #211
  • Add Create/Update/Delete/List/Get to ResourceClient by @Pranesh-Raghu in #204
  • feat: accept multiple issuers in token validation (SK-2080) by @saravanan2003-hub in #212

Full Changelog: v2.19.1...v2.20.0

v2.18.0

What's Changed

  • [SK-1867] fix: add gRPC keepalive options to detect dead idle connections by @ravibits in #195

Full Changelog: v2.17.0...v2.18.0

v2.17.0

Native middleware support for (Flask, FastAPI, Django) based Python webapps!

v2.15.0

What's Changed

  • chore: update proto to v0.1.138.0 (v2.15.0); add metadata/icon_src to actions provider facade by @AkshayParihar33 in #182

Full Changelog: v2.14.0...v2.15.0

v2.14.0

What's Changed

  • chore(deps): bump proto version to v0.1.136.1 and regenerate SDK by @AkshayParihar33 in #177
  • [SK-1276] Bump proto to v0.1.137.0 and expand custom-connector support (NO_AUTH, icon_src/metadata, auth_header_key_override) by @AkshayParihar33 in #179
  • [SK-1276] Bump SDK version to 2.14.0 and API version to 20260716 by @AkshayParihar33 in #180

Full Changelog: v2.13.0...v2.14.0

v2.13.0

What's Changed

  • [SK-631] chore(deps): bump 5 low-risk Python deps by @dhawani in #167
  • [SK-636] chore(deps): align grpcio + grpcio-status to >=1.81.0 by @dhawani in #168
  • [SK-641] chore(deps): unpin cryptography to >=46.0.6,<49 by @dhawani in #169
  • [SK-642] chore(deps): bump protobuf upper bound to >=5.29.5,<8.0.0 by @dhawani in #170
  • [SK-646] chore(deps): bump 5 low-risk Python deps by @dhawani in #171
  • fix(SK-819, SK-821): provider error differentiation, blind retry fix, and upsert credentials by @ravibits in #174

New Contributors

Full Changelog: V2.12.0...v2.13.0