-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (75 loc) · 2.28 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
[tool.poetry]
name = "vector2dggs"
version = "0.18.0"
description = "CLI DGGS indexer for vector geospatial data"
authors = ["James Ardo <ardoj@landcareresearch.co.nz>"]
maintainers = ["Richard Law <lawr@landcareresearch.co.nz>"]
readme = "README.md"
license = "LGPL-3.0-or-later"
repository = "https://github.com/manaakiwhenua/vector2dggs"
keywords = ["dggs", "vector", "h3", "rHEALPix", "cli"]
classifiers = [
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Information Analysis"
]
[tool.poetry.dependencies]
python = "^3.11"
geopandas = "^1.1.2"
pyogrio = "^0.13"
dask-geopandas = "^0.5"
dask = "^2025.1"
click = "^8.1.7"
tqdm = "^4.67"
click-log = "^0.4.0"
pyarrow = "^23.0.1"
pyproj = "^3.7"
sqlalchemy = "^2.0.32"
shapely = "^2.1"
numpy = "^2"
h3 = { version = "^4.1", optional = true }
rhppandas = { version = "^0.2.0", optional = true}
rhealpixdggs = { version = "^0.5.12", optional = true}
s2geometry = { version = "^0.14.0", optional = true}
rusty-polygon-geohasher = { version = "^0.2.3", optional = true}
python-geohash = { version = "^0.8.5", optional = true}
pya5 = { version = "^0.9.0", optional = true }
psycopg2-binary = { version = "^2.9.9", optional = true }
antimeridian = "^0.4.8"
[tool.poetry.group.dev.dependencies]
pytest = "^9"
pytest-xdist = "^3.6"
twine ="^6"
black = "^26.3.1"
ruff = "^0.16.0"
mypy = "^2.3.0"
testcontainers = {extras = ["postgres"], version = "^4.15.0"}
geoalchemy2 = "^0.20.0"
[tool.poetry.scripts]
vector2dggs = "vector2dggs.cli:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "C4"]
ignore = ["E501"] # line length is black's job
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
check_untyped_defs = true
[tool.poetry.extras]
h3 = ["h3"]
rhp = ["rhppandas", "rhealpixdggs"]
s2 = ["s2geometry"]
a5 = ["pya5"]
geohash = ["rusty-polygon-geohasher", "python-geohash"]
postgres = ["psycopg2-binary"]
# Convenience extras
all = ["h3", "rhppandas", "rhealpixdggs", "s2geometry", "rusty-polygon-geohasher", "python-geohash", "pya5", "psycopg2-binary"]