Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ uv run pytest tests/ -v

No exceptions.

## Versioning & Releases

Use **semantic-release** to manage versions. Prefer **patch bumps (+0.0.1)** as much as possible — reserve minor (+0.1.0) for genuinely new user-facing features and major (+1.0.0) for breaking changes only.

Commit message conventions that drive the bump:

- `fix:` → patch (+0.0.1) — **default choice** for most changes
- `docs:` → patch (+0.0.1) — documentation updates
- `chore:` → patch (+0.0.1) — maintenance, tooling, deps
- `feat:` → minor (+0.1.0) — only for meaningful new features
- `BREAKING CHANGE:` footer or `!` suffix → major (+1.0.0) — only for breaking API changes

When in doubt, frame the change as `fix:`, `docs:`, or `chore:` to keep the bump at patch level.

## Architecture

**Core Components:**
Expand Down
32 changes: 15 additions & 17 deletions cookbook/company-info/scrapegraph_sdk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"id": "jEkuKbcRrPcK"
},
"source": [
"## \ud83d\udd77\ufe0f Extract Company Info with Official Scrapegraph SDK\n",
"\n",
"[![Open in Alph](https://www.runalph.ai/badges/open-in-alph.svg)](https://www.runalph.ai/notebooks/scrapegraphai/scrapegraph-sdk) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/12d7LycLAYO2bFsBo_jtPHXSaIg7AqR3O?usp=sharing)"
"## 🕷️ Extract Company Info with Official Scrapegraph SDK\n"
]
},
{
Expand All @@ -26,7 +24,7 @@
"id": "IzsyDXEWwPVt"
},
"source": [
"### \ud83d\udd27 Install `dependencies`"
"### 🔧 Install `dependencies`"
]
},
{
Expand All @@ -47,7 +45,7 @@
"id": "apBsL-L2KzM7"
},
"source": [
"### \ud83d\udd11 Import `ScrapeGraph` API key"
"### 🔑 Import `ScrapeGraph` API key"
]
},
{
Expand Down Expand Up @@ -85,7 +83,7 @@
"output_type": "stream",
"text": [
"SGAI_API_KEY not found in environment.\n",
"Please enter your SGAI_API_KEY: \u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\n",
"Please enter your SGAI_API_KEY: ··········\n",
"SGAI_API_KEY has been set in the environment.\n"
]
}
Expand All @@ -104,7 +102,7 @@
"id": "jnqMB2-xVYQ7"
},
"source": [
"### \ud83d\udcdd Defining an `Output Schema` for Webpage Content Extraction\n"
"### 📝 Defining an `Output Schema` for Webpage Content Extraction\n"
]
},
{
Expand Down Expand Up @@ -198,7 +196,7 @@
"outputs": [],
"source": [
"from pydantic import BaseModel, Field\n",
"from typing import List, Dict, Optional\n",
"from typing import List\n",
"\n",
"# Schema for founder information\n",
"class FounderSchema(BaseModel):\n",
Expand Down Expand Up @@ -239,7 +237,7 @@
"id": "cDGH0b2DkY63"
},
"source": [
"### \ud83d\ude80 Initialize `SGAI Client` and start extraction"
"### 🚀 Initialize `SGAI Client` and start extraction"
]
},
{
Expand Down Expand Up @@ -420,7 +418,7 @@
"id": "2as65QLypwdb"
},
"source": [
"### \ud83d\udcbe Save the output to a `CSV` file"
"### 💾 Save the output to a `CSV` file"
]
},
{
Expand Down Expand Up @@ -1885,7 +1883,7 @@
"id": "-1SZT8VzTZNd"
},
"source": [
"## \ud83d\udd17 Resources"
"## 🔗 Resources"
]
},
{
Expand All @@ -1901,13 +1899,13 @@
"</p>\n",
"\n",
"\n",
"- \ud83d\ude80 **Get your API Key:** [ScrapeGraphAI Dashboard](https://dashboard.scrapegraphai.com) \n",
"- \ud83d\udc19 **GitHub:** [ScrapeGraphAI GitHub](https://github.com/scrapegraphai) \n",
"- \ud83d\udcbc **LinkedIn:** [ScrapeGraphAI LinkedIn](https://www.linkedin.com/company/scrapegraphai/) \n",
"- \ud83d\udc26 **Twitter:** [ScrapeGraphAI Twitter](https://twitter.com/scrapegraphai) \n",
"- \ud83d\udcac **Discord:** [Join our Discord Community](https://discord.gg/uJN7TYcpNa) \n",
"- 🚀 **Get your API Key:** [ScrapeGraphAI Dashboard](https://dashboard.scrapegraphai.com) \n",
"- 🐙 **GitHub:** [ScrapeGraphAI GitHub](https://github.com/scrapegraphai) \n",
"- 💼 **LinkedIn:** [ScrapeGraphAI LinkedIn](https://www.linkedin.com/company/scrapegraphai/) \n",
"- 🐦 **Twitter:** [ScrapeGraphAI Twitter](https://twitter.com/scrapegraphai) \n",
"- 💬 **Discord:** [Join our Discord Community](https://discord.gg/uJN7TYcpNa) \n",
"\n",
"Made with \u2764\ufe0f by the [ScrapeGraphAI](https://scrapegraphai.com) Team \n"
"Made with ❤️ by the [ScrapeGraphAI](https://scrapegraphai.com) Team \n"
]
}
],
Expand Down
40 changes: 19 additions & 21 deletions cookbook/github-trending/scrapegraph_sdk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"id": "jEkuKbcRrPcK"
},
"source": [
"## \ud83d\udd77\ufe0f Extract Github Trending Repositories with Official Scrapegraph SDK\n",
"\n",
"[![Open in Alph](https://www.runalph.ai/badges/open-in-alph.svg)](https://www.runalph.ai/notebooks/scrapegraphai/scrapegraph-sdk-1) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1SSsI0naieeHjHcJkW22CqNIZwLHWjXmd?usp=sharing)"
"## 🕷️ Extract Github Trending Repositories with Official Scrapegraph SDK\n"
]
},
{
Expand All @@ -26,7 +24,7 @@
"id": "IzsyDXEWwPVt"
},
"source": [
"### \ud83d\udd27 Install `dependencies`"
"### 🔧 Install `dependencies`"
]
},
{
Expand All @@ -47,7 +45,7 @@
"id": "apBsL-L2KzM7"
},
"source": [
"### \ud83d\udd11 Import `ScrapeGraph` API key"
"### 🔑 Import `ScrapeGraph` API key"
]
},
{
Expand Down Expand Up @@ -81,11 +79,11 @@
},
"outputs": [
{
"name": "stdin",
"name": "stdout",
"output_type": "stream",
"text": [
"Scrapegraph API key:\n",
" \u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\n"
" ········\n"
]
}
],
Expand All @@ -103,7 +101,7 @@
"id": "jnqMB2-xVYQ7"
},
"source": [
"### \ud83d\udcdd Defining an `Output Schema` for Webpage Content Extraction\n"
"### 📝 Defining an `Output Schema` for Webpage Content Extraction\n"
]
},
{
Expand Down Expand Up @@ -190,7 +188,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"id": "dlrOEgZk_8V4"
},
Expand Down Expand Up @@ -221,7 +219,7 @@
"id": "cDGH0b2DkY63"
},
"source": [
"### \ud83d\ude80 Initialize `SGAI Client` and start extraction"
"### 🚀 Initialize `SGAI Client` and start extraction"
]
},
{
Expand Down Expand Up @@ -2532,7 +2530,7 @@
"id": "2as65QLypwdb"
},
"source": [
"### \ud83d\udcbe Save the output to a `CSV` file"
"### 💾 Save the output to a `CSV` file"
]
},
{
Expand Down Expand Up @@ -2689,15 +2687,15 @@
" <tr>\n",
" <th>274</th>\n",
" <td>datawhalechina/hello-agents</td>\n",
" <td>\ud83d\udcda \u300a\u4ece\u96f6\u5f00\u59cb\u6784\u5efa\u667a\u80fd\u4f53\u300b----\u4ece\u96f6\u5f00\u59cb\u7684\u667a\u80fd\u4f53\u539f\u7406\u4e0e\u5b9e\u8df5\u6559\u7a0b</td>\n",
" <td>📚 《从零开始构建智能体》----从零开始的智能体原理与实践教程</td>\n",
" <td>47116</td>\n",
" <td>5669</td>\n",
" <td>748</td>\n",
" <td>Python</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>275 rows \u00d7 6 columns</p>\n",
"<p>275 rows × 6 columns</p>\n",
"</div>"
],
"text/plain": [
Expand Down Expand Up @@ -2725,7 +2723,7 @@
"271 Self-evolving agent: grows skill tree from 3.3... 10714 1205 \n",
"272 Unlimited FREE AI coding. Connect Claude Code,... 7644 1262 \n",
"273 The agent harness performance optimization sys... 178795 27573 \n",
"274 \ud83d\udcda \u300a\u4ece\u96f6\u5f00\u59cb\u6784\u5efa\u667a\u80fd\u4f53\u300b----\u4ece\u96f6\u5f00\u59cb\u7684\u667a\u80fd\u4f53\u539f\u7406\u4e0e\u5b9e\u8df5\u6559\u7a0b 47116 5669 \n",
"274 📚 《从零开始构建智能体》----从零开始的智能体原理与实践教程 47116 5669 \n",
"\n",
" today_stars language \n",
"0 0 No content available \n",
Expand Down Expand Up @@ -2807,7 +2805,7 @@
"id": "-1SZT8VzTZNd"
},
"source": [
"## \ud83d\udd17 Resources"
"## 🔗 Resources"
]
},
{
Expand All @@ -2823,13 +2821,13 @@
"</p>\n",
"\n",
"\n",
"- \ud83d\ude80 **Get your API Key:** [ScrapeGraphAI Dashboard](https://scrapegraphai.com/dashboard) \n",
"- \ud83d\udc19 **GitHub:** [ScrapeGraphAI GitHub](https://github.com/scrapegraphai) \n",
"- \ud83d\udcbc **LinkedIn:** [ScrapeGraphAI LinkedIn](https://www.linkedin.com/company/scrapegraphai/) \n",
"- \ud83d\udc26 **Twitter:** [ScrapeGraphAI Twitter](https://twitter.com/scrapegraphai) \n",
"- \ud83d\udcac **Discord:** [Join our Discord Community](https://discord.gg/uJN7TYcpNa) \n",
"- 🚀 **Get your API Key:** [ScrapeGraphAI Dashboard](https://scrapegraphai.com/dashboard) \n",
"- 🐙 **GitHub:** [ScrapeGraphAI GitHub](https://github.com/scrapegraphai) \n",
"- 💼 **LinkedIn:** [ScrapeGraphAI LinkedIn](https://www.linkedin.com/company/scrapegraphai/) \n",
"- 🐦 **Twitter:** [ScrapeGraphAI Twitter](https://twitter.com/scrapegraphai) \n",
"- 💬 **Discord:** [Join our Discord Community](https://discord.gg/uJN7TYcpNa) \n",
"\n",
"Made with \u2764\ufe0f by the [ScrapeGraphAI](https://scrapegraphai.com) Team \n"
"Made with ❤️ by the [ScrapeGraphAI](https://scrapegraphai.com) Team \n"
]
}
],
Expand Down
880 changes: 880 additions & 0 deletions cookbook/wired-news/scrapegraph_sdk.ipynb

Large diffs are not rendered by default.

Loading
Loading