pyproject.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. [tool.poetry]
  2. name = "reflex"
  3. version = "0.5.5"
  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.dependencies]
  28. python = "^3.8"
  29. dill = ">=0.3.8,<0.4"
  30. fastapi = ">=0.96.0,<0.111.0"
  31. gunicorn = ">=20.1.0,<23.0"
  32. jinja2 = ">=3.1.2,<4.0"
  33. psutil = ">=5.9.4,<7.0"
  34. pydantic = ">=1.10.2,<3.0"
  35. python-multipart = ">=0.0.5,<0.1"
  36. python-socketio = ">=5.7.0,<6.0"
  37. redis = ">=4.3.5,<6.0"
  38. rich = ">=13.0.0,<14.0"
  39. sqlmodel = ">=0.0.14,<0.1"
  40. typer = ">=0.4.2,<1.0"
  41. uvicorn = [
  42. {version = "^0.24.0", python = ">=3.12"},
  43. {version = "^0.20.0", python = "<3.12"},
  44. ]
  45. watchdog = ">=2.3.1,<5.0"
  46. watchfiles = ">=0.19.0,<1.0"
  47. starlette-admin = ">=0.11.0,<1.0"
  48. alembic = ">=1.11.1,<2.0"
  49. platformdirs = ">=3.10.0,<5.0"
  50. distro = {version = ">=1.8.0,<2.0", platform = "linux"}
  51. python-engineio = "!=4.6.0"
  52. wrapt = [
  53. {version = ">=1.14.0,<2.0", python = ">=3.11"},
  54. {version = ">=1.11.0,<2.0", python = "<3.11"},
  55. ]
  56. packaging = ">=23.1,<25.0"
  57. reflex-hosting-cli = ">=0.1.2,<2.0"
  58. charset-normalizer = ">=3.3.2,<4.0"
  59. wheel = ">=0.42.0,<1.0"
  60. build = ">=1.0.3,<2.0"
  61. setuptools = ">=69.1.1,<70.2"
  62. httpx = ">=0.25.1,<1.0"
  63. twine = ">=4.0.0,<6.0"
  64. tomlkit = ">=0.12.4,<1.0"
  65. lazy_loader = ">=0.4"
  66. [tool.poetry.group.dev.dependencies]
  67. pytest = ">=7.1.2,<8.0"
  68. pytest-mock = ">=3.10.0,<4.0"
  69. pyright = ">=1.1.229,<1.1.335"
  70. darglint = ">=1.8.1,<2.0"
  71. toml = ">=0.10.2,<1.0"
  72. pytest-asyncio = ">=0.20.1,<0.22.0" # https://github.com/pytest-dev/pytest-asyncio/issues/706
  73. pytest-cov = ">=4.0.0,<5.0"
  74. black = "^24.3.0"
  75. ruff = "^0.4.9"
  76. pandas = [
  77. {version = ">=2.1.1,<3.0", python = ">=3.9,<3.13"},
  78. {version = ">=1.5.3,<2.0", python = ">=3.8,<3.9"},
  79. ]
  80. pillow = [
  81. {version = ">=10.0.0,<11.0", python = ">=3.8,<4.0"}
  82. ]
  83. plotly = ">=5.13.0,<6.0"
  84. asynctest = ">=0.13.0,<1.0"
  85. pre-commit = {version = ">=3.2.1", python = ">=3.8,<4.0"}
  86. selenium = ">=4.11.0,<5.0"
  87. pytest-benchmark = ">=4.0.0,<5.0"
  88. [tool.poetry.scripts]
  89. reflex = "reflex.reflex:cli"
  90. [build-system]
  91. requires = ["poetry-core>=1.5.1"]
  92. build-backend = "poetry.core.masonry.api"
  93. [tool.pyright]
  94. [tool.ruff]
  95. exclude = ["*.pyi"]
  96. target-version = "py38"
  97. lint.select = ["B", "D", "E", "F", "I", "SIM", "W"]
  98. lint.ignore = ["B008", "D203", "D205", "D213", "D401", "D406", "D407", "E501", "F403", "F405", "F541"]
  99. lint.pydocstyle.convention = "google"
  100. [tool.ruff.lint.per-file-ignores]
  101. "__init__.py" = ["F401"]
  102. "tests/*.py" = ["D100", "D103", "D104", "B018"]
  103. "reflex/.templates/*.py" = ["D100", "D103", "D104"]
  104. "*.pyi" = ["ALL"]
  105. "*/blank.py" = ["I001"]