A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pyproject.toml 2.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [project]
  2. name = "earwigbot"
  3. version = "0.4.dev0"
  4. authors = [
  5. {name = "Ben Kurtovic", email = "ben@benkurtovic.com"},
  6. ]
  7. description = "EarwigBot is a bot that edits Wikipedia and interacts over IRC"
  8. readme = "README.rst"
  9. requires-python = ">=3.11"
  10. dependencies = [
  11. "PyYAML >= 5.4.1", # Parsing config files
  12. "mwparserfromhell >= 0.6", # Parsing wikicode for manipulation
  13. "requests >= 2.25.1", # Wiki API requests
  14. "requests_oauthlib >= 1.3.0", # API authentication via OAuth
  15. ]
  16. keywords = ["earwig", "earwigbot", "irc", "wikipedia", "wiki", "mediawiki"]
  17. classifiers = [
  18. "Development Status :: 3 - Alpha",
  19. "Environment :: Console",
  20. "Intended Audience :: Developers",
  21. "License :: OSI Approved :: MIT License",
  22. "Natural Language :: English",
  23. "Operating System :: OS Independent",
  24. "Programming Language :: Python :: 3",
  25. "Topic :: Communications :: Chat :: Internet Relay Chat",
  26. "Topic :: Internet :: WWW/HTTP",
  27. ]
  28. [project.optional-dependencies]
  29. crypto = [
  30. "cryptography >= 3.4.7", # Storing bot passwords + keys in the config file
  31. ]
  32. sql = [
  33. "pymysql >= 1.1.0", # Interfacing with MediaWiki databases
  34. ]
  35. copyvios = [
  36. "beautifulsoup4 >= 4.9.3", # Parsing/scraping HTML
  37. "charset_normalizer >= 3.3.2", # Encoding detection for BeautifulSoup
  38. "lxml >= 4.6.3", # Faster parser for BeautifulSoup
  39. "nltk >= 3.6.1", # Parsing sentences to split article content
  40. "pdfminer >= 20191125", # Extracting text from PDF files
  41. "tldextract >= 3.1.0", # Getting domains for the multithreaded workers
  42. ]
  43. dev = [
  44. "pytest >= 8.3.1"
  45. ]
  46. [project.urls]
  47. Homepage = "https://github.com/earwig/earwigbot"
  48. Documentation = "https://pythonhosted.org/earwigbot/"
  49. Issues = "https://github.com/earwig/earwigbot/issues"
  50. Changelog = "https://github.com/earwig/earwigbot/blob/main/CHANGELOG"
  51. [project.scripts]
  52. earwigbot = "earwigbot.cli:main"
  53. [build-system]
  54. requires = ["setuptools>=61.0"]
  55. build-backend = "setuptools.build_meta"
  56. [tool.ruff]
  57. target-version = "py311"
  58. [tool.ruff.lint]
  59. select = ["E4", "E7", "E9", "F", "I", "UP"]
  60. ignore = ["F403"]