zrb 1.14.6__py3-none-any.whl → 1.14.7__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.
@@ -2,8 +2,6 @@ import json
2
2
  from collections.abc import Callable
3
3
  from urllib.parse import urljoin
4
4
 
5
- from bs4 import BeautifulSoup
6
-
7
5
 
8
6
  async def open_web_page(url: str) -> str:
9
7
  """
@@ -146,6 +144,7 @@ async def _fetch_page_content(url: str) -> tuple[str, list[str]]:
146
144
  await browser.close()
147
145
  except Exception:
148
146
  import requests
147
+ from bs4 import BeautifulSoup
149
148
 
150
149
  response = requests.get(url, headers={"User-Agent": user_agent})
151
150
  if response.status_code != 200:
@@ -165,6 +164,7 @@ async def _fetch_page_content(url: str) -> tuple[str, list[str]]:
165
164
 
166
165
  def _convert_html_to_markdown(html_text: str) -> str:
167
166
  """Converts HTML content to a clean Markdown representation."""
167
+ from bs4 import BeautifulSoup
168
168
  from markdownify import markdownify as md
169
169
 
170
170
  soup = BeautifulSoup(html_text, "html.parser")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zrb
3
- Version: 1.14.6
3
+ Version: 1.14.7
4
4
  Summary: Your Automation Powerhouse
5
5
  Home-page: https://github.com/state-alchemists/zrb
6
6
  License: AGPL-3.0-or-later
@@ -21,7 +21,7 @@ zrb/builtin/llm/tool/code.py,sha256=GRP_IZAkeL6RIlUm407BQRF992ES57pdzPaQdC5UsJU,
21
21
  zrb/builtin/llm/tool/file.py,sha256=hKqT-r4S9FTMv3CmNWuIL5y6q13hp9Ggo0vwUGg3HxI,22585
22
22
  zrb/builtin/llm/tool/rag.py,sha256=wB74JV7bxs0ec77b_09Z2lPjoR1WzPUvZbuXOdb9Q9g,9675
23
23
  zrb/builtin/llm/tool/sub_agent.py,sha256=0YA6OTLHa-w4VKsxboGDLCrZV2k3XnLQDW0HZev_W2M,4900
24
- zrb/builtin/llm/tool/web.py,sha256=csSX7dHVIszGTcBWFykpNKXwXD-ayqkRew-kHoV8PGA,7092
24
+ zrb/builtin/llm/tool/web.py,sha256=oyTkzoLBA3dfvwn93y70Rg1cYxT0AsXZsW30mHMawrY,7133
25
25
  zrb/builtin/md5.py,sha256=690RV2LbW7wQeTFxY-lmmqTSVEEZv3XZbjEUW1Q3XpE,1480
26
26
  zrb/builtin/project/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  zrb/builtin/project/add/fastapp/fastapp_input.py,sha256=MKlWR_LxWhM_DcULCtLfL_IjTxpDnDBkn9KIqNmajFs,310
@@ -406,7 +406,7 @@ zrb/util/todo.py,sha256=r9_KYF2-hLKMNjsp6AFK9zivykMrywd-kJ4bCwfdafI,19323
406
406
  zrb/util/todo_model.py,sha256=hhzAX-uFl5rsg7iVX1ULlJOfBtblwQ_ieNUxBWfc-Os,1670
407
407
  zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
408
408
  zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
409
- zrb-1.14.6.dist-info/METADATA,sha256=kQWZFnqtvILW2mqlUbWfaI0_77DcQkYleTMlqPaqm4g,9709
410
- zrb-1.14.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
411
- zrb-1.14.6.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
412
- zrb-1.14.6.dist-info/RECORD,,
409
+ zrb-1.14.7.dist-info/METADATA,sha256=yfoND3r81K4RGQuI6r3WK_11LXfbQromJetn2qij5eM,9709
410
+ zrb-1.14.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
411
+ zrb-1.14.7.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
412
+ zrb-1.14.7.dist-info/RECORD,,
File without changes