Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 1.93 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mrscraper-sdk"
version = "0.2.1"
description = "Python SDK for the MrScraper web-scraping API"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
authors = [
{ name = "Riandra Diva Auzan", url = "https://mrscraper.com" },
{ name = "R&D Team MrScraper", url = "https://mrscraper.com" }
]
keywords = ["scraping", "web scraping", "mrscraper", "api", "sdk", "unblocker", "crawling"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.27",
]
[project.urls]
Homepage = "https://mrscraper.com"
Documentation = "https://docs.mrscraper.com"
Repository = "https://github.com/mrscraper/mrscraper-python"
"Bug Tracker" = "https://github.com/mrscraper/mrscraper-python/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/mrscraper"]
[tool.hatch.build.targets.sdist]
include = [
"src/",
"tests/",
"README.md",
"LICENSE",
"pyproject.toml",
]
dev = [
"pytest>=8",
"pytest-asyncio>=0.24",
"respx>=0.21",
"ruff>=0.4",
"mypy>=1.10",
]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.9"
strict = true
files = ["src/mrscraper"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"integration: marks tests as integration tests (hit real API)",
]