Skip to main content

The Official Sticklight Python SDK

Project description

Sticklight Python SDK

The official Python SDK for Sticklight.

Installation

pip install sticklight

Quick Start

import sticklight as sl

# Publish an event
sl.capture({
    "event_name": "user_message",
    "user_id": "user_123",
    "message": "I need help with this and that 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. Pass it directly to the capture function:

    sl.capture(data, sticklight_api_key="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

Book your Demo now

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/sticklight-python.git
cd sticklight-python

# Install dependencies
uv sync --dev

# Run tests
uv run scripts/test

# Publish to PyPI
uv run scripts/manual-publish

License

MIT

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.5.tar.gz (6.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.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sticklight-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0e2927b7043eb0a649ad24ab5ae913022040a7a589d63fa834354ce4e50e3ea4
MD5 577d1913b78b67914e4a26eff98df171
BLAKE2b-256 1d87bd11dee8bb38709a302fc84d08a47428047dfdf730f6f92af9aa5be0ad6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sticklight-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.13

File hashes

Hashes for sticklight-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 680623bd603aabbbc3c35d06d20a55444fbfe2fcbb4fff44349a2838713f37ae
MD5 33223d84944e5a29de744a35686df636
BLAKE2b-256 2b31b4c955818afa1c37a2188a0093687c203164d69e1300a4abe642f50ed2ef

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