exa-py 1.1.8__tar.gz → 1.2.0__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 exa-py might be problematic. Click here for more details.
- {exa_py-1.1.8 → exa_py-1.2.0}/PKG-INFO +1 -1
- exa_py-1.2.0/exa_py/__init__.py +1 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py/api.py +3 -1
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py.egg-info/PKG-INFO +1 -1
- {exa_py-1.1.8 → exa_py-1.2.0}/setup.py +1 -1
- exa_py-1.1.8/exa_py/__init__.py +0 -3
- {exa_py-1.1.8 → exa_py-1.2.0}/README.md +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py/py.typed +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py/utils.py +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py.egg-info/SOURCES.txt +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py.egg-info/dependency_links.txt +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py.egg-info/requires.txt +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/exa_py.egg-info/top_level.txt +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/pyproject.toml +0 -0
- {exa_py-1.1.8 → exa_py-1.2.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .api import Exa as Exa
|
|
@@ -233,6 +233,7 @@ class _Result:
|
|
|
233
233
|
score: Optional[float] = None
|
|
234
234
|
published_date: Optional[str] = None
|
|
235
235
|
author: Optional[str] = None
|
|
236
|
+
image: Optional[str] = None
|
|
236
237
|
|
|
237
238
|
def __str__(self):
|
|
238
239
|
return (
|
|
@@ -242,6 +243,7 @@ class _Result:
|
|
|
242
243
|
f"Score: {self.score}\n"
|
|
243
244
|
f"Published Date: {self.published_date}\n"
|
|
244
245
|
f"Author: {self.author}\n"
|
|
246
|
+
f"Image: {self.image}\n"
|
|
245
247
|
)
|
|
246
248
|
|
|
247
249
|
|
|
@@ -466,7 +468,7 @@ class Exa:
|
|
|
466
468
|
self,
|
|
467
469
|
api_key: Optional[str],
|
|
468
470
|
base_url: str = "https://api.exa.ai",
|
|
469
|
-
user_agent: str = "exa-py 1.
|
|
471
|
+
user_agent: str = "exa-py 1.2.0",
|
|
470
472
|
):
|
|
471
473
|
"""Initialize the Exa client with the provided API key and optional base URL and user agent.
|
|
472
474
|
|
exa_py-1.1.8/exa_py/__init__.py
DELETED
|
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
|