pyproject.toml 1.3 KB

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