forked from GeomaticsCaminosUPM/UrbanAccessAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
83 lines (73 loc) · 1.55 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
[project]
name = "UrbanAccessAnalyzer"
version = "1.0.0"
authors = [
{name = "Miguel Ureña Pliego"}
]
description = "Use graphs and OSM data to compute isochrones and accessibility to services"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"dill>=0.4.1",
"geopandas>=1.0.0",
"geopy>=2.4.1",
"networkx>=3.5",
"numpy>=1.22",
"osmnx>=2.0.7",
"pandas>=2.2.0",
"polars>=1.25.0",
"pyarrow>=18.0.0",
"pycountry>=24.6.1",
"rapidfuzz>=3.13.0",
"rasterio>=1.4.3",
"requests>=2.0.0",
"scikit-image>=0.25.2",
"scikit-learn>=1.5.0",
"shapely>=2.1.1",
"tqdm>=4.0.0",
]
# ---- Optional Dependencies (extras) ----
[project.optional-dependencies]
# OpenStreetMaps
osm = [
"osm2geojson>=0.2.6",
"osmnx>=2.0.5",
]
# H3 Uber hexagons
h3 = [
"h3>=4.3.1",
]
# All dependencies for visualization and mapping
plot = [
"matplotlib>=3.10.7",
"contextily>=1.6.0",
"mapclassify>=2.10.0",
"folium>=0.20.0",
"streamlit-folium>=0.25.3",
"plotly>=5.24.0",
"seaborn>=0.13.2",
"streamlit>=1.50.0",
]
# Census data
census = [
"us>=3.2.0",
"pygris>=0.2.1",
]
# Optional extras for development or docs
dev = [
"pre-commit>=4.2.0",
"pytest>=8.0.0",
"black>=24.8.0",
"ruff>=0.6.0",
]
docs = [
"sphinx>=7.3.0",
"myst-parser>=3.0.1",
"furo>=2024.8.0",
]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["UrbanAccessAnalyzer*"]
exclude = ["tutorials*"]