Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (94 loc) · 3.5 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (94 loc) · 3.5 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "kinde-python-sdk"
# Version is derived from kinde_sdk/_version.py so there is exactly one
# source of truth for the SDK version. Bump that file on every release;
# pyproject.toml, kinde_sdk.__version__, kinde_sdk.frontend.__version__
# and kinde_sdk.management.__version__ all follow automatically.
#
# The OpenAPI generator configs are deliberately *not* second sources of
# truth: both openapitools.json (management) and
# generator/frontend_config.yaml (frontend, transient) store the literal
# placeholder "SDK_VERSION" in packageVersion. The resolved version is
# injected at runtime via --additional-properties on the
# openapi-generator-cli command line by the wrapper scripts.
# testv2/testv2_core/test_version_sync.py enforces both placeholder
# invariants in CI, so bumping _version.py here is genuinely sufficient.
dynamic = ["version"]
authors = [
{ name = "Kinde Engineering", email = "engineering@kinde.com" },
]
description = "Connect your app to the Kinde platform"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"urllib3 >=2.2.0, <3.0",
"python-dateutil >=2.9.0, <3.0",
"pyjwt >=2.10.0, <3.0",
"requests ~=2.32.5; python_version < '3.10'",
"requests ~=2.34.2; python_version >= '3.10'",
"typing-extensions >=4.11.0, <5.0",
"certifi >=2026.1.4",
"PyYAML >=6.0.1, <7.0.0",
"python-dotenv >=1.0.0, <2.0.0",
"httpx >=0.25.0, <0.29.0",
"pydantic >=2.0.0, <3.0.0",
]
[project.optional-dependencies]
fastapi = [
"fastapi >=0.110.0, <1.0.0",
"python-multipart >=0.0.6, <1.0.0",
"uvicorn >=0.37.0, <1.0.0",
]
flask = [
"flask >=3.0.0, <4.0.0",
# kinde_flask imports flask_session at module load. 0.6.0 is the first
# release that supports Flask 3. 0.7.0 is excluded because it dropped the
# cachelib dependency that its default filesystem backend (used by
# kinde_flask) needs; 0.8.0 restored it.
"flask-session >=0.6.0, !=0.7.0, <1.0.0",
]
dev = [
# pytest 9 requires Python >=3.10; pytest 9.0.3 fixes CVE-2025-71176
"pytest >=9.0.3; python_version >= '3.10'",
"pytest >=7.4.0,<9; python_version < '3.10'",
"pytest-cov >=4.1.0",
"pytest-django >=4.5.2",
"mypy >=1.5.0",
"bandit >=1.7",
"pylint >=4.0.5, <4.1.0; python_version >= '3.10'",
"pylint >=3.3.9, <4.0.0; python_version < '3.10'",
"pycodestyle >=2.0",
"pytest-asyncio >=0.26.0",
"pytest-timeout >=2.2.0",
"black >=24.3.0",
"flake8 >=6.1.0",
"isort >=5.12.0",
]
[project.urls]
"Homepage" = "https://github.com/kinde-oss/kinde-python-sdk"
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["kinde_sdk", "kinde_fastapi", "kinde_flask"]
package-dir = {"" = "."}
include-package-data = true
zip-safe = false
[tool.setuptools.dynamic]
version = {attr = "kinde_sdk._version.__version__"}
[tool.setuptools.package-data]
"kinde_sdk" = ["**/*.py", "**/*.json", "**/*.yaml", "**/*.yml"]
"kinde_fastapi" = ["**/*.py", "**/*.json", "**/*.yaml", "**/*.yml"]
"kinde_flask" = ["**/*.py", "**/*.json", "**/*.yaml", "**/*.yml"]