Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (63 loc) · 1.57 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "python-kma-api"
version = "0.1.0"
description = "Python helper library for the Korea Meteorological Administration public weather APIs."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "GPL-3.0-or-later"}
authors = [
{name = "digitie"}
]
keywords = ["kma", "weather", "forecast", "korea", "data.go.kr"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.7",
"httpx>=0.27",
]
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-asyncio>=0.24",
"ruff>=0.5",
"mypy>=1.10",
]
debug-ui = [
"pandas>=2",
"streamlit>=1.36",
]
[project.scripts]
kma = "kma.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["kma*"]
[tool.setuptools.package-data]
kma = ["py.typed"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_unused_ignores = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"integration: tests that call real KMA/APIHub servers and require local API keys",
]