pyproject.toml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. [project]
  2. name = "reflex"
  3. version = "0.7.3a2"
  4. description = "Web apps in pure Python."
  5. license = { text = "Apache-2.0" }
  6. authors = [
  7. { name = "Nikhil Rao", email = "nikhil@reflex.dev" },
  8. { name = "Alek Petuskey", email = "alek@reflex.dev" },
  9. { name = "Masen Furer", email = "masen@reflex.dev" },
  10. { name = "Elijah Ahianyo", email = "elijahahianyo@gmail.com" },
  11. { name = "Thomas Brandeho", email = "thomas@reflex.dev" },
  12. { name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" },
  13. ]
  14. maintainers = [
  15. { name = "Masen Furer", email = "masen@reflex.dev" },
  16. { name = "Thomas Brandeho", email = "thomas@reflex.dev" },
  17. { name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" },
  18. ]
  19. readme = "README.md"
  20. keywords = ["web", "framework"]
  21. requires-python = ">=3.10,<4.0"
  22. dependencies = [
  23. "alembic >=1.11.1,<2.0",
  24. "build >=1.0.3,<2.0",
  25. "charset-normalizer >=3.3.2,<4.0",
  26. "distro >=1.8.0,<2.0; platform_system == 'Linux'",
  27. "fastapi >=0.96.0,!=0.111.0,!=0.111.1",
  28. "gunicorn >=20.1.0,<24.0",
  29. "httpx >=0.25.1,<1.0",
  30. "jinja2 >=3.1.2,<4.0",
  31. "lazy_loader >=0.4",
  32. "packaging >=23.1,<25.0",
  33. "platformdirs >=3.10.0,<5.0",
  34. "psutil >=5.9.4,<8.0",
  35. "pydantic >=1.10.21,<3.0",
  36. "python-engineio !=4.6.0",
  37. "python-multipart >=0.0.5,<0.1",
  38. "python-socketio >=5.7.0,<6.0",
  39. "redis >=4.3.5,<6.0",
  40. "reflex-hosting-cli >=0.1.29",
  41. "rich >=13.0.0,<14.0",
  42. "setuptools >=75.0",
  43. "starlette-admin >=0.11.0,<1.0",
  44. "sqlmodel >=0.0.14,<0.1",
  45. "tomlkit >=0.12.4,<1.0",
  46. "twine >=4.0.0,<7.0",
  47. "typer >=0.15.1,<1.0",
  48. "typing_extensions >=4.6.0",
  49. "uvicorn >=0.20.0",
  50. "wheel >=0.42.0,<1.0",
  51. "wrapt >=1.17.0,<2.0",
  52. ]
  53. classifiers = [
  54. "Development Status :: 4 - Beta",
  55. "License :: OSI Approved :: Apache Software License",
  56. "Programming Language :: Python :: 3",
  57. "Programming Language :: Python :: 3.10",
  58. "Programming Language :: Python :: 3.11",
  59. "Programming Language :: Python :: 3.12",
  60. "Programming Language :: Python :: 3.13",
  61. ]
  62. [project.urls]
  63. homepage = "https://reflex.dev"
  64. repository = "https://github.com/reflex-dev/reflex"
  65. documentation = "https://reflex.dev/docs/getting-started/introduction"
  66. [project.scripts]
  67. reflex = "reflex.reflex:cli"
  68. [build-system]
  69. requires = ["hatchling"]
  70. build-backend = "hatchling.build"
  71. [tool.hatch.build]
  72. include = ["reflex"]
  73. [tool.pyright]
  74. reportIncompatibleMethodOverride = false
  75. [tool.ruff]
  76. target-version = "py310"
  77. output-format = "concise"
  78. lint.isort.split-on-trailing-comma = false
  79. lint.select = [
  80. "ANN001",
  81. "B",
  82. "C4",
  83. "D",
  84. "E",
  85. "ERA",
  86. "F",
  87. "FURB",
  88. "I",
  89. "N",
  90. "PERF",
  91. "PGH",
  92. "PTH",
  93. "RUF",
  94. "SIM",
  95. "T",
  96. "TRY",
  97. "W",
  98. ]
  99. lint.ignore = [
  100. "B008",
  101. "D205",
  102. "E501",
  103. "F403",
  104. "SIM115",
  105. "RUF006",
  106. "RUF008",
  107. "RUF012",
  108. "TRY0",
  109. ]
  110. lint.pydocstyle.convention = "google"
  111. [tool.ruff.lint.per-file-ignores]
  112. "__init__.py" = ["F401"]
  113. "tests/*.py" = ["ANN001", "D100", "D103", "D104", "B018", "PERF", "T", "N"]
  114. "benchmarks/*.py" = ["ANN001", "D100", "D103", "D104", "B018", "PERF", "T", "N"]
  115. "reflex/.templates/*.py" = ["D100", "D103", "D104"]
  116. "*.pyi" = ["D301", "D415", "D417", "D418", "E742", "N", "PGH"]
  117. "pyi_generator.py" = ["N802"]
  118. "reflex/constants/*.py" = ["N"]
  119. "*/blank.py" = ["I001"]
  120. [tool.pytest.ini_options]
  121. filterwarnings = "ignore:fields may not start with an underscore:RuntimeWarning"
  122. asyncio_default_fixture_loop_scope = "function"
  123. asyncio_mode = "auto"
  124. [tool.codespell]
  125. skip = "docs/*,*.html,examples/*, *.pyi, poetry.lock, uv.lock"
  126. ignore-words-list = "te, TreeE"
  127. [dependency-groups]
  128. dev = [
  129. "asynctest >=0.13.0,<1.0",
  130. "darglint >=1.8.1,<2.0",
  131. "dill >=0.3.8",
  132. "granian[reload] >= 2.0.0",
  133. "numpy >=2.2.3,<3.0",
  134. "pandas >=2.1.1,<3.0",
  135. "pillow >=10.0.0,<12.0",
  136. "playwright >=1.46.0",
  137. "plotly >=5.13.0,<6.0",
  138. "pre-commit >=4.1.0,<5.0",
  139. "psycopg[binary] >=3.2.6,<4.0",
  140. "pyright >=1.1.396,<1.2",
  141. "pytest >=7.1.2,<9.0",
  142. "pytest-asyncio >=0.24.0",
  143. "pytest-benchmark >=4.0.0,<6.0",
  144. "pytest-codspeed >=3.1.2,<4.0.0",
  145. "pytest-cov >=4.0.0,<7.0",
  146. "pytest-mock >=3.10.0,<4.0",
  147. "pytest-playwright >=0.5.1",
  148. "pytest-retry >=1.7.0,<2.0",
  149. "pytest-split >=0.10.0,<1.0",
  150. "ruff ==0.9.10",
  151. "selenium >=4.11.0,<5.0",
  152. "toml >=0.10.2,<1.0",
  153. ]