Skip to content

Commit a424d7b

Browse files
authored
Update pyproject.toml
Declares all dependencies Configures tests under tests/ Exposes CLI entrypoint as planet-client
1 parent 0244352 commit a424d7b

File tree

1 file changed

+15
-24
lines changed

1 file changed

+15
-24
lines changed

pyproject.toml

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,30 @@
11
[tool.poetry]
22
name = "planet_overlap"
33
version = "0.1.0"
4-
description = "PlanetScope imagery query, filtering, and analysis pipeline with smart tiling."
5-
authors = ["<your_email@example.com>"]
6-
license = "MIT"
7-
readme = "README.md"
8-
homepage = "https://github.com/yourusername/planet_overlap"
9-
repository = "https://github.com/yourusername/planet_overlap"
4+
description = "Automated PlanetScope imagery processing for multiple AOIs and date ranges"
5+
authors = ["Hankui Zhang <email@example.com>"]
6+
packages = [{include = "planet_overlap"}]
107

118
[tool.poetry.dependencies]
12-
python = "^3.10"
9+
python = "^3.11"
1310
geopandas = "^1.2"
1411
shapely = "^2.0"
15-
numpy = "^1.25"
16-
pandas = "^2.0"
12+
numpy = "^1.24"
1713
requests = "^2.31"
18-
tqdm = "^4.66"
14+
pandas = "^2.0"
1915

2016
[tool.poetry.dev-dependencies]
21-
pytest = "^7.4"
17+
pytest = "^7.3"
2218
pytest-cov = "^4.1"
23-
mypy = "^1.5"
24-
black = "^24.10"
25-
isort = "^6.0"
26-
pre-commit = "^3.0"
2719

28-
[tool.planet_overlap.defaults]
29-
# Default configurable thresholds
30-
output_dir = "/gpfs/scratch/personname/workspace/planet/"
31-
max_cloud = 0.5 # Fractional (50%)
32-
min_sun_angle = 8 # Degrees
33-
tile_size_deg = 1.0 # Decimal degrees
34-
point_buffer_deg = 0.001 # ~100 m buffer for points
35-
scene_threshold = 2000 # Estimated scene count triggering temporal tiling
20+
[tool.poetry.scripts]
21+
planet-client = "planet_overlap.client:run_client"
3622

3723
[build-system]
38-
requires = ["poetry-core"]
24+
requires = ["poetry-core>=1.3.2"]
3925
build-backend = "poetry.core.masonry.api"
26+
27+
[tool.pytest.ini_options]
28+
minversion = "7.0"
29+
addopts = "--cov=planet_overlap --cov-report=term-missing"
30+
testpaths = ["tests"]

0 commit comments

Comments
 (0)