perplexityai 0.15.0__tar.gz → 0.16.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of perplexityai might be problematic. Click here for more details.
- perplexityai-0.16.1/.release-please-manifest.json +3 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/CHANGELOG.md +16 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/PKG-INFO +3 -3
- {perplexityai-0.15.0 → perplexityai-0.16.1}/README.md +1 -1
- {perplexityai-0.15.0 → perplexityai-0.16.1}/SECURITY.md +4 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/pyproject.toml +6 -2
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_version.py +1 -1
- perplexityai-0.15.0/.release-please-manifest.json +0 -3
- {perplexityai-0.15.0 → perplexityai-0.16.1}/.gitignore +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/CONTRIBUTING.md +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/LICENSE +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/api.md +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/bin/check-release-environment +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/bin/publish-pypi +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/examples/.keep +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/noxfile.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/release-please-config.json +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/requirements-dev.lock +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/requirements.lock +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_base_client.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_client.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_compat.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_constants.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_exceptions.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_files.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_models.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_qs.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_resource.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_response.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_streaming.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_types.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_compat.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_datetime_parse.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_logs.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_proxy.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_reflection.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_resources_proxy.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_streams.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_sync.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_transform.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_typing.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/_utils/_utils.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/lib/.keep +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/py.typed +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/async_.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/chat/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/chat/chat.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/chat/completions.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/chat/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/chat/chat.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/chat/completions.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/search.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/chat/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/chat/completion_create_params.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/chat/completion_create_response.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/chat/completion_get_params.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/chat/completion_get_response.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/async_/chat/completion_list_response.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/chat/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/chat/completion_create_params.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/search_create_params.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/search_create_response.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/api_public_search_result.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/chat_message_input.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/chat_message_output.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/choice.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/usage_info.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared_params/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared_params/api_public_search_result.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared_params/chat_message_input.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/stream_chunk.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/async_/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/async_/chat/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/async_/chat/test_completions.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/chat/__init__.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/chat/test_completions.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/test_search.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/conftest.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/sample_file.txt +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_client.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_deepcopy.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_extract_files.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_files.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_models.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_qs.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_required_args.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_response.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_streaming.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_transform.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_utils/test_datetime_parse.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_utils/test_proxy.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/test_utils/test_typing.py +0 -0
- {perplexityai-0.15.0 → perplexityai-0.16.1}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.16.1 (2025-10-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.16.0...v0.16.1](https://github.com/perplexityai/perplexity-py/compare/v0.16.0...v0.16.1)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* **internal:** detect missing future annotations with ruff ([26f14f1](https://github.com/perplexityai/perplexity-py/commit/26f14f1036636e9635044911c932bd5257d879f5))
|
|
10
|
+
|
|
11
|
+
## 0.16.0 (2025-10-10)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.15.0...v0.16.0](https://github.com/perplexityai/perplexity-py/compare/v0.15.0...v0.16.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** manual updates ([59b9e2d](https://github.com/perplexityai/perplexity-py/commit/59b9e2de4c925b7a8be7e3cff6ffd0de270b5891))
|
|
18
|
+
|
|
3
19
|
## 0.15.0 (2025-10-08)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.14.0...v0.15.0](https://github.com/perplexityai/perplexity-py/compare/v0.14.0...v0.15.0)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: perplexityai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.16.1
|
|
4
4
|
Summary: The official Python library for the perplexity API
|
|
5
5
|
Project-URL: Homepage, https://github.com/perplexityai/perplexity-py
|
|
6
6
|
Project-URL: Repository, https://github.com/perplexityai/perplexity-py
|
|
7
|
-
Author: Perplexity
|
|
7
|
+
Author-email: Perplexity <api@perplexity.ai>
|
|
8
8
|
License: Apache-2.0
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -46,7 +46,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
|
46
46
|
|
|
47
47
|
## Documentation
|
|
48
48
|
|
|
49
|
-
The full API of this library can be found in [api.md](https://github.com/perplexityai/perplexity-py/tree/main/api.md).
|
|
49
|
+
The REST API documentation can be found on [docs.perplexity.ai](https://docs.perplexity.ai/). The full API of this library can be found in [api.md](https://github.com/perplexityai/perplexity-py/tree/main/api.md).
|
|
50
50
|
|
|
51
51
|
## Installation
|
|
52
52
|
|
|
@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
|
11
11
|
|
|
12
12
|
## Documentation
|
|
13
13
|
|
|
14
|
-
The full API of this library can be found in [api.md](api.md).
|
|
14
|
+
The REST API documentation can be found on [docs.perplexity.ai](https://docs.perplexity.ai/). The full API of this library can be found in [api.md](api.md).
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
@@ -18,6 +18,10 @@ before making any information public.
|
|
|
18
18
|
If you encounter security issues that are not directly related to SDKs but pertain to the services
|
|
19
19
|
or products provided by Perplexity, please follow the respective company's security reporting guidelines.
|
|
20
20
|
|
|
21
|
+
### Perplexity Terms and Policies
|
|
22
|
+
|
|
23
|
+
Please contact api@perplexity.ai for any questions or concerns regarding the security of our services.
|
|
24
|
+
|
|
21
25
|
---
|
|
22
26
|
|
|
23
27
|
Thank you for helping us keep the SDKs and systems they interact with secure.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "perplexityai"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.16.1"
|
|
4
4
|
description = "The official Python library for the perplexity API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
7
7
|
authors = [
|
|
8
|
-
{ name = "Perplexity", email = "" },
|
|
8
|
+
{ name = "Perplexity", email = "api@perplexity.ai" },
|
|
9
9
|
]
|
|
10
10
|
dependencies = [
|
|
11
11
|
"httpx>=0.23.0, <1",
|
|
@@ -224,6 +224,8 @@ select = [
|
|
|
224
224
|
"B",
|
|
225
225
|
# remove unused imports
|
|
226
226
|
"F401",
|
|
227
|
+
# check for missing future annotations
|
|
228
|
+
"FA102",
|
|
227
229
|
# bare except statements
|
|
228
230
|
"E722",
|
|
229
231
|
# unused arguments
|
|
@@ -246,6 +248,8 @@ unfixable = [
|
|
|
246
248
|
"T203",
|
|
247
249
|
]
|
|
248
250
|
|
|
251
|
+
extend-safe-fixes = ["FA102"]
|
|
252
|
+
|
|
249
253
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
250
254
|
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
|
|
251
255
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/chat/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/resources/async_/chat/completions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/chat/completion_create_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/api_public_search_result.py
RENAMED
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/chat_message_input.py
RENAMED
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared/chat_message_output.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/src/perplexity/types/shared_params/chat_message_input.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perplexityai-0.15.0 → perplexityai-0.16.1}/tests/api_resources/async_/chat/test_completions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|