[project]
name = "theHarvester"
description = "theHarvester is a very simple, yet effective tool designed to be used in the early stages of a penetration test"
readme = "README.md"
authors = [
{ name = "Christian Martorella", email = "[email protected]" },
{ name = "Jay Townsend", email = "[email protected]" },
{ name = "Matthew Brown", email = "[email protected]" },
]
requires-python = ">=3.12"
urls.Homepage = "https://github.com/laramies/theHarvester"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = [
"aiodns==3.5.0",
"aiofiles==24.1.0",
"aiohttp==3.12.15",
"aiomultiprocess==0.9.1",
"aiosqlite==0.21.0",
"beautifulsoup4==4.13.5",
"censys==2.2.18",
"certifi==2025.8.3",
"dnspython==2.7.0",
"fastapi==0.116.1",
"lxml==6.0.1",
"netaddr==1.3.0",
"playwright==1.55.0",
"PyYAML==6.0.2",
"python-dateutil==2.9.0.post0",
"httpx==0.28.1",
"retrying==1.4.2",
"shodan==1.31.0",
"slowapi==0.1.9",
"ujson==5.11.0",
"uvicorn==0.35.0",
"uvloop==0.21.0; platform_system != 'Windows'",
"winloop==0.2.2; platform_system == 'Windows'",
]
[project.optional-dependencies]
dev = [
"mypy==1.17.1",
"mypy-extensions==1.1.0",
"pytest==8.4.1",
"pytest-asyncio==1.1.0",
"types-certifi==2021.10.8.3",
"types-chardet==5.0.4.6",
"types-python-dateutil==2.9.0.20250822",
"types-PyYAML==6.0.12.20250822",
"ruff==0.12.11",
"types-ujson==5.10.0.20250822",
"wheel==0.45.1",
]
[project.scripts]
theHarvester = "theHarvester.theHarvester:main"
restfulHarvest = "theHarvester.restfulHarvest:main"
[tool.setuptools.dynamic]
version = { attr = "theHarvester.lib.version.VERSION" }
[tool.setuptools.packages.find]
include = ["theHarvester*"]
[tool.setuptools.package-data]
"*" = ["*.txt", "*.yaml"]
[tool.pytest.ini_options]
minversion = "8.3.3"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "--no-header"
testpaths = [
"tests",
"tests/discovery/",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
ignore_missing_imports = true
show_traceback = true
show_error_codes = true
namespace_packages = true
check_untyped_defs = true
[tool.uv]
python-preference = "managed"
[tool.uv.pip]
python-version = "3.12"
[tool.ruff]
exclude = [
"tests",
".eggs",
".git",
".git-rewrite",
".mypy_cache",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".github",
".venv",
".vscode",
".idea",
"__pypackages__",
"build",
"dist",
"site-packages",
"venv",
]
line-length = 130
target-version = "py312"
show-fixes = true
[tool.ruff.lint]
select = ["E",
"F",
"N",
"I",
"UP",
"TCH",
"FA",
"RUF",
"PT",
"TC",
"ASYNC"
]
ignore = [
"E501",
"ASYNC230",
"N999",
"PLR0915"
]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"