Software Development Kits (SDKs)
Official client libraries for Node.js, Go, Python, and C# to integrate Keymint software licensing, node locking, and floating seats.
Keymint provides lightweight, open-source SDKs across multiple runtimes. Each client library wraps the Keymint REST API and adds helpers for machine identity, floating session heartbeat signatures, and webhook signature verification.
Official Libraries
Choose the native client library for your application stack:
Node.js / TypeScript SDK
Optimized for Next.js, Express, Fastify, Electron, and serverless runtimes. Full TypeScript definitions included.
Go SDK
Idiomatic Go client for command-line tools, background daemons, microservices, and compiled single-binary software.
Python SDK
Designed for PyQt desktop applications, machine learning tools, automation scripts, and Django/FastAPI servers.
C# / .NET SDK
For Windows desktop applications, WPF, WinForms, and cross-platform services on .NET 8 and .NET 9.
Quick Installation Reference
| Runtime | Package Manager | Install Command |
|---|---|---|
| Node.js / TS | npm / pnpm / yarn | npm install keymint |
| Go | Go Modules | go get github.com/keymint-dev/keymint-go |
| Python | pip | pip install keymint |
| C# / .NET | NuGet | dotnet add package KeyMint |
Core Capabilities Across All SDKs
- Machine Identity: A best-effort hardware fingerprint (BIOS/system UUID, then the OS machine ID, then the primary MAC address), plus a stable installation ID that is the recommended activation
hostId. - Floating Session Leasing: Check out, heartbeat, and release concurrent seats, with a helper that computes the heartbeat signature.
- Offline Licenses: Request a signed
.licfile for a device from your backend (admin key), and verify.licfiles locally in your app with no network call (verifyOfflineLicense,verify_offline_license,VerifyOfflineLicense,OfflineLicenseVerifier.Verify; Node 1.7.0, Python 2.7.0, Go v1.8.0, C# 1.7.0 or later). See Offline Verification. - Webhook Verification: Check the signature on webhook payloads Keymint sends you.
- Structured Errors: Every API error carries the stable
errorCodefrom the Error Codes catalogue. Node.js and Python throw, Go returns an*ApiError, and C# returns a result withIsSuccess == false.