-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpyproject.toml
More file actions
162 lines (151 loc) · 3.78 KB
/
Copy pathpyproject.toml
File metadata and controls
162 lines (151 loc) · 3.78 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nightmarenet"
version = "0.2.0"
description = "Autonomous AI Self-Improvement Platform — Sleep-Inspired Training Paradigm"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.9"
authors = [
{name = "Adit Jain", email = "aditjain@srm.edu.in"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"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 :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
]
keywords = ["ai", "training", "robustness", "distortion", "machine-learning", "self-improvement"]
dependencies = [
"torch>=2.0.0",
"torchvision>=0.15.0",
"transformers>=4.30.0",
"datasets>=2.14.0",
"numpy>=1.24.0",
"scipy>=1.10.0",
"scikit-learn>=1.3.0",
"pyyaml>=6.0",
"tqdm>=4.65.0",
"beautifulsoup4>=4.12.0",
"requests>=2.31.0",
"pydantic>=2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.4.0",
"mypy>=1.8.0",
"types-PyYAML>=6.0",
"hypothesis>=6.100.0",
]
api = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"httpx>=0.25.0",
"python-multipart>=0.0.7",
"slowapi>=0.1.9",
"python-dotenv>=1.0",
]
tracking = [
"wandb>=0.16.0",
"tensorboard>=2.14.0",
]
mlflow = ["mlflow>=2.0"]
attacks = ["textattack>=0.3.8"]
hpo = ["optuna>=3.0.0"]
distributed = [
"accelerate>=0.25.0",
]
otel = [
"python-json-logger>=2.0.7",
"opentelemetry-api>=1.24.0",
"opentelemetry-sdk>=1.24.0",
"opentelemetry-exporter-otlp-proto-grpc>=1.24.0",
]
hosted = [
"sqlalchemy>=2.0.0",
"alembic>=1.13.0",
"authlib>=1.3.0",
"celery>=5.3.0",
"redis>=5.0.0",
"pyjwt>=2.8.0",
"psycopg[binary]>=3.1.0",
]
search = [
"sentence-transformers>=2.2.0",
"faiss-cpu>=1.7.0",
]
adaption = [
"adaption>=0.1.0",
]
ai = [
"openai>=1.30.0",
]
hub = [
"huggingface_hub>=0.20.0"
]
export = [
"onnx>=1.14.0",
"onnxruntime>=1.16.0"
]
[project.urls]
Homepage = "https://github.com/Adit-Jain-srm/NightmareNet"
Repository = "https://github.com/Adit-Jain-srm/NightmareNet"
Issues = "https://github.com/Adit-Jain-srm/NightmareNet/issues"
[project.scripts]
nightmarenet = "nightmarenet.cli:main"
nightmarenet-train = "scripts.train:main"
nightmarenet-generate = "scripts.generate_data:main"
nightmarenet-evaluate = "scripts.evaluate:main"
nightmarenet-reindex-search = "nightmarenet_server.search.reindex:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short -m 'not slow'"
markers = [
"slow: marks tests as slow (deselect with '-m not slow')",
]
[tool.ruff]
target-version = "py39"
line-length = 100
exclude = [
".windsurf",
".claude",
".trae",
".agent",
".codebuddy",
".codex",
".continue",
".cursor",
".gemini",
".github/prompts",
".kiro",
".opencode",
".qoder",
".roo",
"notebooks",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B"]
ignore = ["UP007", "UP006", "UP035", "UP045"]
[tool.mypy]
python_version = "3.12"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["torch.*", "transformers.*", "datasets.*", "tqdm.*", "sklearn.*"]
follow_imports = "skip"
follow_imports_for_stubs = false
[tool.setuptools.packages.find]
include = ["nightmarenet*", "nightmarenet_server*", "scripts"]