You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.3 KiB

1 month ago
1 month ago
1 month ago
1 month ago
  1. [tool.poetry]
  2. name = "python-keycloak"
  3. version = "0.0.0"
  4. description = "python-keycloak is a Python package providing access to the Keycloak API."
  5. license = "MIT"
  6. readme = "README.md"
  7. keywords = ["keycloak", "openid", "oidc"]
  8. authors = [
  9. "Marcos Pereira <marcospereira.mpj@gmail.com>",
  10. "Richard Nemeth <ryshoooo@gmail.com>",
  11. ]
  12. classifiers = [
  13. "Programming Language :: Python :: 3",
  14. "License :: OSI Approved :: MIT License",
  15. "Development Status :: 3 - Alpha",
  16. "Operating System :: MacOS",
  17. "Operating System :: Unix",
  18. "Operating System :: Microsoft :: Windows",
  19. "Topic :: Utilities",
  20. ]
  21. packages = [
  22. { include = "keycloak", from = "src/" },
  23. { include = "keycloak/**/*.py", from = "src/" },
  24. ]
  25. include = ["LICENSE", "CHANGELOG.md", "CONTRIBUTING.md"]
  26. [tool.poetry.urls]
  27. Changelog = "https://raw.githubusercontent.com/marcospereirampj/python-keycloak/master/CHANGELOG.md"
  28. Documentation = "https://python-keycloak.readthedocs.io/en/latest/"
  29. "Issue tracker" = "https://github.com/marcospereirampj/python-keycloak/issues"
  30. [tool.poetry.dependencies]
  31. python = ">=3.9,<4.0"
  32. requests = ">=2.20.0"
  33. requests-toolbelt = ">=0.6.0"
  34. deprecation = ">=2.1.0"
  35. jwcrypto = ">=1.5.4"
  36. httpx = ">=0.23.2"
  37. async-property = ">=0.2.2"
  38. aiofiles = ">=24.1.0"
  39. [tool.poetry.group.docs.dependencies]
  40. alabaster = ">=0.7.0"
  41. commonmark = ">=0.9.1"
  42. recommonmark = ">=0.7.1"
  43. Sphinx = ">=7.0.0"
  44. sphinx-rtd-theme = ">=1.0.0"
  45. readthedocs-sphinx-ext = ">=2.1.9"
  46. m2r2 = ">=0.3.2"
  47. sphinx-autoapi = ">=3.0.0"
  48. setuptools = ">=70.0.0"
  49. [tool.poetry.group.dev.dependencies]
  50. tox = ">=4.0.0"
  51. pytest = ">=7.1.2"
  52. pytest-cov = ">=3.0.0"
  53. pytest-asyncio = ">=0.23.7"
  54. wheel = ">=0.38.4"
  55. pre-commit = ">=3.5.0"
  56. commitizen = ">=2.28.0"
  57. cryptography = ">=42.0.0"
  58. codespell = ">=2.1.0"
  59. darglint = ">=1.8.1"
  60. twine = ">=4.0.2"
  61. freezegun = ">=1.2.2"
  62. docutils = "<0.21"
  63. ruff = ">=0.9.3"
  64. [[tool.poetry.source]]
  65. name = "PyPI"
  66. priority = "primary"
  67. [build-system]
  68. requires = ["poetry-core>=1.0.0"]
  69. build-backend = "poetry.core.masonry.api"
  70. [tool.ruff]
  71. line-length = 99
  72. [tool.ruff.lint]
  73. select = ["ALL"]
  74. ignore = [
  75. "BLE001",
  76. "C901",
  77. "D203",
  78. "D212",
  79. "FBT001",
  80. "FBT002",
  81. "N818",
  82. "PLR0912",
  83. "PLR0913",
  84. "TRY003",
  85. ]
  86. [tool.pytest.ini_options]
  87. asyncio_default_fixture_loop_scope = "function"