{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"}],"enrichment":{"capability":"Provides a Python client library for the Perplexity REST API, offering synchronous and asynchronous access to web search and chat completion endpoints with full type support.","skillfed_tags":["api-client","async-support","ai-integration"],"use_cases":["Integrate web search results into a Python application without building HTTP calls manually.","Build an async chatbot or agent that queries Perplexity's sonar model for real-time information.","Stream chat completions to a user interface while handling backpressure and connection errors.","Automate research workflows that combine search queries with follow-up chat interactions.","Add type-safe API calls to a production service with automatic retry and timeout handling."],"what_it_does":"Perplexityai is a Python client for the Perplexity REST API, wrapping web search and chat completion endpoints with both synchronous and asynchronous interfaces. It uses httpx for HTTP transport and provides full type annotations via pydantic models and TypedDicts, enabling editor autocomplete and type checking. The library handles authentication via API key, automatic retries for transient failures, and streaming responses via Server-Sent Events.\n\nDevelopers use it to integrate Perplexity's search and generative capabilities into Python applications. The package supports both blocking and async workflows, with an optional aiohttp backend for improved concurrency. It includes structured error handling for connection failures, authentication issues, rate limits, and API errors, plus configurable retry and timeout policies.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive license, and provides a clean, well-typed interface to a live API service. Install it if you need to call Perplexity's search or chat endpoints from Python; skip it only if you prefer to manage HTTP requests directly or do not have a Perplexity API key."},"id":"perplexityai","links":{"html":"https://skillfed.io/packages/perplexityai","md":"https://skillfed.io/packages/perplexityai.md","pypi":"https://pypi.org/project/perplexityai/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":null,"license_treatment":"permissive","name":"perplexityai","python_support":"supports_current","summary":null},"popularity":{"monthly_downloads":1168749,"position":4273,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.43.3"}
