pyproject.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [tool.poetry]
  2. name = "nicegui"
  3. version = "1.4.0"
  4. description = "Create web-based user interfaces with Python. The nice way."
  5. authors = ["Zauberzeug GmbH <info@zauberzeug.com>"]
  6. license = "MIT"
  7. readme = "README.md"
  8. repository = "https://github.com/zauberzeug/nicegui"
  9. keywords = ["gui", "ui", "web", "interface", "live"]
  10. [tool.poetry.dependencies]
  11. python = "^3.8"
  12. typing-extensions = ">=4.0.0"
  13. markdown2 = "^2.4.7"
  14. Pygments = ">=2.15.1,<3.0.0"
  15. uvicorn = {extras = ["standard"], version = "^0.22.0"}
  16. fastapi = ">=0.93,<1.0.0"
  17. fastapi-socketio = "^0.0.10"
  18. python-socketio = ">=5.10.0" # https://github.com/zauberzeug/nicegui/issues/1809
  19. vbuild = ">=0.8.2"
  20. watchfiles = ">=0.18.1,<1.0.0"
  21. jinja2 = "^3.1.2"
  22. python-multipart = "^0.0.6"
  23. orjson = {version = "^3.8.6", markers = "platform_machine != 'i386' and platform_machine != 'i686'"} # orjson does not support 32bit
  24. itsdangerous = "^2.1.2"
  25. aiofiles = "^23.1.0"
  26. pywebview = { version = "^4.4.0", optional = true }
  27. plotly = { version = "^5.13.0", optional = true }
  28. matplotlib = { version = "^3.5.0", optional = true }
  29. httpx = ">=0.24.0,<1.0.0"
  30. nicegui-highcharts = { version = "^1.0.1", optional = true }
  31. ifaddr = "^0.2.0"
  32. [tool.poetry.extras]
  33. native = ["pywebview"]
  34. plotly = ["plotly"]
  35. matplotlib = ["matplotlib"]
  36. highcharts = ["nicegui-highcharts"]
  37. [tool.poetry.group.dev.dependencies]
  38. icecream = "^2.1.0"
  39. autopep8 = "^1.5.7"
  40. debugpy = "^1.3.0"
  41. pytest-selenium = "^4.0.0"
  42. pytest-asyncio = "^0.19.0"
  43. pytest = "6.2.5"
  44. itsdangerous = "^2.1.2" # required by SessionMiddleware (see https://fastapi.tiangolo.com/?h=itsdangerous#optional-dependencies)
  45. isort = "^5.11.4"
  46. docutils = "^0.19"
  47. pandas = "^2.0.0"
  48. secure = "^0.3.0"
  49. webdriver-manager = "^3.8.6"
  50. numpy = [
  51. {version = "^1.24.0", python = "~3.8"},
  52. {version = "^1.26.0", python = ">=3.9,<3.13"}
  53. ]
  54. selenium = "^4.11.2"
  55. beautifulsoup4 = "^4.12.2"
  56. urllib3 = ">=1.26.18,^1.26 || >=2.0.7" # https://github.com/zauberzeug/nicegui/security/dependabot/23
  57. [build-system]
  58. requires = [
  59. "setuptools>=30.3.0,<50",
  60. "poetry-core>=1.0.0"
  61. ]
  62. build-backend = "poetry.core.masonry.api"
  63. [tool.pytest.ini_options]
  64. addopts = "--driver Chrome"
  65. asyncio_mode = "auto"
  66. [tool.mypy]
  67. ignore_missing_imports = true