-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (125 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
135 lines (125 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "shadowhunter"
version = "2.0.0"
description = "Dark Web Threat Intelligence Platform"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{name = "ShadowHunter Team"}
]
keywords = [
"cybersecurity",
"threat-intelligence",
"dark-web",
"osint",
"credential-monitoring",
"ransomware",
"infosec"
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
]
dependencies = [
# Core Framework
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"pydantic>=2.5.0",
"python-jose[cryptography]>=3.3.0",
"passlib[bcrypt]>=1.7.4",
"python-multipart>=0.0.6",
# Async HTTP
"aiohttp>=3.9.0",
"httpx>=0.26.0",
"aiofiles>=23.2.0",
# CLI
"click>=8.1.7",
"rich>=13.7.0",
# DNS/WHOIS
"dnspython>=2.5.0",
"python-whois>=0.8.0",
# Data Processing
"beautifulsoup4>=4.12.3",
"lxml>=5.1.0",
# Logging
"structlog>=24.1.0",
]
[project.optional-dependencies]
telegram = [
"telethon>=1.34.0",
"python-telegram-bot>=20.7",
]
tor = [
"PySocks>=1.7.1",
"stem>=1.8.2",
"requests[socks]>=2.31.0",
]
database = [
"neo4j>=5.16.0",
"redis>=5.0.0",
"aioredis>=2.0.1",
]
dev = [
"pytest>=7.4.4",
"pytest-asyncio>=0.23.3",
"pytest-cov>=4.1.0",
"black>=24.1.0",
"isort>=5.13.2",
"mypy>=1.8.0",
"flake8>=7.0.0",
]
all = [
"shadowhunter[telegram,tor,database,dev]",
]
[project.urls]
Homepage = "https://github.com/yourusername/shadowhunter"
Documentation = "https://github.com/yourusername/shadowhunter#readme"
Repository = "https://github.com/yourusername/shadowhunter"
Issues = "https://github.com/yourusername/shadowhunter/issues"
[project.scripts]
shadowhunter = "main:main"
[tool.setuptools.packages.find]
where = ["."]
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
exclude = '''
/(
\.git
| \.venv
| venv
| __pycache__
| \.mypy_cache
| Move_Me
)/
'''
[tool.isort]
profile = "black"
line_length = 100
skip_glob = ["venv/*", "Move_Me/*"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"