pyproject.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. [tool.poetry]
  2. name = "reflex"
  3. version = "0.4.3"
  4. description = "Web apps in pure Python."
  5. license = "Apache-2.0"
  6. authors = [
  7. "Nikhil Rao <nikhil@reflex.dev>",
  8. "Alek Petuskey <alek@reflex.dev>",
  9. "Masen Furer <masen@reflex.dev>",
  10. "Elijah Ahianyo <elijah@reflex.dev>",
  11. "Thomas Brandého <thomas@reflex.dev>",
  12. ]
  13. readme = "README.md"
  14. homepage = "https://reflex.dev"
  15. repository = "https://github.com/reflex-dev/reflex"
  16. documentation = "https://reflex.dev/docs/getting-started/introduction"
  17. keywords = [
  18. "web",
  19. "framework",
  20. ]
  21. classifiers = [
  22. "Development Status :: 4 - Beta",
  23. ]
  24. packages = [
  25. {include = "reflex"}
  26. ]
  27. [[tool.poetry.source]]
  28. name = "test"
  29. url = "https://test.pypi.org/simple/"
  30. priority = "explicit"
  31. [tool.poetry.dependencies]
  32. python = "^3.8"
  33. cloudpickle = "^2.2.1"
  34. fastapi = "^0.110"
  35. gunicorn = "^20.1.0"
  36. jinja2 = "^3.1.2"
  37. psutil = "^5.9.4"
  38. pydantic = "^2"
  39. python-multipart = "^0.0.5"
  40. python-socketio = "^5.7.0"
  41. redis = "^4.3.5"
  42. rich = "^13.0.0"
  43. sqlmodel = "^0.0.14"
  44. typer = ">=0.4.2,<1"
  45. uvicorn = [
  46. {version = "^0.24.0", python = ">=3.12"},
  47. {version = "^0.20.0", python = "<3.12"},
  48. ]
  49. watchdog = "^2.3.1"
  50. watchfiles = "^0.19.0"
  51. starlette-admin = "^0.9.0"
  52. alembic = "^1.11.1"
  53. platformdirs = "^3.10.0"
  54. distro = {version = "^1.8.0", platform = "linux"}
  55. python-engineio = "!=4.6.0"
  56. wrapt = [
  57. {version = "^1.14.0", python = ">=3.11"},
  58. {version = "^1.11.0", python = "<3.11"},
  59. ]
  60. packaging = "^23.1"
  61. reflex-hosting-cli = {version = "0.1.9dev0", source = "test"}
  62. charset-normalizer = "^3.3.2"
  63. wheel = "^0.42.0"
  64. build = "^1.0.3"
  65. setuptools = "^69.1.1"
  66. httpx = ">=0.25.1"
  67. [tool.poetry.group.dev.dependencies]
  68. pytest = "^7.1.2"
  69. pytest-mock = "^3.10.0"
  70. pyright = ">=1.1.229,<1.1.335"
  71. darglint = "^1.8.1"
  72. toml = "^0.10.2"
  73. pytest-asyncio = "^0.20.1"
  74. pytest-cov = "^4.0.0"
  75. black = "^22.10.0"
  76. ruff = "^0.0.244"
  77. pandas = [
  78. {version = "^2.1.1", python = ">=3.9,<3.13"},
  79. {version = "^1.5.3", python = ">=3.8,<3.9"},
  80. ]
  81. pillow = [
  82. {version = "^10.0.0", python = ">=3.8,<4.0"}
  83. ]
  84. plotly = "^5.13.0"
  85. asynctest = "^0.13.0"
  86. pre-commit = {version = "^3.2.1", python = ">=3.8,<4.0"}
  87. selenium = "^4.11.0"
  88. types-tabulate = "^0.9.0.3"
  89. pytest-benchmark = "^4.0.0"
  90. [tool.poetry.scripts]
  91. reflex = "reflex.reflex:cli"
  92. [build-system]
  93. requires = ["poetry-core>=1.5.1"]
  94. build-backend = "poetry.core.masonry.api"
  95. [tool.pyright]
  96. [tool.ruff]
  97. select = ["B", "D", "E", "F", "I", "SIM", "W"]
  98. ignore = ["B008", "D203", "D205", "D213", "D401", "D406", "D407", "E501", "F403", "F405", "F541"]
  99. target-version = "py37"
  100. [tool.ruff.per-file-ignores]
  101. "__init__.py" = ["F401"]
  102. "tests/*.py" = ["D100", "D103", "D104"]
  103. "reflex/.templates/*.py" = ["D100", "D103", "D104"]
  104. "*.pyi" = ["ALL"]