Skip to content

Commit c16705b

Browse files
committed
docs: updated precommit and installation guide
1 parent a9c1fa5 commit c16705b

File tree

4 files changed

+21
-229
lines changed

4 files changed

+21
-229
lines changed

scrapegraph-py/.pre-commit-config.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,3 @@ repos:
2121
- id: end-of-file-fixer
2222
- id: check-yaml
2323
exclude: mkdocs.yml
24-
25-
- repo: https://github.com/gitguardian/ggshield
26-
rev: v1.33.0
27-
hooks:
28-
- id: ggshield
29-
language_version: python3
30-
stages: [commit]

scrapegraph-py/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,19 @@ Official Python SDK for the ScrapeGraph AI API - Smart web scraping powered by A
2525
pip install scrapegraph-py
2626
```
2727

28-
### Using Poetry (Recommended)
28+
### Using uv
29+
30+
We recommend using [uv](https://docs.astral.sh/uv/) to install the dependencies and pre-commit hooks.
2931

3032
```
31-
# Install poetry if you haven't already
32-
pip install poetry
33+
# Install uv if you haven't already
34+
pip install uv
3335
3436
# Install dependencies
35-
poetry install
37+
uv sync
3638
3739
# Install pre-commit hooks
38-
poetry run pre-commit install
40+
uv run pre-commit install
3941
```
4042

4143
## 🔧 Quick Start
@@ -167,4 +169,4 @@ Contributions are welcome! Please feel free to submit a Pull Request. For major
167169

168170
---
169171

170-
Made with ❤️ by [ScrapeGraph AI](https://scrapegraphai.com)
172+
Made with ❤️ by [ScrapeGraph AI](https://scrapegraphai.com)

scrapegraph-py/pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ authors = [
88
{ name = "Lorenzo Padoan", email = "[email protected]" }
99
]
1010

11-
dependencies = [
12-
"requests>=2.32.3",
13-
"pydantic>=2.10.2",
14-
"python-dotenv>=1.0.1",
15-
"aiohttp>=3.11.8",
16-
"requests>=2.32.3",
17-
"validators>=0.34.0",
18-
]
19-
2011
license = "MIT"
2112
readme = "README.md"
2213
homepage = "https://scrapegraphai.com/"
@@ -43,7 +34,16 @@ classifiers = [
4334
"Programming Language :: Python :: 3",
4435
"Operating System :: OS Independent",
4536
]
46-
requires-python = ">=3.9,<4.0"
37+
requires-python = ">=3.10,<4.0"
38+
39+
dependencies = [
40+
"requests>=2.32.3",
41+
"pydantic>=2.10.2",
42+
"python-dotenv>=1.0.1",
43+
"aiohttp>=3.11.8",
44+
"requests>=2.32.3",
45+
"validators>=0.34.0",
46+
]
4747

4848
[project.optional-dependencies]
4949
docs = ["sphinx==6.0", "furo==2024.5.6"]
@@ -73,7 +73,7 @@ dev-dependencies = [
7373

7474
[tool.black]
7575
line-length = 88
76-
target-version = ["py39"]
76+
target-version = ["py310"]
7777

7878
[tool.isort]
7979
profile = "black"
@@ -86,7 +86,7 @@ select = ["F", "E", "W", "C"]
8686
ignore = ["E203", "E501"] # Ignore conflicts with Black
8787

8888
[tool.mypy]
89-
python_version = "3.9"
89+
python_version = "3.10"
9090
strict = true
9191
disallow_untyped_calls = true
9292
ignore_missing_imports = true

0 commit comments

Comments
 (0)