-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (108 loc) · 2.36 KB
/
pyproject.toml
File metadata and controls
121 lines (108 loc) · 2.36 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Nexus"
version = "0.1.0"
description = "Network Security Classification and Phishing Detection ML Pipeline"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Abhinav", email = "abhinavkumarsingh2023@gmail.com"}
]
keywords = [
"machine-learning",
"mlops",
"network-security",
"phishing-detection",
"classification"
]
dependencies = [
"numpy==2.3.3",
"pandas==2.3.3",
"scikit-learn==1.7.2",
"scipy==1.16.2",
"fastapi==0.124.0",
"uvicorn[standard]==0.38.0",
"python-multipart==0.0.20",
"Jinja2==3.1.6",
"pymongo==3.12.0",
"mlflow==3.7.0",
"python-dotenv==1.1.1",
"PyYAML==6.0.3",
"certifi==2025.10.5",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"isort>=5.0",
"flake8>=6.0",
"mypy>=1.0",
"pylint>=2.17",
]
[project.urls]
Documentation = "https://github.com/Abhinavexists/Nexus#readme"
Repository = "https://github.com/Abhinavexists/Nexus.git"
Issues = "https://github.com/Abhinavexists/Nexus/issues"
[tool.setuptools]
packages = ["src"]
[tool.black]
line-length = 100
target-version = ["py312"]
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 100
skip_gitignore = true
multi_line_mode = 3
include_trailing_comma = true
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
addopts = "--cov=src --cov-report=html --cov-report=term-missing"
[tool.pylint.messages_control]
disable = [
"C0330", "C0326", # Bad whitespace
"R0913", # Too many arguments
"R0914", # Too many local variables
]
[tool.pylint.format]
max-line-length = 100
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]