1- [tool . poetry ]
1+ [project ]
22name = " zitadel_client"
33version = " 0.0.1"
44description = " Official Zitadel SDK for Python. Authenticate and access Zitadel's authentication and management APIs in Python."
5- authors = [" OpenAPI Generator Community <team@openapitools.org>" ]
6- license = " NoLicense"
5+ license = { text = " Apache-2.0" }
76readme = " README.md"
8- repository = " https://github.com/zitadel/python-client"
9- keywords = [" OpenAPI" , " OpenAPI-Generator" ]
10- include = [" zitadel_client/py.typed" ]
7+ requires-python = " >=3.8"
8+ authors = [
9+ { name = " Mridang Agarwalla" , email = " mridang@zitadel.com" }
10+ ]
11+ keywords = [" sdk" , " iam" , " client-lib" , " client-library" , " sdk-python" , " zitadel" , " zitadel-sdk" ]
12+ classifiers = [
13+ " Topic :: Software Development :: Libraries"
14+ ]
15+ dependencies = [
16+ " urllib3>=1.25.3,<3.0.0" ,
17+ " python-dateutil>=2.8.2" ,
18+ " pydantic>=2" ,
19+ " typing-extensions>=4.7.1"
20+ ]
1121
12- [tool .poetry .dependencies ]
13- python = " ^3.8"
22+ [project .urls ]
23+ homepage = " https://zitadel.com/"
24+ repository = " https://github.com/zitadel/client-python"
25+ documentation = " https://python-poetry.org/docs/"
26+ "Bug Tracker" = " https://github.com/zitadel/client-python/issues"
1427
15- urllib3 = " >= 1.25.3, < 3.0.0"
16- python-dateutil = " >= 2.8.2"
17- pydantic = " >= 2"
18- typing-extensions = " >= 4.7.1"
28+ [tool .poetry ]
29+ include = [" zitadel_client/py.typed" ]
1930
20- [tool .poetry .dev- dependencies ]
31+ [tool .poetry .group . dev . dependencies ]
2132pytest = " >= 7.2.1"
2233pytest-cov = " >= 2.8.1"
2334tox = " >= 3.9.0"
2435flake8 = " >= 4.0.0"
2536types-python-dateutil = " >= 2.8.19.14"
2637mypy = " >= 1.5"
2738
28-
2939[build-system ]
30- requires = [" setuptools" ]
31- build-backend = " setuptools.build_meta"
40+ requires = [" poetry-core>=1.0.0" ]
41+ build-backend = " poetry.core.masonry.api"
42+
43+ [tool .tox ]
44+ envlist = [" py3" ]
45+
46+ [testenv ]
47+ deps = [
48+ " pytest" ,
49+ " pytest-cov"
50+ ]
51+ commands = [
52+ " pytest --cov=zitadel_client"
53+ ]
3254
3355[tool .pylint .'MESSAGES CONTROL' ]
3456extension-pkg-whitelist = " pydantic"
3557
3658[tool .mypy ]
3759files = [
38- " zitadel_client" ,
39- # "test", # auto-generated tests
40- " tests" , # hand-written tests
60+ " zitadel_client" ,
61+ " tests" ,
4162]
4263# TODO: enable "strict" once all these individual checks are passing
4364# strict = true
@@ -60,20 +81,9 @@ disallow_subclassing_any = true
6081disallow_untyped_decorators = true
6182disallow_any_generics = true
6283
63- # ## These next few are various gradations of forcing use of type annotations
64- # disallow_untyped_calls = true
65- # disallow_incomplete_defs = true
66- # disallow_untyped_defs = true
67- #
68- # ## This one isn't too hard to get passing, but return on investment is lower
69- # no_implicit_reexport = true
70- #
71- # ## This one can be tricky to get passing if you use a lot of untyped libraries
72- # warn_return_any = true
73-
7484[[tool .mypy .overrides ]]
7585module = [
76- " zitadel_client.configuration" ,
86+ " zitadel_client.configuration" ,
7787]
7888warn_unused_ignores = true
7989strict_equality = true
@@ -87,3 +97,6 @@ disallow_incomplete_defs = true
8797disallow_untyped_defs = true
8898no_implicit_reexport = true
8999warn_return_any = true
100+
101+ [tool .flake8 ]
102+ max-line-length = 99
0 commit comments