Skip to content

Issue 27: SDK Demo Application #27

Description

@laraibg786

Goal

Build a simple Python CLI demo application that showcases SDK initialization, license activation, heartbeat loop, and state callbacks. Customers use this as a reference for integration.

Requirements

Functional

  • Prompt for vendor API key and license key on startup.
  • Auto-generate device fingerprint if not provided.
  • Activate license via SDK and display session info.
  • Start heartbeat loop with 1-minute interval (for demo speed).
  • Print state transitions and remaining grace time on each heartbeat.
  • Support pause (p) / resume (r) to simulate offline behavior.
  • Gracefully stop on Ctrl+C.

Technical

Acceptance Criteria

  • Demo runs end-to-end: activate → heartbeat → grace → expire.
  • Offline simulation (pause/resume) demonstrates grace behavior.
  • Code is well-commented and readable as a reference implementation.

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions