-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (90 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
102 lines (90 loc) · 1.96 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[project]
name = "chuk-mcp-stac"
version = "0.3"
description = "Satellite Imagery Discovery & Retrieval MCP Server"
authors = []
license = { text = "Apache-2.0" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"chuk-mcp-server>=0.25.4",
"python-dotenv>=1.1.1",
"pydantic>=2.0.0",
# STAC client
"pystac-client>=0.8.0",
# Raster I/O (for COG reading & band extraction)
"rasterio>=1.3.0",
"numpy>=1.24.0",
# CRS handling
"pyproj>=3.6.0",
# Retry logic
"tenacity>=8.2.0",
# PNG output for RGB composites
"Pillow>=9.0.0",
# Map visualisation
"chuk-view-schemas==0.1.8",
"chuk-artifacts>=0.11.3",
]
[project.optional-dependencies]
pc = [
"planetary-computer>=1.0.0",
]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.10.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
"bandit>=1.7.0",
"pre-commit>=3.0.0",
"matplotlib>=3.7.0",
]
[project.scripts]
chuk-mcp-stac = "chuk_mcp_stac.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/chuk_mcp_stac"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 100
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-ra",
"--strict-markers",
"--tb=short",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
branch = true
source = ["src/chuk_mcp_stac"]
omit = [
"*/tests/*",
"*/examples/*",
]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.bandit]
exclude_dirs = ["tests"]
skips = ["B101"]