pyproject.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [build-system]
  2. requires = ["setuptools>=68.0"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "chattolib"
  6. version = "0.1.0b3"
  7. description = "Async Python client library for the Chatto webchat GraphQL 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", "graphql", "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. "websockets>=13.0",
  28. ]
  29. [project.urls]
  30. Homepage = "https://chat.chatto.run"
  31. [project.optional-dependencies]
  32. dev = [
  33. "pytest>=8.0",
  34. "pytest-asyncio>=0.24",
  35. "respx>=0.22",
  36. "ruff>=0.8",
  37. "mypy>=1.13",
  38. ]
  39. [tool.setuptools.packages.find]
  40. where = ["src"]
  41. [tool.pytest.ini_options]
  42. asyncio_mode = "auto"
  43. testpaths = ["tests"]
  44. [tool.ruff]
  45. target-version = "py311"
  46. line-length = 100
  47. [tool.ruff.lint]
  48. select = ["E", "F", "I", "N", "W", "UP"]
  49. [tool.mypy]
  50. python_version = "3.11"
  51. strict = true
  52. warn_return_any = true
  53. warn_unused_configs = true