-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
113 lines (105 loc) · 2.38 KB
/
pyproject.toml
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[project]
name = "timvt"
description = "A lightweight PostGIS based dynamic vector tile server."
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Vincent Sarago", email = "vincent@developmentseed.org"},
{name = "David Bitner", email = "david@developmentseed.org"},
]
keywords = ["FastAPI", "MVT", "POSTGIS"]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: GIS",
]
dynamic = ["version"]
dependencies = [
"orjson",
"asyncpg>=0.23.0",
"buildpg>=0.3",
"fastapi>=0.87",
"jinja2>=2.11.2,<4.0.0",
"morecantile>=3.1,<4.0",
"starlette-cramjam>=0.3,<0.4",
"importlib_resources>=1.1.0; python_version < '3.9'",
"typing_extensions; python_version < '3.9.2'",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-benchmark",
"httpx",
"psycopg2",
"pytest-pgsql",
"mapbox-vector-tile",
"protobuf>=3.0,<4.0",
"numpy",
"sqlalchemy>=1.1,<1.4",
]
dev = [
"pre-commit",
]
server = [
"uvicorn[standard]>=0.12.0,<0.19.0",
]
docs = [
"nbconvert",
"mkdocs",
"mkdocs-material",
"mkdocs-jupyter",
"pygments",
"pdocs",
]
[project.urls]
Homepage = "https://developmentseed.org/timvt/"
Source = "https://github.com/developmentseed/timvt"
Documentation = "https://developmentseed.org/timvt/"
[tool.hatch.version]
path = "timvt/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/tests",
"/dockerfiles",
"/docs",
"/demo",
"/data",
"docker-compose.yml",
"CONTRIBUTING.md",
"CHANGES.md",
".pytest_cache",
".history",
".github",
".env.example",
".bumpversion.cfg",
".flake8",
".gitignore",
".pre-commit-config.yaml",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.isort]
profile = "black"
known_first_party = ["timvt"]
known_third_party = [
"morecantile",
]
forced_separate = [
"fastapi",
"starlette",
]
default_section = "THIRDPARTY"
[tool.mypy]
no_strict_optional = "True"
[tool.pydocstyle]
select = "D1"
match = "(?!test).*.py"