Skip to content

Examples Directory

This section contains interactive Jupyter notebook examples demonstrating how to use the Sift Python client library.

Available Examples

  • Basic Usage - Introduction to the Sift Python client, covering basic operations and API usage
  • Data Ingestion - Learn how to ingest telemetry data into Sift using various methods

Running Examples Locally

To run these examples on your local machine:

  1. Install the Sift Python client:

    pip install sift-stack-py
    

  2. Set up your environment variables in a .env file next to the notebook files:

    SIFT_API_KEY="your-api-key"
    SIFT_GRPC_URI="your-sift-grpc-url"
    SIFT_REST_URI="your-sift-rest-url"
    

  3. Open the notebooks in Jupyter after downloading them:

    jupyter notebook
    

For more examples including command-line scripts, see the examples directory in the repository.