-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (57 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
69 lines (57 loc) · 1.83 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "overture-pipeline"
version = "0.1.0"
description = "Cloud-native ETL pipeline for Overture Maps data to ArcGIS Online"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Ryan Arias Delafosse, World Bank", email = "rariasdelafosse@worldbank.org" }
]
dependencies = [
# Core geospatial and data processing
"arcgis>=2.4,<2.5",
"arcgis-mapping",
"duckdb>=1.1.3,<1.2",
"pyarrow>=16.1.0,<17.0", # Constrained by ArcGIS API requirements
"geopandas>=1.0.1,<1.1",
"fiona>=1.8.0,<2.0", # Included in geopandas but calling incase it is not clear to terminal
"pyogrio>=0.10.0,<0.11",
"shapely>=2.0.6,<2.1",
"pyproj>=3.6.1,<3.7",
"pandas>=2.0.0,<2.2.0", # Constrained by ArcGIS API requirements
# HTTP and cloud access for optimized downloads
"requests>=2.31.0,<3.0",
"boto3>=1.34.0,<1.35", # Optional S3 optimization
"tqdm>=4.66.0,<5.0", # Progress bars for downloads
# CLI and configuration
"typer==0.12.3",
"click<8.2.0", # Typer compatibility constraint
"python-dotenv>=1.0.0",
"pyyaml>=6.0",
"pydantic>=2.0.0,<3.0", # Type validation and domain models
# Development tools
"pytest>=8.2.0",
"ruff>=0.5.6",
"mypy>=1.10.0",
]
[project.scripts]
o2agol = "o2agol.cli:app"
[tool.ruff]
line-length = 100
target-version = "py311"
lint.select = ["E","F","I","UP","B","SIM"]
lint.ignore = ["E501", "UP045"] # UP045: Typer doesn't support X | None syntax
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]