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.

пре 1 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. [project]
  2. name = "xhiveframework"
  3. authors = [
  4. { name = "XhiveFramework Technologies Pvt Ltd", email = "developers@xhiveframework.io"}
  5. ]
  6. description = "Metadata driven, full-stack low code web framework"
  7. requires-python = ">=3.10"
  8. readme = "README.md"
  9. dynamic = ["version"]
  10. dependencies = [
  11. # core dependencies
  12. "Babel~=2.12.1",
  13. "Click~=8.1.7",
  14. "filelock~=3.8.0",
  15. "filetype~=1.2.0",
  16. "GitPython~=3.1.34",
  17. "Jinja2~=3.1.2",
  18. "Pillow~=10.2.0",
  19. "PyJWT~=2.8.0",
  20. # We depend on internal attributes,
  21. # do NOT add loose requirements on PyMySQL versions.
  22. "PyMySQL==1.1.0",
  23. "pypdf~=3.17.0",
  24. "PyPika==0.48.9",
  25. "PyQRCode~=1.2.1",
  26. "PyYAML~=6.0.1",
  27. "RestrictedPython~=6.2",
  28. "WeasyPrint==59.0",
  29. "Werkzeug~=3.0.1",
  30. "Whoosh~=2.7.4",
  31. "beautifulsoup4~=4.12.2",
  32. "bleach-allowlist~=1.0.3",
  33. "bleach[css]~=6.0.0",
  34. "cairocffi==1.5.1",
  35. "chardet~=5.1.0",
  36. "croniter~=1.4.1",
  37. "cryptography~=42.0.0",
  38. "email-reply-parser~=0.5.12",
  39. "git-url-parse~=1.2.2",
  40. "gunicorn~=21.2.0",
  41. "html5lib~=1.1",
  42. "ipython~=8.15.0",
  43. "ldap3~=2.9",
  44. "markdown2~=2.4.8",
  45. "MarkupSafe>=2.1.0,<3",
  46. "maxminddb-geolite2==2018.703",
  47. "num2words~=0.5.12",
  48. "oauthlib~=3.2.2",
  49. "openpyxl~=3.1.2",
  50. "passlib~=1.7.4",
  51. "pdfkit~=1.0.0",
  52. "phonenumbers==8.13.13",
  53. "premailer~=3.10.0",
  54. "psutil~=5.9.5",
  55. "psycopg2-binary~=2.9.1",
  56. "pyOpenSSL~=24.0.0",
  57. "pydantic==2.3.0",
  58. "pyotp~=2.8.0",
  59. "python-dateutil~=2.8.2",
  60. "pytz==2023.3",
  61. "rauth~=0.7.3",
  62. "redis~=4.5.5",
  63. "hiredis~=2.2.3",
  64. "requests-oauthlib~=1.3.1",
  65. "requests~=2.31.0",
  66. "rq~=1.15.1",
  67. "rsa>=4.1",
  68. "semantic-version~=2.10.0",
  69. "sentry-sdk~=1.37.1",
  70. "sqlparse~=0.4.4",
  71. "tenacity~=8.2.2",
  72. "terminaltables~=3.1.10",
  73. "traceback-with-variables~=2.0.4",
  74. "typing_extensions>=4.6.1,<5",
  75. "xlrd~=2.0.1",
  76. "zxcvbn~=4.4.28",
  77. "markdownify~=0.11.6",
  78. # integration dependencies
  79. "boto3~=1.28.10",
  80. "dropbox~=11.36.2",
  81. "google-api-python-client~=2.2.0",
  82. "google-auth-oauthlib~=0.4.4",
  83. "google-auth~=1.29.0",
  84. "posthog~=3.0.1",
  85. ]
  86. [build-system]
  87. requires = ["flit_core >=3.4,<4"]
  88. build-backend = "flit_core.buildapi"
  89. [tool.bench.dev-dependencies]
  90. coverage = "~=6.5.0"
  91. Faker = "~=18.10.1"
  92. pyngrok = "~=6.0.0"
  93. unittest-xml-reporting = "~=3.2.0"
  94. watchdog = "~=3.0.0"
  95. hypothesis = "~=6.77.0"
  96. responses = "==0.23.1"
  97. freezegun = "~=1.2.2"
  98. [tool.ruff]
  99. line-length = 110
  100. target-version = "py310"
  101. [tool.ruff.lint]
  102. select = [
  103. "F",
  104. "E",
  105. "W",
  106. "I",
  107. "UP",
  108. "B",
  109. "RUF",
  110. ]
  111. ignore = [
  112. "B017", # assertRaises(Exception) - should be more specific
  113. "B018", # useless expression, not assigned to anything
  114. "B023", # function doesn't bind loop variable - will have last iteration's value
  115. "B904", # raise inside except without from
  116. "E101", # indentation contains mixed spaces and tabs
  117. "E402", # module level import not at top of file
  118. "E501", # line too long
  119. "E741", # ambiguous variable name
  120. "F401", # "unused" imports
  121. "F403", # can't detect undefined names from * import
  122. "F405", # can't detect undefined names from * import
  123. "F722", # syntax error in forward type annotation
  124. "W191", # indentation contains tabs
  125. "RUF001", # string contains ambiguous unicode character
  126. ]
  127. typing-modules = ["xhiveframework.types.DF"]
  128. [tool.ruff.format]
  129. quote-style = "double"
  130. indent-style = "tab"
  131. docstring-code-format = true