Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pyproject.toml 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. [project]
  2. name = "dify-api"
  3. version = "1.7.0"
  4. requires-python = ">=3.11,<3.13"
  5. dependencies = [
  6. "arize-phoenix-otel~=0.9.2",
  7. "authlib==1.3.1",
  8. "azure-identity==1.16.1",
  9. "beautifulsoup4==4.12.2",
  10. "boto3==1.35.99",
  11. "bs4~=0.0.1",
  12. "cachetools~=5.3.0",
  13. "celery~=5.5.2",
  14. "chardet~=5.1.0",
  15. "flask~=3.1.0",
  16. "flask-compress~=1.17",
  17. "flask-cors~=6.0.0",
  18. "flask-login~=0.6.3",
  19. "flask-migrate~=4.0.7",
  20. "flask-restful~=0.3.10",
  21. "flask-sqlalchemy~=3.1.1",
  22. "gevent~=24.11.1",
  23. "gmpy2~=2.2.1",
  24. "google-api-core==2.18.0",
  25. "google-api-python-client==2.90.0",
  26. "google-auth==2.29.0",
  27. "google-auth-httplib2==0.2.0",
  28. "google-cloud-aiplatform==1.49.0",
  29. "googleapis-common-protos==1.63.0",
  30. "gunicorn~=23.0.0",
  31. "httpx[socks]~=0.27.0",
  32. "jieba==0.42.1",
  33. "json-repair>=0.41.1",
  34. "langfuse~=2.51.3",
  35. "langsmith~=0.1.77",
  36. "mailchimp-transactional~=1.0.50",
  37. "markdown~=3.5.1",
  38. "numpy~=1.26.4",
  39. "openai~=1.61.0",
  40. "openpyxl~=3.1.5",
  41. "opik~=1.7.25",
  42. "opentelemetry-api==1.27.0",
  43. "opentelemetry-distro==0.48b0",
  44. "opentelemetry-exporter-otlp==1.27.0",
  45. "opentelemetry-exporter-otlp-proto-common==1.27.0",
  46. "opentelemetry-exporter-otlp-proto-grpc==1.27.0",
  47. "opentelemetry-exporter-otlp-proto-http==1.27.0",
  48. "opentelemetry-instrumentation==0.48b0",
  49. "opentelemetry-instrumentation-celery==0.48b0",
  50. "opentelemetry-instrumentation-flask==0.48b0",
  51. "opentelemetry-instrumentation-sqlalchemy==0.48b0",
  52. "opentelemetry-propagator-b3==1.27.0",
  53. # opentelemetry-proto1.28.0 depends on protobuf (>=5.0,<6.0),
  54. # which is conflict with googleapis-common-protos (1.63.0)
  55. "opentelemetry-proto==1.27.0",
  56. "opentelemetry-sdk==1.27.0",
  57. "opentelemetry-semantic-conventions==0.48b0",
  58. "opentelemetry-util-http==0.48b0",
  59. "pandas[excel,output-formatting,performance]~=2.2.2",
  60. "pandoc~=2.4",
  61. "psycogreen~=1.0.2",
  62. "psycopg2-binary~=2.9.6",
  63. "pycryptodome==3.19.1",
  64. "pydantic~=2.11.4",
  65. "pydantic-extra-types~=2.10.3",
  66. "pydantic-settings~=2.9.1",
  67. "pyjwt~=2.8.0",
  68. "pypdfium2==4.30.0",
  69. "python-docx~=1.1.0",
  70. "python-dotenv==1.0.1",
  71. "pyyaml~=6.0.1",
  72. "readabilipy~=0.3.0",
  73. "redis[hiredis]~=6.1.0",
  74. "resend~=2.9.0",
  75. "sentry-sdk[flask]~=2.28.0",
  76. "sqlalchemy~=2.0.29",
  77. "starlette==0.41.0",
  78. "tiktoken~=0.9.0",
  79. "transformers~=4.51.0",
  80. "unstructured[docx,epub,md,ppt,pptx]~=0.16.1",
  81. "weave~=0.51.0",
  82. "yarl~=1.18.3",
  83. "webvtt-py~=0.5.1",
  84. "sseclient-py>=1.8.0",
  85. "httpx-sse>=0.4.0",
  86. "sendgrid~=6.12.3",
  87. ]
  88. # Before adding new dependency, consider place it in
  89. # alphabet order (a-z) and suitable group.
  90. [tool.setuptools]
  91. packages = []
  92. [tool.uv]
  93. default-groups = ["storage", "tools", "vdb"]
  94. package = false
  95. [dependency-groups]
  96. ############################################################
  97. # [ Dev ] dependency group
  98. # Required for development and running tests
  99. ############################################################
  100. dev = [
  101. "coverage~=7.2.4",
  102. "dotenv-linter~=0.5.0",
  103. "faker~=32.1.0",
  104. "lxml-stubs~=0.5.1",
  105. "mypy~=1.16.0",
  106. "ruff~=0.12.3",
  107. "pytest~=8.3.2",
  108. "pytest-benchmark~=4.0.0",
  109. "pytest-cov~=4.1.0",
  110. "pytest-env~=1.1.3",
  111. "pytest-mock~=3.14.0",
  112. "types-aiofiles~=24.1.0",
  113. "types-beautifulsoup4~=4.12.0",
  114. "types-cachetools~=5.5.0",
  115. "types-colorama~=0.4.15",
  116. "types-defusedxml~=0.7.0",
  117. "types-deprecated~=1.2.15",
  118. "types-docutils~=0.21.0",
  119. "types-jsonschema~=4.23.0",
  120. "types-flask-cors~=5.0.0",
  121. "types-flask-migrate~=4.1.0",
  122. "types-gevent~=24.11.0",
  123. "types-greenlet~=3.1.0",
  124. "types-html5lib~=1.1.11",
  125. "types-markdown~=3.7.0",
  126. "types-oauthlib~=3.2.0",
  127. "types-objgraph~=3.6.0",
  128. "types-olefile~=0.47.0",
  129. "types-openpyxl~=3.1.5",
  130. "types-pexpect~=4.9.0",
  131. "types-protobuf~=5.29.1",
  132. "types-psutil~=7.0.0",
  133. "types-psycopg2~=2.9.21",
  134. "types-pygments~=2.19.0",
  135. "types-pymysql~=1.1.0",
  136. "types-python-dateutil~=2.9.0",
  137. "types-pywin32~=310.0.0",
  138. "types-pyyaml~=6.0.12",
  139. "types-regex~=2024.11.6",
  140. "types-requests~=2.32.0",
  141. "types-requests-oauthlib~=2.0.0",
  142. "types-shapely~=2.0.0",
  143. "types-simplejson>=3.20.0",
  144. "types-six>=1.17.0",
  145. "types-tensorflow>=2.18.0",
  146. "types-tqdm>=4.67.0",
  147. "types-ujson>=5.10.0",
  148. "boto3-stubs>=1.38.20",
  149. "types-jmespath>=1.0.2.20240106",
  150. "hypothesis>=6.131.15",
  151. "types_pyOpenSSL>=24.1.0",
  152. "types_cffi>=1.17.0",
  153. "types_setuptools>=80.9.0",
  154. "pandas-stubs~=2.2.3",
  155. "scipy-stubs>=1.15.3.0",
  156. "types-python-http-client>=3.3.7.20240910",
  157. ]
  158. ############################################################
  159. # [ Storage ] dependency group
  160. # Required for storage clients
  161. ############################################################
  162. storage = [
  163. "azure-storage-blob==12.13.0",
  164. "bce-python-sdk~=0.9.23",
  165. "cos-python-sdk-v5==1.9.30",
  166. "esdk-obs-python==3.24.6.1",
  167. "google-cloud-storage==2.16.0",
  168. "opendal~=0.45.16",
  169. "oss2==2.18.5",
  170. "supabase~=2.8.1",
  171. "tos~=2.7.1",
  172. ]
  173. ############################################################
  174. # [ Tools ] dependency group
  175. ############################################################
  176. tools = ["cloudscraper~=1.2.71", "nltk~=3.9.1"]
  177. ############################################################
  178. # [ VDB ] dependency group
  179. # Required by vector store clients
  180. ############################################################
  181. vdb = [
  182. "alibabacloud_gpdb20160503~=3.8.0",
  183. "alibabacloud_tea_openapi~=0.3.9",
  184. "chromadb==0.5.20",
  185. "clickhouse-connect~=0.7.16",
  186. "couchbase~=4.3.0",
  187. "elasticsearch==8.14.0",
  188. "opensearch-py==2.4.0",
  189. "oracledb==3.0.0",
  190. "pgvecto-rs[sqlalchemy]~=0.2.1",
  191. "pgvector==0.2.5",
  192. "pymilvus~=2.5.0",
  193. "pymochow==1.3.1",
  194. "pyobvector~=0.1.6",
  195. "qdrant-client==1.9.0",
  196. "tablestore==6.2.0",
  197. "tcvectordb~=1.6.4",
  198. "tidb-vector==0.0.9",
  199. "upstash-vector==0.6.0",
  200. "volcengine-compat~=1.0.0",
  201. "weaviate-client~=3.24.0",
  202. "xinference-client~=1.2.2",
  203. "mo-vector~=0.1.13",
  204. ]