Skip to main content

perplexity

What is perplexity?

It's an unofficial module made for interacting with Preplexity API.

What are pluses and minuses?


Pluses Minuses
Fast Unofficial
Good Not much functions
Easy to use Can be broken

Usage

Chat:

import perplexity

client = perplexity.Perplexity("PERPLEXITY_API_KEY")

client.chat("Hello! Can you tell me what's gonna be 10*2+5(2+2)")

Search:

import perplexity

client = perplexity.Perplexity("PERPLEXITY_API_KEY")

client.search("What happened on OVHCloud Strasbourg Data Center 2021?")

Metadata

Release files for perplexity 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perplexity 0.1.0
File Size Uploaded
perplexity-0.1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for perplexity 0.1.0
File Interpreter ABI Platform
perplexity-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / perplexity-0.1.0.tar.gz

Download URL perplexity-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cd959dc439e66f2237fbf8d4a957197e6ddc1239e519aff71233597be5bf17a8
BLAKE2b-256 checksum
How to use checksums
887b12c1a8d1c5a1ac4d8e547822a6f8b7135799b4f28f8028dc5a593b9cb207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / perplexity-0.1.0-py3-none-any.whl

Download URL perplexity-0.1.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75554baee00b649e1973da0067c6b9a1ed6a0add3316d8f8c44d75ae3aeb90ac
BLAKE2b-256 checksum
How to use checksums
32ba1cbd848540bc6f8fd8ee31333ba42fd934bdec141e17948327a8447e34e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page