Skip to content

SDKs

The official clients of the SQL Cockpit portal API: Python, TypeScript, Go, PHP and PowerShell, with installation and a first program.

Python SDK

Guide

A typed method for every API operation, sync or asyncio. pip install git+https://github.com/sql-cockpit/sql-cockpit-python

    TypeScript SDK

    Guide

    A typed method for every API operation, on Node.js, Deno and Bun. npm install github:sql-cockpit/sql-cockpit-typescript

      Go client

      Guide

      A typed method for every API operation, standard library only, with context cancellation. go get github.com/sql-cockpit/sql-cockpit-go@v0.1.0

        PHP client

        Guide

        A typed method for every API operation for PHP 8.1 and later, with readonly models. composer config repositories.sql-cockpit vcs https://github.com/sql-cockpit/sql-cockpit-php, then composer require sql-cockpit/sdk:^0.1

          PowerShell module

          Guide

          SqlCockpit.Portal: a command for every API operation for PowerShell 7 and Windows PowerShell 5.1, with pipelines and -WhatIf. irm https://raw.githubusercontent.com/sql-cockpit/sql-cockpit-powershell/main/install.ps1 | iex

            Tools

            Guide

            The sqlcockpit CLI, the hosted MCP server and the OpenAPI document.