Skip to main content

The Official Sticklight Python SDK

Project description

Sticklight Python SDK

The official Python SDK for Sticklight.

Installation

pip install sticklight
# OR
uv add sticklight

Quick Start

import sticklight as sl

# Authenticate with your API key
sl.init("your-api-key")

# Publish an event
sl.capture(
    "user_sent_message",
    user_id="user_123",
    message="I need help with your new feature",
    #  ... Any other data you want to track
)

Authentication

You'll need a Sticklight API key to use this SDK. You can either:

  1. Set it as an environment variable:

    export STICKLIGHT_API_KEY="your-api-key"
    
  2. Use init to authenticate at the start of your application:

    sl.init("your-api-key")
    

To get your API key, go to the Sticklight Platform and create a new key.

Requirements

  • Python 3.11 or higher

About Sticklight

Sticklight provides precise and actionable analytics for AI-powered products, giving product managers and developers deep insights into how users interact with their AI features. Our platform helps you:

  • Understand user patterns and behaviors in LLM interactions
  • Identify where users struggle and detect critical issues in real-time
  • Make data-driven decisions for your AI product roadmap

Think of it as product analytics, but specifically designed for the unique challenges of AI applications. Whether you're running a support chatbot, internal agentic architecture, or any other LLM-oriented product, Sticklight instills deep confidence and clarity in your product decisions.

Development

# Clone the repository
git clone https://github.com/sticklight-io/sticklight-python.git
cd sticklight-python

# Install dependencies
uv sync --dev

# Run tests
uv run scripts/test

# Run lint
uv run scripts/lint

License

Apache 2.0

Support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sticklight-0.1.7.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sticklight-0.1.7-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file sticklight-0.1.7.tar.gz.

File metadata

  • Download URL: sticklight-0.1.7.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for sticklight-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2c10acb93a1f1f9e921dbe99a4e655572e79d22253d46bbfca87bb8906a6fc96
MD5 387c8de22a067b1cabf8c2164b956395
BLAKE2b-256 e0a75e395d767f596ae6691679681f64d2f2fb834c7b287386b9fbcf663dae73

See more details on using hashes here.

File details

Details for the file sticklight-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for sticklight-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2958accfe2c40cd9b2263b364689da7cd5ecbb2b138cd19956e2b8ced4eb8c
MD5 6a53a0d7a1f340ac55dcb0a925efec16
BLAKE2b-256 3d8d09ebabd71e76c8ed45df5e92d81a08525c7de957430ec7a415628ea1ee6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page