EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Getting Started

  • Keymint Documentation
  • Introduction
  • Getting Started
  • License Keys
  • Changelog

SDK References

  • Software Development Kits (SDKs)
  • Node.js SDK
  • Go SDK
  • Python SDK
  • C# SDK

Integration Guides

  • Integration Guides
  • Customer Portal for Vendors
  • Roles & Permissions
  • Radar Alert Destinations
  • Payment Provider Integrations
  • Stripe Subscription Licensing
  • Import Existing License Keys
  • Email Delivery
  • API Key Management
  • Webhook Deliveries
  • Analytics and Retention
  • Dashboard Workflows
  • Electron Licensing
  • PyQt Licensing
  • Tauri Licensing
  • Next.js SaaS Licensing

Licensing Guides

  • Licensing Concepts
  • Node-Locking & Machine Identifiers
  • Floating Licenses
  • Offline Verification
  • License Radar
  • Public Key Management and Rotation
  • Feature Flags
  • Webhooks & Events

Templates

  • Starter Templates
  • Electron License Starter
  • PyQt License Starter
  • Tauri License Starter
  • Next.js SaaS License Starter

Security & Trust

  • Security & Trust

Support

  • Frequently Asked Questions
  • Customer Portal
  • Using the Customer Portal
  • Workspace Settings and Roles

Legal

  • Privacy Policy
  • Subprocessors
  • Data Processing Agreement
  • Security Overview
  • Terms of Service
  • Service Level Agreement (SLA)
  • GDPR Compliance

Python SDK

Official Python SDK for Keymint. Integrate secure licensing, hardware node-locking, and offline activations into your Python applications.

Installation

To install the official Python SDK, use either pip or Poetry:

pip install keymint

Quick Start

python
from keymint import KeyMint

admin = KeyMint(api_key="YOUR_ADMIN_API_KEY")
client = KeyMint(api_key="YOUR_CLIENT_API_KEY")

# Create a key with authorized hosts
new_key = admin.create_key({
    "productId": "YOUR_PRODUCT_ID",
    "allowedHosts": ["machine-a", "machine-b"]
})

# Activate a license
result = client.activate_key({
    "productId": "YOUR_PRODUCT_ID",
    "licenseKey": "XXXXX-XXXXX-XXXXX-XXXXX",
    "hostId": "machine-a",
    "licensee": {"name": "Jane Doe", "email": "jane@example.com"}
})

print(result['message'])  # "License valid"

Use client keys for activation/deactivation/floating sessions. Use admin keys for create/update/block/unblock/sign/delete and customer management. Use read-only or admin keys for detailed key lookup. Any key carrying the matching grant (license:activate, license:manage, license:sign, license:delete, license:read, customer:read/write) works on any scope — see key permissions in the dashboard.

Resources

  • PyPI Package
  • GitHub Repository

On this page

  • Installation
  • Quick Start
  • Resources