pyproject.toml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. [tool.poetry]
  2. name = "reflex"
  3. version = "0.6.6dev1"
  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.9"
  29. fastapi = ">=0.96.0,!=0.111.0,!=0.111.1"
  30. gunicorn = ">=20.1.0,<24.0"
  31. jinja2 = ">=3.1.2,<4.0"
  32. psutil = ">=5.9.4,<7.0"
  33. pydantic = ">=1.10.2,<3.0"
  34. python-multipart = ">=0.0.5,<0.1"
  35. python-socketio = ">=5.7.0,<6.0"
  36. redis = ">=4.3.5,<6.0"
  37. rich = ">=13.0.0,<14.0"
  38. sqlmodel = ">=0.0.14,<0.1"
  39. typer = ">=0.4.2,<1.0"
  40. uvicorn = ">=0.20.0"
  41. starlette-admin = ">=0.11.0,<1.0"
  42. alembic = ">=1.11.1,<2.0"
  43. platformdirs = ">=3.10.0,<5.0"
  44. distro = {version = ">=1.8.0,<2.0", platform = "linux"}
  45. python-engineio = "!=4.6.0"
  46. wrapt = [
  47. {version = ">=1.14.0,<2.0", python = ">=3.11"},
  48. {version = ">=1.11.0,<2.0", python = "<3.11"},
  49. ]
  50. packaging = ">=23.1,<25.0"
  51. reflex-hosting-cli = ">=0.1.17,<2.0"
  52. charset-normalizer = ">=3.3.2,<4.0"
  53. wheel = ">=0.42.0,<1.0"
  54. build = ">=1.0.3,<2.0"
  55. setuptools = ">=75.0"
  56. httpx = ">=0.25.1,<1.0"
  57. twine = ">=4.0.0,<6.0"
  58. tomlkit = ">=0.12.4,<1.0"
  59. lazy_loader = ">=0.4"
  60. reflex-chakra = ">=0.6.0"
  61. typing_extensions = ">=4.6.0"
  62. [tool.poetry.group.dev.dependencies]
  63. pytest = ">=7.1.2,<9.0"
  64. pytest-mock = ">=3.10.0,<4.0"
  65. pyright = ">=1.1.229,<1.1.335"
  66. darglint = ">=1.8.1,<2.0"
  67. dill = ">=0.3.8"
  68. toml = ">=0.10.2,<1.0"
  69. pytest-asyncio = ">=0.24.0"
  70. pytest-cov = ">=4.0.0,<7.0"
  71. ruff = "0.7.4"
  72. pandas = ">=2.1.1,<3.0"
  73. pillow = ">=10.0.0,<12.0"
  74. plotly = ">=5.13.0,<6.0"
  75. asynctest = ">=0.13.0,<1.0"
  76. pre-commit = ">=3.2.1"
  77. selenium = ">=4.11.0,<5.0"
  78. pytest-benchmark = ">=4.0.0,<6.0"
  79. playwright = ">=1.46.0"
  80. pytest-playwright = ">=0.5.1"
  81. [tool.poetry.scripts]
  82. reflex = "reflex.reflex:cli"
  83. [build-system]
  84. requires = ["poetry-core>=1.5.1"]
  85. build-backend = "poetry.core.masonry.api"
  86. [tool.pyright]
  87. [tool.ruff]
  88. target-version = "py39"
  89. lint.isort.split-on-trailing-comma = false
  90. lint.select = ["B", "D", "E", "F", "I", "SIM", "W"]
  91. lint.ignore = ["B008", "D205", "E501", "F403", "SIM115"]
  92. lint.pydocstyle.convention = "google"
  93. [tool.ruff.lint.per-file-ignores]
  94. "__init__.py" = ["F401"]
  95. "tests/*.py" = ["D100", "D103", "D104", "B018"]
  96. "reflex/.templates/*.py" = ["D100", "D103", "D104"]
  97. "*.pyi" = ["D301", "D415", "D417", "D418", "E742"]
  98. "*/blank.py" = ["I001"]
  99. [tool.pytest.ini_options]
  100. asyncio_default_fixture_loop_scope = "function"
  101. asyncio_mode = "auto"