-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (89 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (89 loc) · 2.34 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "netra"
version = "1.0.0"
description = "NETRA — AI-augmented unified cybersecurity platform"
authors = ["Yash Wardhan Gautam <gicokoxowej19@gmail.com>"]
license = "AGPL-3.0"
readme = "README.md"
homepage = "https://github.com/yashwg/netra"
repository = "https://github.com/yashwg/netra"
packages = [
{ include = "netra", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "==0.115.0"
uvicorn = { version = "==0.34.0", extras = ["standard"] }
sqlalchemy = { version = "==2.0.35", extras = ["asyncio"] }
asyncpg = "==0.30.0"
aiosqlite = "==0.20.0"
alembic = "==1.13.3"
pydantic = "==2.10.0"
pydantic-settings = "==2.6.0"
celery = { version = "==5.3.6", extras = ["redis"] }
redis = "==5.2.0"
rich = "==13.9.4"
httpx = "==0.27.0"
python-jose = { version = "==3.3.0", extras = ["cryptography"] }
passlib = { version = "==1.7.4", extras = ["bcrypt"] }
python-multipart = "==0.0.17"
mcp = { version = "^1.0.0", extras = ["cli"] }
structlog = "^24.4.0"
cryptography = "==43.0.3"
reportlab = "==4.2.5"
python-docx = "==1.1.2"
openpyxl = "==3.1.5"
slowapi = "^0.1.9"
aiohttp = "==3.10.5"
click = "==8.1.7"
bcrypt = "==4.2.0"
pyotp = "==2.9.0"
flower = "==2.0.1"
email-validator = "==2.2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.0"
pytest-asyncio = "^0.24.0"
pytest-cov = "^6.0.0"
httpx = "^0.27.0"
ruff = "^0.8.0"
mypy = "^1.13.0"
pre-commit = "^4.0.0"
factory-boy = "^3.3.1"
[tool.poetry.scripts]
netra = "netra.cli.main:main"
netra-bb = "netra.bugbounty.cli:main"
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "S", "T20"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"]
[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["pydantic.mypy"]
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-v --cov=netra --cov-report=term-missing"
[tool.coverage.run]
source = ["netra"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]