-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (75 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
90 lines (75 loc) · 2.28 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "securerelay-fl"
version = "0.1.0"
description = "Privacy-preserving federated learning for adaptive relay protection over industrial communication networks"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10,<3.13"
authors = [
{name = "Shankar Ramharack", email = "sramharack@ieee.org"},
]
keywords = [
"federated-learning",
"power-system-protection",
"differential-privacy",
"industrial-communication",
"relay-settings",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
# ---------- data generation ----------
"numpy>=1.26,<2.1",
"pandas>=2.1,<2.3",
# ---------- ML / deep learning ----------
"torch>=2.2,<2.5",
"torchvision>=0.17,<0.20",
"scikit-learn>=1.4,<1.6",
# ---------- federated learning ----------
"flwr[simulation]>=1.7,<1.13", # Flower FL framework
# ---------- differential privacy ----------
"opacus>=1.4,<1.6", # DP-SGD for PyTorch
# ---------- experiment tracking ----------
"tensorboard>=2.16,<2.19",
"pyyaml>=6.0,<6.1",
# ---------- figures & analysis ----------
"matplotlib>=3.8,<3.10",
"seaborn>=0.13,<0.14",
# ---------- utilities ----------
"tqdm>=4.66,<4.68",
"h5py>=3.10,<3.12",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0,<8.4",
"pytest-cov>=5.0,<5.1",
"ruff>=0.3,<0.5",
"pre-commit>=3.6,<3.9",
"ipykernel>=6.29,<6.30",
"jupyter>=1.0",
]
[project.urls]
Repository = "https://github.com/sramharack/SecureRelayFL"
# ---------- tool configs ----------
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.setuptools.packages.find]
where = ["src"]