IS
InsightStream
SDKs

Python SDK

Integrate video processing and analytics into your Python backend or data science workflows with the InsightStream Python SDK.

Installation

Terminal
pip install insightstream-python

Initialization

from insightstream import Insight
# Initialize with your API key
is = Insight(api_key='sk_live_...')

Usage Examples

Upload from Local File

video = is.videos.create(
file=open('movie.mp4', 'rb'),
title='Backend Upload'
)

Async Webhook Verification

payload = request.body
signature = request.headers.get('X-Is-Signature')
is.webhooks.verify(payload, signature)
Updated on Dec 28, 2025
Was this page helpful?