-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
100 lines (89 loc) · 2.34 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "scrapegraph_py"
version = "1.8.0"
description = "ScrapeGraph Python SDK for API"
authors = [
{ name = "Marco Vinciguerra", email = "mvincig11@gmail.com" },
{ name = "", email = "perinim.98@gmail.com" },
{ name = "Lorenzo Padoan", email = "lorenzo.padoan977@gmail.com" }
]
license = "MIT"
readme = "README.md"
homepage = "https://scrapegraphai.com/"
repository = "https://github.com/ScrapeGraphAI/scrapegraph-sdk"
documentation = "https://github.com/ScrapeGraphAI/scrapegraph-sdk/tree/main/scrapegraph-py#readme"
keywords = [
"ai",
"artificial intelligence",
"gpt",
"machine learning",
"nlp",
"natural language processing",
"openai",
"scraping",
"web scraping tool",
"webscraping",
"graph",
"sdk",
"api"
]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3.10,<4.0"
dependencies = [
"requests>=2.32.3",
"pydantic>=2.10.2",
"python-dotenv>=1.0.1",
"aiohttp>=3.10",
"requests>=2.32.3",
"beautifulsoup4>=4.12.3",
]
[project.optional-dependencies]
docs = ["sphinx==6.0", "furo==2024.5.6"]
[tool.uv]
managed = true
dev-dependencies = [
"pytest>=7.4.0",
"pytest-mock==3.14.0",
"pylint>=3.2.5",
"pytest-asyncio>=0.23.8",
"aioresponses>=0.7.7",
"responses>=0.25.3",
"pytest-sugar>=1.0.0",
"pytest-cov>=6.0.0",
"black>=24.10.0",
"mypy>=1.13.0",
"ruff>=0.8.0",
"isort>=5.13.2",
"pre-commit>=4.0.1",
"types-setuptools>=75.6.0.20241126",
"mkdocs>=1.6.1",
"mkdocs-material>=9.5.46",
"mkdocstrings-python>=1.12.2",
"poethepoet>=0.31.1",
]
[tool.black]
line-length = 88
target-version = ["py310"]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["F", "E", "W", "C"]
ignore = ["E203", "E501", "C901"] # Ignore conflicts with Black and function complexity
[tool.mypy]
python_version = "3.10"
strict = true
disallow_untyped_calls = true
ignore_missing_imports = true
[build-system]
requires = ["hatchling==1.26.3"]
build-backend = "hatchling.build"
[tool.poe.tasks]
pylint-local = "pylint scrapegraph_py/**/*.py"
pylint-ci = "pylint --disable=C0114,C0115,C0116,C901 --exit-zero scrapegraph_py/**/*.py"