Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (78 loc) · 2.15 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (78 loc) · 2.15 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "planet"
authors = [{ name = "Planet", email = "python-sdk-contributors@planet.com" }]
description = "Planet SDK for Python"
dependencies = [
"click (>=8.0,!=8.2.1)",
"geojson",
"httpx>=0.28.0",
"jsonschema",
"pyjwt>=2.1",
"tqdm>=4.56",
"typing-extensions",
"planet-auth>=2.3.0",
]
readme = "README.md"
requires-python = ">=3.10"
keywords = ["planet", "api", "sdk", "client"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Utilities",
]
license = { file = "LICENSE" }
dynamic = ["version"]
[project.optional-dependencies]
# Typed request/response models for planet.types.*. Optional because pydantic
# pulls in pydantic-core, a compiled Rust extension. The SDK itself does not
# import it: clients return plain dicts either way.
models = [
"pydantic>=2.0",
]
test = [
"planet[models]",
"pytest==8.3.3",
"anyio",
"pytest-cov",
"respx>=0.22.0",
"coverage[toml]"
]
validate_models = [
"planet[test]",
# Pinned exactly: the drift check byte-compares regenerated output, so a
# codegen release that changes formatting would fail it and block a release.
"datamodel-code-generator[http]==0.79.0",
]
lint = [
"flake8",
"mypy",
"yapf==0.43.0",
]
docs = [
"mkdocs==1.6.1",
"mkdocs-click==0.7.0",
"mkdocs-material==9.7.7",
"mkdocstrings==0.18.1",
"mkdocs_autorefs==1.0.1",
"mkdocs-macros-plugin==1.3.7",
# 12.2 made md a required arg of Highlight.__init__, which
# mkdocstrings 0.18.1 does not pass. Remove after upgrading mkdocstrings.
"pymdown-extensions<12.2"
]
dev = [
"planet[test, docs, lint, validate_models]",
]
[project.scripts]
planet = "planet.cli.cli:main"
[project.urls]
Repository = "https://github.com/planetlabs/planet-client-python"
[tool.setuptools_scm]