pyproject.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. [tool.poetry]
  2. name = "reflex"
  3. version = "0.6.0"
  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. dill = ">=0.3.8,<0.4"
  30. fastapi = ">=0.96.0,!=0.111.0,!=0.111.1"
  31. gunicorn = ">=20.1.0,<24.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 = ">=0.20.0"
  42. starlette-admin = ">=0.11.0,<1.0"
  43. alembic = ">=1.11.1,<2.0"
  44. platformdirs = ">=3.10.0,<5.0"
  45. distro = {version = ">=1.8.0,<2.0", platform = "linux"}
  46. python-engineio = "!=4.6.0"
  47. wrapt = [
  48. {version = ">=1.14.0,<2.0", python = ">=3.11"},
  49. {version = ">=1.11.0,<2.0", python = "<3.11"},
  50. ]
  51. packaging = ">=23.1,<25.0"
  52. reflex-hosting-cli = ">=0.1.2,<2.0"
  53. charset-normalizer = ">=3.3.2,<4.0"
  54. wheel = ">=0.42.0,<1.0"
  55. build = ">=1.0.3,<2.0"
  56. setuptools = ">=69.1.1,<70.2"
  57. httpx = ">=0.25.1,<1.0"
  58. twine = ">=4.0.0,<6.0"
  59. tomlkit = ">=0.12.4,<1.0"
  60. lazy_loader = ">=0.4"
  61. reflex-chakra = ">=0.6.0a6"
  62. [tool.poetry.group.dev.dependencies]
  63. pytest = ">=7.1.2,<8.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. toml = ">=0.10.2,<1.0"
  68. pytest-asyncio = ">=0.20.1,<0.22.0" # https://github.com/pytest-dev/pytest-asyncio/issues/706
  69. pytest-cov = ">=4.0.0,<5.0"
  70. ruff = "^0.4.9"
  71. pandas = ">=2.1.1,<3.0"
  72. pillow = ">=10.0.0,<11.0"
  73. plotly = ">=5.13.0,<6.0"
  74. asynctest = ">=0.13.0,<1.0"
  75. pre-commit = ">=3.2.1"
  76. selenium = ">=4.11.0,<5.0"
  77. pytest-benchmark = ">=4.0.0,<5.0"
  78. [tool.poetry.scripts]
  79. reflex = "reflex.reflex:cli"
  80. [build-system]
  81. requires = ["poetry-core>=1.5.1"]
  82. build-backend = "poetry.core.masonry.api"
  83. [tool.pyright]
  84. [tool.ruff]
  85. target-version = "py39"
  86. lint.select = ["B", "D", "E", "F", "I", "SIM", "W"]
  87. lint.ignore = ["B008", "D203", "D205", "D213", "D401", "D406", "D407", "E501", "F403", "F405", "F541"]
  88. lint.pydocstyle.convention = "google"
  89. [tool.ruff.lint.per-file-ignores]
  90. "__init__.py" = ["F401"]
  91. "tests/*.py" = ["D100", "D103", "D104", "B018"]
  92. "reflex/.templates/*.py" = ["D100", "D103", "D104"]
  93. "*.pyi" = ["D301", "D415", "D417", "D418", "E742"]
  94. "*/blank.py" = ["I001"]