-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (92 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
101 lines (92 loc) · 2.43 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "lira-analysis"
version = "1.0.0"
description = "Implementation of LiRA (Likelihood Ratio Attack) membership inference attack under realistic assumptions"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{name = "Najeeb Jebreel", email = "najeeb.jebreel@urv.cat"}
]
keywords = [
"membership inference",
"privacy",
"machine learning",
"deep learning",
"adversarial attacks",
"LiRA"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Security",
]
dependencies = [
"torch>=2.0.0",
"torchvision>=0.15.0",
"numpy>=1.24.0",
"scipy>=1.10.0",
"pandas>=2.0.0",
"seaborn>=0.12.0",
"scikit-learn>=1.3.0",
"timm>=0.9.0",
"matplotlib>=3.7.0",
"pillow>=10.0.0",
"pyyaml>=6.0.0",
"tqdm>=4.65.0",
]
[project.scripts]
lira = "utils.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/najeebjebreel/lira_analysis"
Documentation = "https://github.com/najeebjebreel/lira_analysis/blob/main/README.md"
Repository = "https://github.com/najeebjebreel/lira_analysis"
"Bug Tracker" = "https://github.com/najeebjebreel/lira_analysis/issues"
[tool.setuptools.packages.find]
include = ["utils", "utils.*", "attacks", "attacks.*", "comprehensive_analysis", "comprehensive_analysis.*"]
exclude = ["build*", "data*", "experiments*"]
[tool.black]
line-length = 100
target-version = ['py310', 'py311']
include = '\.pyi?$'
extend-exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| data
| experiments
)/
'''
[tool.isort]
profile = "black"
line_length = 100
skip_gitignore = true
known_first_party = ["utils", "attacks", "comprehensive_analysis"]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"