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:
-
Set it as an environment variable:
export STICKLIGHT_API_KEY="your-api-key"
-
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
- Documentation: docs.sticklight.io
- Issues: GitHub Issues
- Email: hello@sticklight.io
- Book a demo
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sticklight-0.1.1.tar.gz.
File metadata
- Download URL: sticklight-0.1.1.tar.gz
- Upload date:
- Size: 51.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c43877920a6c21d972d4af4b915f5dde2a2809eb6e74057619f7468e76ebc892
|
|
| MD5 |
fc9637d77c5b616ee08457f5fc356a40
|
|
| BLAKE2b-256 |
7ce329795c6ae470ac228e27ca24ecc034f6614561258a95b350956ea2b8b1b3
|
File details
Details for the file sticklight-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sticklight-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea41978b66ba128afba10c7b1a30276537f2bb18808bcbec71f57413bf4c7d6b
|
|
| MD5 |
377faecd5e7381969c22f3ba4fdbcbfc
|
|
| BLAKE2b-256 |
8a42e95ecb357e7897a22742737d11c69dc29de3cc011de3a6f962f9246aa82c
|