Skip to content

Commit 51563a1

Browse files
committed
add basic structure
0 parents  commit 51563a1

File tree

8 files changed

+168
-0
lines changed

8 files changed

+168
-0
lines changed

examples/.env.examples

Whitespace-only changes.

pyproject.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[project]
2+
name = "scrapegraphaiapisdk"
3+
version = "0.0.1"
4+
description = "library for extracting reference from documents"
5+
authors = [
6+
{ name = "Marco Vinciguerra", email = "[email protected]" },
7+
{ name = "Marco Perini", email = "[email protected]" },
8+
{ name = "Lorenzo Padoan", email = "[email protected]" }
9+
]
10+
11+
dependencies = [
12+
]
13+
14+
license = "MIT"
15+
readme = "README.md"
16+
homepage = "https://scrapegraphai.com/"
17+
repository = ""
18+
documentation = ""
19+
keywords = [
20+
"ai",
21+
"artificial intelligence",
22+
"gpt",
23+
"machine learning",
24+
"nlp",
25+
"natural language processing",
26+
"openai",
27+
"scraping",
28+
"web scraping tool",
29+
"webscraping",
30+
"graph",
31+
]
32+
classifiers = [
33+
"Intended Audience :: Developers",
34+
"Topic :: Software Development :: Libraries :: Python Modules",
35+
"Programming Language :: Python :: 3",
36+
"Operating System :: OS Independent",
37+
]
38+
requires-python = ">=3.9,<4.0"
39+
40+
[project.optional-dependencies]
41+
docs = ["sphinx==6.0", "furo==2024.5.6"]
42+
43+
[build-system]
44+
requires = ["hatchling"]
45+
build-backend = "hatchling.build"
46+
47+
[tool.rye]
48+
managed = true
49+
dev-dependencies = [
50+
"pytest==8.0.0",
51+
"pytest-mock==3.14.0",
52+
"-e file:.[docs]",
53+
"pylint>=3.2.5",
54+
]

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
Official SDK for ScrapeGraphAI API.

requirements-dev.lock

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# generated by rye
2+
# use `rye lock` or `rye sync` to update this lockfile
3+
#
4+
# last locked with the following flags:
5+
# pre: false
6+
# features: []
7+
# all-features: false
8+
# with-sources: false
9+
10+
-e file:.
11+
alabaster==0.7.16
12+
# via sphinx
13+
astroid==3.3.5
14+
# via pylint
15+
babel==2.16.0
16+
# via sphinx
17+
beautifulsoup4==4.12.3
18+
# via furo
19+
certifi==2024.8.30
20+
# via requests
21+
charset-normalizer==3.4.0
22+
# via requests
23+
dill==0.3.9
24+
# via pylint
25+
docutils==0.19
26+
# via sphinx
27+
exceptiongroup==1.2.2
28+
# via pytest
29+
furo==2024.5.6
30+
# via scrapegraphaiapisdk
31+
idna==3.10
32+
# via requests
33+
imagesize==1.4.1
34+
# via sphinx
35+
importlib-metadata==8.5.0
36+
# via sphinx
37+
iniconfig==2.0.0
38+
# via pytest
39+
isort==5.13.2
40+
# via pylint
41+
jinja2==3.1.4
42+
# via sphinx
43+
markupsafe==3.0.2
44+
# via jinja2
45+
mccabe==0.7.0
46+
# via pylint
47+
packaging==24.1
48+
# via pytest
49+
# via sphinx
50+
platformdirs==4.3.6
51+
# via pylint
52+
pluggy==1.5.0
53+
# via pytest
54+
pygments==2.18.0
55+
# via furo
56+
# via sphinx
57+
pylint==3.3.1
58+
pytest==8.0.0
59+
# via pytest-mock
60+
pytest-mock==3.14.0
61+
requests==2.32.3
62+
# via sphinx
63+
snowballstemmer==2.2.0
64+
# via sphinx
65+
soupsieve==2.6
66+
# via beautifulsoup4
67+
sphinx==6.0.0
68+
# via furo
69+
# via scrapegraphaiapisdk
70+
# via sphinx-basic-ng
71+
sphinx-basic-ng==1.0.0b2
72+
# via furo
73+
sphinxcontrib-applehelp==2.0.0
74+
# via sphinx
75+
sphinxcontrib-devhelp==2.0.0
76+
# via sphinx
77+
sphinxcontrib-htmlhelp==2.1.0
78+
# via sphinx
79+
sphinxcontrib-jsmath==1.0.1
80+
# via sphinx
81+
sphinxcontrib-qthelp==2.0.0
82+
# via sphinx
83+
sphinxcontrib-serializinghtml==2.0.0
84+
# via sphinx
85+
tomli==2.0.2
86+
# via pylint
87+
# via pytest
88+
tomlkit==0.13.2
89+
# via pylint
90+
typing-extensions==4.12.2
91+
# via astroid
92+
# via pylint
93+
urllib3==2.2.3
94+
# via requests
95+
zipp==3.20.2
96+
# via importlib-metadata

requirements.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# generated by rye
2+
# use `rye lock` or `rye sync` to update this lockfile
3+
#
4+
# last locked with the following flags:
5+
# pre: false
6+
# features: []
7+
# all-features: false
8+
# with-sources: false
9+
10+
-e file:.

scrapegraphaiapisdk/__init__.py

Whitespace-only changes.

scrapegraphaiapisdk/scrape.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
def scrape(url: str) -> str:
3+
pass

scrapegraphaiapisdk/status.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
def status() -> str:
3+
pass

0 commit comments

Comments
 (0)