pyproject.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [build-system]
  2. requires = ["setuptools>=68.0"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "chattolib"
  6. version = "0.4.2"
  7. description = "Async Python client library for the Chatto webchat Connect API"
  8. requires-python = ">=3.11"
  9. license = "MIT"
  10. readme = "README.md"
  11. authors = [
  12. { name = "Felix", email = "chatto@f3l1x.it" },
  13. ]
  14. keywords = ["chatto", "connect", "connectrpc", "async", "webchat", "client"]
  15. classifiers = [
  16. "Development Status :: 3 - Alpha",
  17. "Intended Audience :: Developers",
  18. "Programming Language :: Python :: 3",
  19. "Programming Language :: Python :: 3.11",
  20. "Programming Language :: Python :: 3.12",
  21. "Programming Language :: Python :: 3.13",
  22. "Topic :: Communications :: Chat",
  23. "Framework :: AsyncIO",
  24. ]
  25. dependencies = [
  26. "httpx>=0.27",
  27. ]
  28. [project.urls]
  29. Homepage = "https://chat.chatto.run"
  30. [project.optional-dependencies]
  31. realtime = [
  32. "websockets>=13.0",
  33. ]
  34. dev = [
  35. "pytest>=8.0",
  36. "pytest-asyncio>=0.24",
  37. "respx>=0.22",
  38. "ruff>=0.8",
  39. "mypy>=1.13",
  40. ]
  41. [tool.setuptools.packages.find]
  42. where = ["src"]
  43. [tool.pytest.ini_options]
  44. asyncio_mode = "auto"
  45. testpaths = ["tests"]
  46. [tool.ruff]
  47. target-version = "py311"
  48. line-length = 100
  49. [tool.ruff.lint]
  50. select = ["E", "F", "I", "N", "W", "UP"]
  51. [tool.mypy]
  52. python_version = "3.11"
  53. strict = true
  54. warn_return_any = true
  55. warn_unused_configs = true