exa-py 1.1.8__py3-none-any.whl → 1.2.0__py3-none-any.whl

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/__init__.py CHANGED
@@ -1,3 +1 @@
1
- from .api import (
2
- Exa
3
- )
1
+ from .api import Exa as Exa
exa_py/api.py CHANGED
@@ -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.1.8",
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: exa_py
3
- Version: 1.1.8
3
+ Version: 1.2.0
4
4
  Summary: Python SDK for Exa API.
5
5
  Home-page: https://github.com/exa-labs/exa-py
6
6
  Author: Exa
@@ -0,0 +1,8 @@
1
+ exa_py/__init__.py,sha256=1selemczpRm1y8V9cWNm90LARnU1jbtyp-Qpx3c7cTw,28
2
+ exa_py/api.py,sha256=u3F8ni1B83G8_TMMMGGslCYggXMshcvcnO-z8fIP_kQ,46431
3
+ exa_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ exa_py/utils.py,sha256=Rc1FJjoR9LQ7L_OJM91Sd1GNkbHjcLyEvJENhRix6gc,2405
5
+ exa_py-1.2.0.dist-info/METADATA,sha256=r0mIsIp2Tx8O4mtYxvuQfH4QaiQa3YaURzQp6nl_xXw,3030
6
+ exa_py-1.2.0.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
7
+ exa_py-1.2.0.dist-info/top_level.txt,sha256=Mfkmscdw9HWR1PtVhU1gAiVo6DHu_tyiVdb89gfZBVI,7
8
+ exa_py-1.2.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- exa_py/__init__.py,sha256=aVF1zB_UV3dagJ5Vn2WrdcInzibdIW61M89sjwRCU_g,29
2
- exa_py/api.py,sha256=Dypst-1wBEGFLh1rS_RfN9Lh8D1RkviXfJglzstFznI,46362
3
- exa_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- exa_py/utils.py,sha256=Rc1FJjoR9LQ7L_OJM91Sd1GNkbHjcLyEvJENhRix6gc,2405
5
- exa_py-1.1.8.dist-info/METADATA,sha256=KFKYnaij4o-U1iBuJTWAzoQ8ZQd5So6faDQQbFX_h1M,3030
6
- exa_py-1.1.8.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
7
- exa_py-1.1.8.dist-info/top_level.txt,sha256=Mfkmscdw9HWR1PtVhU1gAiVo6DHu_tyiVdb89gfZBVI,7
8
- exa_py-1.1.8.dist-info/RECORD,,
File without changes