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.

101 lines
2.4 KiB

7 days 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. m2r2 = ">=0.3.2"
  45. sphinx-autoapi = ">=3.0.0"
  46. setuptools = ">=70.0.0"
  47. sphinx-book-theme = ">=1.1.3"
  48. [tool.poetry.group.dev.dependencies]
  49. tox = ">=4.0.0"
  50. pytest = ">=7.1.2"
  51. pytest-cov = ">=3.0.0"
  52. pytest-asyncio = ">=0.23.7"
  53. wheel = ">=0.38.4"
  54. pre-commit = ">=3.5.0"
  55. commitizen = ">=2.28.0"
  56. cryptography = ">=42.0.0"
  57. codespell = ">=2.1.0"
  58. darglint = ">=1.8.1"
  59. twine = ">=4.0.2"
  60. freezegun = ">=1.2.2"
  61. docutils = "<0.21"
  62. ruff = ">=0.9.3"
  63. [[tool.poetry.source]]
  64. name = "PyPI"
  65. priority = "primary"
  66. [build-system]
  67. requires = ["poetry-core>=1.0.0"]
  68. build-backend = "poetry.core.masonry.api"
  69. [tool.ruff]
  70. line-length = 99
  71. [tool.ruff.lint]
  72. select = ["ALL"]
  73. ignore = [
  74. "BLE001",
  75. "C901",
  76. "D203",
  77. "D212",
  78. "FBT001",
  79. "FBT002",
  80. "FBT003",
  81. "N818",
  82. "PLR0912",
  83. "PLR0913",
  84. "PLR0915",
  85. "TRY003",
  86. ]
  87. [tool.ruff.lint.per-file-ignores]
  88. "tests/*" = ["ARG001","PLR2004", "PT011", "S101", "SLF001"]
  89. "docs/*" = ["A001", "EXE001", "ERA001"]
  90. [tool.pytest.ini_options]
  91. asyncio_default_fixture_loop_scope = "function"