releases.shpreview

Official Perplexity SDKs for Python and TypeScript

October 1, 2025API ChangelogView original ↗

Official Perplexity SDKs for Python and TypeScript are now available.

Installation:

# Python
pip install perplexityai

# TypeScript
npm install @perplexity-ai/perplexity_ai

Features:

  • Full type definitions for all request/response fields
  • Support for Sonar and Search APIs
  • Streaming support with async iterators
  • Automatic environment variable handling for API keys

Fetched May 26, 2026

Official Perplexity SDKs for Python and TypeScript — API… — releases.sh