tavily-python 0.7.9__tar.gz → 0.7.11__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.
Files changed (24) hide show
  1. {tavily_python-0.7.9 → tavily_python-0.7.11}/PKG-INFO +1 -1
  2. {tavily_python-0.7.9 → tavily_python-0.7.11}/setup.py +1 -1
  3. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/async_tavily.py +11 -2
  4. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/tavily.py +11 -2
  5. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily_python.egg-info/PKG-INFO +1 -1
  6. {tavily_python-0.7.9 → tavily_python-0.7.11}/LICENSE +0 -0
  7. {tavily_python-0.7.9 → tavily_python-0.7.11}/README.md +0 -0
  8. {tavily_python-0.7.9 → tavily_python-0.7.11}/setup.cfg +0 -0
  9. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/__init__.py +0 -0
  10. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/config.py +0 -0
  11. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/errors.py +0 -0
  12. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/hybrid_rag/__init__.py +0 -0
  13. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/hybrid_rag/hybrid_rag.py +0 -0
  14. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily/utils.py +0 -0
  15. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily_python.egg-info/SOURCES.txt +0 -0
  16. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily_python.egg-info/dependency_links.txt +0 -0
  17. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily_python.egg-info/requires.txt +0 -0
  18. {tavily_python-0.7.9 → tavily_python-0.7.11}/tavily_python.egg-info/top_level.txt +0 -0
  19. {tavily_python-0.7.9 → tavily_python-0.7.11}/tests/test_async_search.py +0 -0
  20. {tavily_python-0.7.9 → tavily_python-0.7.11}/tests/test_crawl.py +0 -0
  21. {tavily_python-0.7.9 → tavily_python-0.7.11}/tests/test_errors.py +0 -0
  22. {tavily_python-0.7.9 → tavily_python-0.7.11}/tests/test_map.py +0 -0
  23. {tavily_python-0.7.9 → tavily_python-0.7.11}/tests/test_search.py +0 -0
  24. {tavily_python-0.7.9 → tavily_python-0.7.11}/tests/test_sync_search.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tavily-python
3
- Version: 0.7.9
3
+ Version: 0.7.11
4
4
  Summary: Python wrapper for the Tavily API
5
5
  Home-page: https://github.com/tavily-ai/tavily-python
6
6
  Author: Tavily AI
@@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
5
5
 
6
6
  setup(
7
7
  name='tavily-python',
8
- version='0.7.9',
8
+ version='0.7.11',
9
9
  url='https://github.com/tavily-ai/tavily-python',
10
10
  author='Tavily AI',
11
11
  author_email='support@tavily.com',
@@ -58,6 +58,8 @@ class AsyncTavilyClient:
58
58
  search_depth: Literal["basic", "advanced"] = None,
59
59
  topic: Literal["general", "news", "finance"] = None,
60
60
  time_range: Literal["day", "week", "month", "year"] = None,
61
+ start_date: str = None,
62
+ end_date: str = None,
61
63
  days: int = None,
62
64
  max_results: int = None,
63
65
  include_domains: Sequence[str] = None,
@@ -79,6 +81,8 @@ class AsyncTavilyClient:
79
81
  "search_depth": search_depth,
80
82
  "topic": topic,
81
83
  "time_range": time_range,
84
+ "start_date": start_date,
85
+ "end_date": end_date,
82
86
  "days": days,
83
87
  "include_answer": include_answer,
84
88
  "include_raw_content": include_raw_content,
@@ -129,6 +133,8 @@ class AsyncTavilyClient:
129
133
  search_depth: Literal["basic", "advanced"] = None,
130
134
  topic: Literal["general", "news", "finance"] = None,
131
135
  time_range: Literal["day", "week", "month", "year"] = None,
136
+ start_date: str = None,
137
+ end_date: str = None,
132
138
  days: int = None,
133
139
  max_results: int = None,
134
140
  include_domains: Sequence[str] = None,
@@ -150,6 +156,8 @@ class AsyncTavilyClient:
150
156
  search_depth=search_depth,
151
157
  topic=topic,
152
158
  time_range=time_range,
159
+ start_date=start_date,
160
+ end_date=end_date,
153
161
  days=days,
154
162
  max_results=max_results,
155
163
  include_domains=include_domains,
@@ -176,7 +184,7 @@ class AsyncTavilyClient:
176
184
  include_images: bool = None,
177
185
  extract_depth: Literal["basic", "advanced"] = None,
178
186
  format: Literal["markdown", "text"] = None,
179
- timeout: int = 60,
187
+ timeout: int = 30,
180
188
  include_favicon: bool = None,
181
189
  **kwargs
182
190
  ) -> dict:
@@ -189,6 +197,7 @@ class AsyncTavilyClient:
189
197
  "include_images": include_images,
190
198
  "extract_depth": extract_depth,
191
199
  "format": format,
200
+ "timeout": timeout,
192
201
  "include_favicon": include_favicon,
193
202
  }
194
203
 
@@ -231,7 +240,7 @@ class AsyncTavilyClient:
231
240
  include_images: bool = None,
232
241
  extract_depth: Literal["basic", "advanced"] = None,
233
242
  format: Literal["markdown", "text"] = None,
234
- timeout: int = 60,
243
+ timeout: int = 30,
235
244
  include_favicon: bool = None,
236
245
  **kwargs, # Accept custom arguments
237
246
  ) -> dict:
@@ -41,6 +41,8 @@ class TavilyClient:
41
41
  search_depth: Literal["basic", "advanced"] = None,
42
42
  topic: Literal["general", "news", "finance"] = None,
43
43
  time_range: Literal["day", "week", "month", "year"] = None,
44
+ start_date: str = None,
45
+ end_date: str = None,
44
46
  days: int = None,
45
47
  max_results: int = None,
46
48
  include_domains: Sequence[str] = None,
@@ -63,6 +65,8 @@ class TavilyClient:
63
65
  "search_depth": search_depth,
64
66
  "topic": topic,
65
67
  "time_range": time_range,
68
+ "start_date": start_date,
69
+ "end_date": end_date,
66
70
  "days": days,
67
71
  "include_answer": include_answer,
68
72
  "include_raw_content": include_raw_content,
@@ -114,6 +118,8 @@ class TavilyClient:
114
118
  search_depth: Literal["basic", "advanced"] = None,
115
119
  topic: Literal["general", "news", "finance" ] = None,
116
120
  time_range: Literal["day", "week", "month", "year"] = None,
121
+ start_date: str = None,
122
+ end_date: str = None,
117
123
  days: int = None,
118
124
  max_results: int = None,
119
125
  include_domains: Sequence[str] = None,
@@ -135,6 +141,8 @@ class TavilyClient:
135
141
  search_depth=search_depth,
136
142
  topic=topic,
137
143
  time_range=time_range,
144
+ start_date=start_date,
145
+ end_date=end_date,
138
146
  days=days,
139
147
  max_results=max_results,
140
148
  include_domains=include_domains,
@@ -160,7 +168,7 @@ class TavilyClient:
160
168
  include_images: bool = None,
161
169
  extract_depth: Literal["basic", "advanced"] = None,
162
170
  format: Literal["markdown", "text"] = None,
163
- timeout: int = 60,
171
+ timeout: int = 30,
164
172
  include_favicon: bool = None,
165
173
  **kwargs
166
174
  ) -> dict:
@@ -172,6 +180,7 @@ class TavilyClient:
172
180
  "include_images": include_images,
173
181
  "extract_depth": extract_depth,
174
182
  "format": format,
183
+ "timeout": timeout,
175
184
  "include_favicon": include_favicon,
176
185
  }
177
186
 
@@ -212,7 +221,7 @@ class TavilyClient:
212
221
  include_images: bool = None,
213
222
  extract_depth: Literal["basic", "advanced"] = None,
214
223
  format: Literal["markdown", "text"] = None,
215
- timeout: int = 60,
224
+ timeout: int = 30,
216
225
  include_favicon: bool = None,
217
226
  **kwargs, # Accept custom arguments
218
227
  ) -> dict:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tavily-python
3
- Version: 0.7.9
3
+ Version: 0.7.11
4
4
  Summary: Python wrapper for the Tavily API
5
5
  Home-page: https://github.com/tavily-ai/tavily-python
6
6
  Author: Tavily AI
File without changes
File without changes
File without changes