Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.8 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 1.8 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
[project]
name = "ahrefs-python"
version = "0.9.0-alpha"
description = "Python client for the Ahrefs API"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{name = "Gerwyn Ng", email = "gerwyn.ng@ahrefs.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
keywords = ["ahrefs", "seo", "api", "backlinks", "keywords"]
dependencies = [
"httpx>=0.25.0",
"pydantic>=2.0.0",
]
[project.urls]
Homepage = "https://ahrefs.com"
Repository = "https://github.com/ahrefs/ahrefs-python"
Documentation = "https://docs.ahrefs.com/docs/api/v3/"
Issues = "https://github.com/ahrefs/ahrefs-python/issues"
Changelog = "https://github.com/ahrefs/ahrefs-python/blob/master/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"respx>=0.21",
"mypy>=1.10",
"ruff>=0.5",
"build>=1.0",
"twine>=5.0",
"mdformat>=0.7",
"mdformat-toc>=0.3",
]
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
packages = [{ include = "ahrefs", from = "src" }]
[tool.mypy]
plugins = ["pydantic.mypy"]
strict = true
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
"src/ahrefs/_generated_methods.py" = ["E501"]
"src/ahrefs/types/_generated.py" = ["E501"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
markers = [
"integration: requires AHREFS_API_KEY and live API access",
]
asyncio_mode = "auto"