-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 2.53 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (60 loc) · 2.53 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>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "closecity"
version = "1.5.0"
description = "Python client for the Close API (api.close.city). Travel times to points of interest for every US census block."
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Henry Spatial Analysis", email = "nat@henryspatialanalysis.com" },
{ name = "Nathaniel Henry", email = "nat@henryspatialanalysis.com" },
]
maintainers = [{ name = "Henry Spatial Analysis", email = "nat@henryspatialanalysis.com" }]
keywords = ["close", "travel-time", "isochrone", "census", "accessibility", "gis"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = ["httpx>=0.27", "pandas>=1.5", "geopandas>=0.14"]
[project.urls]
Homepage = "https://close.city"
Documentation = "https://henryspatialanalysis.github.io/closecity-python/"
Repository = "https://github.com/henryspatialanalysis/closecity-python"
Issues = "https://github.com/henryspatialanalysis/closecity-python/issues"
API = "https://api.close.city"
[project.optional-dependencies]
dev = ["pytest>=8", "ruff>=0.6"]
# Only needed to auto-download census-block boundaries (blocks map by default).
tiger = ["pygris"]
# Interactive maps via close_map() (GDAL-free).
maps = ["plotly>=5"]
# Building the Sphinx documentation site. myst-nb runs the tutorial notebooks;
# matplotlib draws the maps; pygris downloads block boundaries during execution.
docs = ["sphinx>=7", "furo", "sphinx-copybutton", "myst-nb", "jupytext",
"matplotlib", "pygris", "plotly>=5"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
# Ship the PEP 561 marker so downstream mypy/pyright see the inline type hints.
closecity = ["py.typed"]
[tool.ruff]
line-length = 90
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM"]
# House style: spaces around '=' in keyword args and defaults (E251/E252). Do NOT
# run `ruff format` here; it strips those spaces. Lint only with `ruff check`.
ignore = ["E251", "E252"]
[tool.ruff.lint.per-file-ignores]
# `Point` is the shapely class passed around and called as a constructor; the
# uppercase name is deliberate (like sklearn's X), so allow it here.
"src/closecity/spatial.py" = ["N803", "N806"]
[tool.ruff.format]
quote-style = "double"